Skip to content

Commit

Permalink
Remove some trailing whitespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
cliffordwolf committed Mar 8, 2017
1 parent cdaab84 commit a2e8c06
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion icefuzz/make_fflogic.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def print_seq_op(dst, src1, src2, op, f):

for idx in range(num):
with open("work_fflogic/fflogic_%02d.v" % idx, "w") as f:
if os.getenv('ICE384PINS'):
if os.getenv('ICE384PINS'):
print("module top(input clk, rst, en, input [1:0] a, b, c, d, output [1:0] y, output z);", file=f)
print(" reg [1:0] p, q;", file=f)
else:
Expand Down
6 changes: 3 additions & 3 deletions icefuzz/make_gbio.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,11 @@
np.random.choice(["oen", "globals", "din_0+din_1", "din_0^din_1"]),
np.random.choice(["dout_1", "globals", "globals^dout_0", "din_0+din_1", "~din_0"]),
np.random.choice(["dout_0", "globals", "globals^dout_1", "din_0+din_1", "~din_1"]),
np.random.choice(["din_0", "{din_0[0], din_0[1]}"]) if os.getenv('ICE384PINS')
np.random.choice(["din_0", "{din_0[0], din_0[1]}"]) if os.getenv('ICE384PINS')
else np.random.choice(["din_0", "{din_0[3:0], din_0[7:4]}"]) ,
np.random.choice(["din_1", "{din_1[0], din_1[1]}"]) if os.getenv('ICE384PINS')
np.random.choice(["din_1", "{din_1[0], din_1[1]}"]) if os.getenv('ICE384PINS')
else np.random.choice(["din_1", "{din_1[1:0], din_1[7:2]}"]),
np.random.choice(["globals", "{globals[0], globals[1]}"]) if os.getenv('ICE384PINS')
np.random.choice(["globals", "{globals[0], globals[1]}"]) if os.getenv('ICE384PINS')
else np.random.choice(["globals", "{globals[0], globals[7:1]}"]),
glbs[0], glbs[1], glbs[1], glbs[2], glbs[3]
), file=f)
Expand Down

0 comments on commit a2e8c06

Please sign in to comment.