aboutsummaryrefslogtreecommitdiffstats
path: root/icebox
diff options
context:
space:
mode:
authorLarry Doolittle <ldoolitt@recycle.lbl.gov>2018-07-18 20:17:36 -0700
committerClifford Wolf <clifford@clifford.at>2018-07-19 13:59:42 +0200
commite0eaaf5b910a2178f2cc09216b45dd0c53234d0d (patch)
tree23e028d9f86017cec06c4c6aed73624c1dfea853 /icebox
parent6528b96bec63318972060fce0805a458d8f011f3 (diff)
downloadicestorm-e0eaaf5b910a2178f2cc09216b45dd0c53234d0d.tar.gz
icestorm-e0eaaf5b910a2178f2cc09216b45dd0c53234d0d.tar.bz2
icestorm-e0eaaf5b910a2178f2cc09216b45dd0c53234d0d.zip
Spelling fixes in messages
Diffstat (limited to 'icebox')
-rwxr-xr-xicebox/icebox_hlc2asc.py14
-rwxr-xr-xicebox/icebox_html.py2
2 files changed, 8 insertions, 8 deletions
diff --git a/icebox/icebox_hlc2asc.py b/icebox/icebox_hlc2asc.py
index 06258af..f80678f 100755
--- a/icebox/icebox_hlc2asc.py
+++ b/icebox/icebox_hlc2asc.py
@@ -831,7 +831,7 @@ clearing:{:<30} - current set :{}""".format(
raise ParseError("Unknown Tile specification format")
def new_block(self, fields):
- raise ParseError("Unepxected new block in {}".format(type(self).__name__))
+ raise ParseError("Unexpected new block in {}".format(type(self).__name__))
class LogicTile(Tile):
def __init__(self, ic, x, y):
@@ -855,7 +855,7 @@ class LogicTile(Tile):
if fields == ['lutff_%d' % i] and self.cells[i] is None:
self.cells[i] = LogicCell(self, i)
return self.cells[i]
- raise ParseError("Unepxected new block in {}".format(type(self).__name__))
+ raise ParseError("Unexpected new block in {}".format(type(self).__name__))
class LogicCell:
def __init__(self, tile, index):
@@ -925,7 +925,7 @@ class LogicCell:
self.tile.data[self.index * 2 + 1][46:]
def new_block(self, fields):
- raise ParseError("Unepxected new block in {}".format(type(self).__name__))
+ raise ParseError("Unexpected new block in {}".format(type(self).__name__))
class RAMData:
def __init__(self, data):
@@ -935,10 +935,10 @@ class RAMData:
if len(fields) == 1:
self.data.append(parse_verilog_bitvector_to_hex(fields[0]))
else:
- raise ParseError("Unepxected format in {}".format(type(self).__name__))
+ raise ParseError("Unexpected format in {}".format(type(self).__name__))
def new_block(self, fields):
- raise ParseError("Unepxected new block in {}".format(type(self).__name__))
+ raise ParseError("Unexpected new block in {}".format(type(self).__name__))
class RAMBTile(Tile):
def __init__(self, ic, x, y):
@@ -955,7 +955,7 @@ class RAMBTile(Tile):
if fields == ['data'] and (self.x, self.y) not in self.ic.ram_data:
self.ic.ram_data[self.x, self.y] = data = []
return RAMData(data)
- raise ParseError("Unepxected new block in {}".format(type(self).__name__))
+ raise ParseError("Unexpected new block in {}".format(type(self).__name__))
class RAMTTile(Tile):
def __init__(self, ic, x, y):
@@ -1083,7 +1083,7 @@ Should be at io_tile {},{} io{}
def new_block(self, fields):
- raise ParseError("Unepxected new block in {}".format(type(self).__name__))
+ raise ParseError("Unexpected new block in {}".format(type(self).__name__))
def main1(path):
f = open(path, 'r')
diff --git a/icebox/icebox_html.py b/icebox/icebox_html.py
index fe1ba0c..6415230 100755
--- a/icebox/icebox_html.py
+++ b/icebox/icebox_html.py
@@ -159,7 +159,7 @@ and providing simple tools for analyzing and creating bitstream files. This is w
A machine-readable form of the database can be downloaded <a href="%s">here</a>.</p>""" % chipdbfile)
print("""<p>The iCE40 FPGA fabric is organized into tiles. The configuration bits
-themself have the same meaning in all tiles of the same type. But the way the tiles
+themselves have the same meaning in all tiles of the same type. But the way the tiles
are connected to each other depends on the types of neighbouring cells. Furthermore,
some wire names are different for e.g. an IO tile on the left border and an IO tile on
the top border.</p>""")