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 <icenowy@aosc.io>
This commit is contained in:
Icenowy Zheng 2022-01-21 17:21:11 +08:00
parent fb2aadadad
commit dc4a454b94
3 changed files with 5 additions and 1 deletions

View File

@ -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/

View File

@ -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;

View File

@ -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}},