aboutsummaryrefslogtreecommitdiffstats
path: root/icepack
diff options
context:
space:
mode:
authorRuben Undheim <ruben.undheim@gmail.com>2016-02-27 09:36:55 -0700
committerSebastian Kuzminsky <seb@highlab.com>2016-02-27 09:36:55 -0700
commit30cb298008df0d4cce8a5a6dcee45a68736e1338 (patch)
tree59038f0c4f276c4d2903a6220237df149898e5f2 /icepack
parentf2b254974a97998d30b042c4ab8246c4c31ec854 (diff)
downloadicestorm-30cb298008df0d4cce8a5a6dcee45a68736e1338.tar.gz
icestorm-30cb298008df0d4cce8a5a6dcee45a68736e1338.tar.bz2
icestorm-30cb298008df0d4cce8a5a6dcee45a68736e1338.zip
fix a few spelling mistakes in error messages
Diffstat (limited to 'icepack')
-rw-r--r--icepack/icepack.cc14
1 files changed, 7 insertions, 7 deletions
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<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()