mirror of
https://github.com/trabucayre/openFPGALoader.git
synced 2026-08-30 01:48:50 +02:00
gowin: add support for GW1NR-9C
GW1NR-9C has a different idcode with GW1NR-9. Add support for it by adding the idcode. Signed-off-by: Icenowy Zheng <[email protected]>
This commit is contained in:
@@ -50,6 +50,7 @@ Gowin:
|
||||
- GW1N-1
|
||||
- GW1N-4
|
||||
- GW1NR-9
|
||||
- GW1NR-9C
|
||||
- GW1NS-2C
|
||||
- GW1NSR-4C
|
||||
URL: https://www.gowinsemi.com/en/product/detail/2/
|
||||
|
||||
+3
-1
@@ -165,7 +165,9 @@ int FsParser::parse()
|
||||
case 0x1100381b: /* GW1N-4B */
|
||||
nb_line = 494;
|
||||
break;
|
||||
case 0x0100481b: /* GW1N-6 */
|
||||
case 0x0100481b: /* GW1N-6(9C ES?) */
|
||||
case 0x1100481b: /* GW1N-9C */
|
||||
case 0x0100581b: /* GW1N-9(ES)*/
|
||||
case 0x1100581b: /* GW1N-9 */
|
||||
nb_line = 712;
|
||||
padding = 4;
|
||||
|
||||
@@ -116,6 +116,7 @@ static std::map <int, fpga_model> fpga_list = {
|
||||
|
||||
{0x0129a043, {"lattice", "XP2", "LFXP2-8E", 8}},
|
||||
|
||||
{0x0100481b, {"Gowin", "GW1N", "GW1N(R)-9C", 8}},
|
||||
{0x0100581b, {"Gowin", "GW1N", "GW1NR-9", 8}},
|
||||
{0x0900281B, {"Gowin", "GW1N", "GW1N-1", 8}},
|
||||
{0x0120681b, {"Gowin", "GW1N", "GW1N-2", 8}},
|
||||
|
||||
Reference in New Issue
Block a user