Support ST GAL16V8

This commit is contained in:
rhgndf
2023-09-16 14:05:42 +08:00
parent 47432b8c05
commit f2ae8e2391
2 changed files with 3 additions and 0 deletions

View File

@@ -26,6 +26,7 @@ Supported GAL chips:
* Lattice GAL16V8A, GAL16V8B, GAL16V8D * Lattice GAL16V8A, GAL16V8B, GAL16V8D
* Lattice GAL22V10B, GAL22V10D * Lattice GAL22V10B, GAL22V10D
* National GAL16V8 * National GAL16V8
* ST Microsystems GAL16V8
* Lattice GAL20V8B (no adapter needed) * Lattice GAL20V8B (no adapter needed)
**This is a new Afterburner design with variable programming voltage control and with single ZIF socket for 20 and 24 pin GAL chips.** **This is a new Afterburner design with variable programming voltage control and with single ZIF socket for 20 and 24 pin GAL chips.**

View File

@@ -1658,6 +1658,8 @@ static char checkGalTypeViaPes(void)
for (type = (sizeof(galinfo) / sizeof(galinfo[0])) - 1; type; type--) { for (type = (sizeof(galinfo) / sizeof(galinfo[0])) - 1; type; type--) {
if (pes[2] == galinfo[type].id0 || pes[2] == galinfo[type].id1) break; if (pes[2] == galinfo[type].id0 || pes[2] == galinfo[type].id1) break;
} }
} else if (pes[3] == SGSTHOMSON && pes[2] == 0x00) {
type = GAL16V8;
} }
return type; return type;