From b3d35ccadc745851514abc7d7aa26f41532ac914 Mon Sep 17 00:00:00 2001 From: Larry Doolittle Date: Mon, 31 Jul 2017 17:01:55 -0700 Subject: Squelch trailing whitespace --- icebox/icebox.py | 8 ++++---- icebox/icebox_html.py | 4 ++-- icebox/icebox_vlog.py | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) (limited to 'icebox') diff --git a/icebox/icebox.py b/icebox/icebox.py index 00f451d..f20224b 100644 --- a/icebox/icebox.py +++ b/icebox/icebox.py @@ -386,7 +386,7 @@ class iceconfig: def follow_net(self, netspec): x, y, netname = netspec neighbours = self.rlookup_funcnet(x, y, netname) - + #print(netspec) #print('\t', neighbours) @@ -463,7 +463,7 @@ class iceconfig: if self.tile_has_net(s[0], s[1], s[2]): neighbours.add((s[0], s[1], s[2])) - + #print('\tafter directions', neighbours) return neighbours @@ -475,14 +475,14 @@ class iceconfig: for seg in extra_segments: seed_segments.add(seg) - + for conn in extra_connections: s1, s2 = conn connected_segments.setdefault(s1, set()).add(s2) connected_segments.setdefault(s2, set()).add(s1) seed_segments.add(s1) seed_segments.add(s2) - + for idx, tile in self.io_tiles.items(): tc = tileconfig(tile) pintypes = [ list("000000"), list("000000") ] diff --git a/icebox/icebox_html.py b/icebox/icebox_html.py index d0288ce..98a65bb 100755 --- a/icebox/icebox_html.py +++ b/icebox/icebox_html.py @@ -556,7 +556,7 @@ if outdir is not None: print("Writing %s/index.html.." % outdir, file=stdout) sys.stdout = open("%s/index.html" % outdir, "w") print_index() - + for x in range(ic.max_x+1): for y in range(ic.max_y+1): if (x, y) in mktiles: @@ -571,7 +571,7 @@ if outdir is not None: os.system("icebox_chipdb %s > %s/%s" % ("-8" if mode8k else "", outdir, chipdbfile)) sys.stdout = stdout - + elif (tx, ty) == (0, 0): print_index() diff --git a/icebox/icebox_vlog.py b/icebox/icebox_vlog.py index d28336d..1b19d10 100755 --- a/icebox/icebox_vlog.py +++ b/icebox/icebox_vlog.py @@ -592,7 +592,7 @@ for cell in iocells: text_func.append("// OUT_CLK = %s" % net_oclk) text_func.append("// LATCH = %s" % net_latch) text_func.append("// TYPE = %s (LSB:MSB)" % iotype) - + if net_din0 != "" or net_din1 != "": if net_cen == "1": icen_cond = "" -- cgit v1.2.3