From 30cb298008df0d4cce8a5a6dcee45a68736e1338 Mon Sep 17 00:00:00 2001 From: Ruben Undheim Date: Sat, 27 Feb 2016 09:36:55 -0700 Subject: fix a few spelling mistakes in error messages --- icepack/icepack.cc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'icepack') diff --git a/icepack/icepack.cc b/icepack/icepack.cc index 6a9e05a..3b09936 100644 --- a/icepack/icepack.cc +++ b/icepack/icepack.cc @@ -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 FpgaConfig::chip_cols() const { if (this->device == "1k") return vector({18, 54, 54, 42, 54, 54, 54}); if (this->device == "8k") return vector({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() -- cgit v1.2.3