Add MachXO3D Development Board Support

This commit is contained in:
Francisco Ayala Le Brun
2020-10-16 08:03:45 +02:00
parent 06d0e44f71
commit fbb8c58f46
5 changed files with 10 additions and 2 deletions
+1
View File
@@ -45,6 +45,7 @@ static std::map <std::string, target_cable_t> board_list = {
{"ecp5_evn", {"ft2232", {}}},
{"machXO2EVN", {"ft2232", {}}},
{"machXO3SK", {"ft2232", {}}},
{"machXO3EVN", {"ft2232", {}}},
{"licheeTang", {"anlogicCable", {}}},
{"littleBee", {"ft2232", {}}},
{"spartanEdgeAccelBoard", {"",{}}},
+2
View File
@@ -92,6 +92,8 @@ Lattice::Lattice(Jtag *jtag, const string filename,
_fpga_family = MACHXO2_FAMILY;
else if (family == "MachXO3LF")
_fpga_family = MACHXO3_FAMILY;
else if (family == "MachXO3D")
_fpga_family = MACHXO3D_FAMILY;
else if (family == "ECP5")
_fpga_family = ECP5_FAMILY;
else if (family == "CrosslinkNX")
+3 -2
View File
@@ -52,8 +52,9 @@ class Lattice: public Device, SPIInterface {
enum lattice_family_t {
MACHXO2_FAMILY = 0,
MACHXO3_FAMILY = 1,
ECP5_FAMILY = 2,
NEXUS_FAMILY = 3,
MACHXO3D_FAMILY = 2,
ECP5_FAMILY = 3,
NEXUS_FAMILY = 4,
UNKNOWN_FAMILY = 999
};
+2
View File
@@ -43,6 +43,8 @@ static std::map <int, fpga_model> fpga_list = {
{0x612BE043, {"lattice", "MachXO3LF", "LCMX03LF-9400C"}},
{0x612B6043, {"lattice", "MachXO3LF", "LCMX03LF-9400E"}},
{0x212e3043, {"lattice", "MachXO3D", "LCMX03D-9400H"}},
{0x21111043, {"lattice", "ECP5", "LFE5U-12"}},
{0x41111043, {"lattice", "ECP5", "LFE5U-25"}},
{0x41112043, {"lattice", "ECP5", "LFE5U-45"}},