aboutsummaryrefslogtreecommitdiffstats
path: root/ecp5
diff options
context:
space:
mode:
authorD. Shah <dave@ds0.me>2021-01-28 15:19:06 +0000
committerD. Shah <dave@ds0.me>2021-01-28 15:19:06 +0000
commit94e8847d674388c3c8ac663fa4912bb8029b2951 (patch)
tree8e7ffbce4b7d253f05d0bb58ea6430aae8e1b065 /ecp5
parent5fc3e8e4d2d82396e8ade480192379ccff95a931 (diff)
downloadnextpnr-94e8847d674388c3c8ac663fa4912bb8029b2951.tar.gz
nextpnr-94e8847d674388c3c8ac663fa4912bb8029b2951.tar.bz2
nextpnr-94e8847d674388c3c8ac663fa4912bb8029b2951.zip
cleanup: Spelling fixes
Signed-off-by: D. Shah <dave@ds0.me>
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)
{