aboutsummaryrefslogtreecommitdiffstats
path: root/ecp5
diff options
context:
space:
mode:
Diffstat (limited to 'ecp5')
-rw-r--r--ecp5/bitstream.cc2
-rw-r--r--ecp5/pack.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/ecp5/bitstream.cc b/ecp5/bitstream.cc
index eddbc129..0841fa32 100644
--- a/ecp5/bitstream.cc
+++ b/ecp5/bitstream.cc
@@ -527,7 +527,7 @@ static std::vector<bool> parse_config_str(const Property &p, int length)
std::vector<bool> word;
if (p.is_string) {
std::string str = p.as_string();
- // For DCU config which might be bin, hex or dec using prefices accordingly
+ // For DCU config which might be bin, hex or dec using prefixes accordingly
std::string base = str.substr(0, 2);
word.resize(length, false);
if (base == "0b") {
diff --git a/ecp5/pack.cc b/ecp5/pack.cc
index 58737bfe..b60d6c7d 100644
--- a/ecp5/pack.cc
+++ b/ecp5/pack.cc
@@ -1126,7 +1126,7 @@ class Ecp5Packer
flush_cells();
}
- // Find a cell that meets some criterea near an origin cell
+ // Find a cell that meets some criteria near an origin cell
// Used for packing an FF into a nearby SLICE
template <typename TFunc> CellInfo *find_nearby_cell(CellInfo *origin, TFunc Func)
{