Skip to content

Commit

Permalink
Add LCMXO2-640HC device.
Browse files Browse the repository at this point in the history
  • Loading branch information
cr1901 committed Jun 12, 2020
1 parent 270f2b1 commit 03789cd
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
12 changes: 12 additions & 0 deletions devices.json
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,18 @@
"col_bias" : 1,
"fuzz": 1
},
"LCMXO2-640HC": {
"packages": ["QFN32"],
"idcode": "0x012b9043",
"frames": 209,
"bits_per_frame": 888,
"pad_bits_after_frame": 0,
"pad_bits_before_frame": 0,
"max_row" : 8,
"max_col" : 17,
"col_bias" : 1,
"fuzz": 1
},
"LCMXO2-1200HC": {
"packages": ["QFN32"],
"idcode": "0x012ba043",
Expand Down
2 changes: 2 additions & 0 deletions libtrellis/src/Tile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ static const regex tile_r_re(R"([A-Za-z0-9_]*R(\d+))");
map<pair<int, int>, pair<int, int>> center_map = {
// 256HC
{make_pair(7, 9), make_pair(3, 4)},
// 640HC
{make_pair(8, 17), make_pair(3, 7)},
// 1200HC
{make_pair(12, 21), make_pair(6, 12)}
};
Expand Down

0 comments on commit 03789cd

Please sign in to comment.