mirror of https://github.com/YosysHQ/icestorm.git
fix a few spelling mistakes in error messages
This commit is contained in:
parent
f2b254974a
commit
30cb298008
|
|
@ -328,7 +328,7 @@ void FpgaConfig::read_bits(std::istream &ifs)
|
|||
break;
|
||||
|
||||
default:
|
||||
error("Unkown command: 0x%02x 0x%02x\n", command, payload);
|
||||
error("Unknown command: 0x%02x 0x%02x\n", command, payload);
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
@ -381,7 +381,7 @@ void FpgaConfig::read_bits(std::istream &ifs)
|
|||
break;
|
||||
|
||||
default:
|
||||
error("Unkown command: 0x%02x 0x%02x\n", command, payload);
|
||||
error("Unknown command: 0x%02x 0x%02x\n", command, payload);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -854,21 +854,21 @@ int FpgaConfig::chip_width() const
|
|||
{
|
||||
if (this->device == "1k") return 12;
|
||||
if (this->device == "8k") return 32;
|
||||
panic("Unkown chip type '%s'.\n", this->device.c_str());
|
||||
panic("Unknown chip type '%s'.\n", this->device.c_str());
|
||||
}
|
||||
|
||||
int FpgaConfig::chip_height() const
|
||||
{
|
||||
if (this->device == "1k") return 16;
|
||||
if (this->device == "8k") return 32;
|
||||
panic("Unkown chip type '%s'.\n", this->device.c_str());
|
||||
panic("Unknown chip type '%s'.\n", this->device.c_str());
|
||||
}
|
||||
|
||||
vector<int> FpgaConfig::chip_cols() const
|
||||
{
|
||||
if (this->device == "1k") return vector<int>({18, 54, 54, 42, 54, 54, 54});
|
||||
if (this->device == "8k") return vector<int>({18, 54, 54, 54, 54, 54, 54, 54, 42, 54, 54, 54, 54, 54, 54, 54, 54});
|
||||
panic("Unkown chip type '%s'.\n", this->device.c_str());
|
||||
panic("Unknown chip type '%s'.\n", this->device.c_str());
|
||||
}
|
||||
|
||||
string FpgaConfig::tile_type(int x, int y) const
|
||||
|
|
@ -886,7 +886,7 @@ string FpgaConfig::tile_type(int x, int y) const
|
|||
return "logic";
|
||||
}
|
||||
|
||||
panic("Unkown chip type '%s'.\n", this->device.c_str());
|
||||
panic("Unknown chip type '%s'.\n", this->device.c_str());
|
||||
}
|
||||
|
||||
int FpgaConfig::tile_width(const string &type) const
|
||||
|
|
@ -896,7 +896,7 @@ int FpgaConfig::tile_width(const string &type) const
|
|||
if (type == "ramb") return 42;
|
||||
if (type == "ramt") return 42;
|
||||
if (type == "io") return 18;
|
||||
panic("Unkown tile type '%s'.\n", type.c_str());
|
||||
panic("Unknown tile type '%s'.\n", type.c_str());
|
||||
}
|
||||
|
||||
void FpgaConfig::cram_clear()
|
||||
|
|
|
|||
Loading…
Reference in New Issue