mirror of
https://github.com/trabucayre/openFPGALoader.git
synced 2026-08-30 01:48:50 +02:00
adding support for XC2C64A-xVQ44 with ID 0x06e5e093 (#458)
* adding support for XC2C64A-xVQ44 * remove comment
This commit is contained in:
@@ -1707,6 +1707,9 @@ void Xilinx::xc2c_init(uint32_t idcode)
|
||||
_fpga_family = XC2C_FAMILY;
|
||||
std::string model = fpga_list[idcode].model;
|
||||
int underscore_pos = model.find_first_of('_', 0);
|
||||
if (underscore_pos == model.npos) {
|
||||
underscore_pos = model.length();
|
||||
}
|
||||
snprintf(_cpld_base_name, underscore_pos,
|
||||
"%s", model.substr(0, underscore_pos).c_str());
|
||||
switch ((idcode >> 16) & 0x3f) {
|
||||
|
||||
Reference in New Issue
Block a user