diff options
author | Clifford Wolf <clifford@clifford.at> | 2017-03-08 13:31:32 +0100 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2017-03-08 13:31:32 +0100 |
commit | a2e8c06d688150c319d87e07e103a3178a96690a (patch) | |
tree | f48f99ed6412fd3dcc4526345ebb2f75e2541060 | |
parent | cdaab84e638cd5ea6a07860465198e19003127a6 (diff) | |
download | icestorm-a2e8c06d688150c319d87e07e103a3178a96690a.tar.gz icestorm-a2e8c06d688150c319d87e07e103a3178a96690a.tar.bz2 icestorm-a2e8c06d688150c319d87e07e103a3178a96690a.zip |
Remove some trailing whitespaces
-rw-r--r-- | icefuzz/make_fflogic.py | 2 | ||||
-rw-r--r-- | icefuzz/make_gbio.py | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/icefuzz/make_fflogic.py b/icefuzz/make_fflogic.py index 5eae704..ecca7ca 100644 --- a/icefuzz/make_fflogic.py +++ b/icefuzz/make_fflogic.py @@ -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: diff --git a/icefuzz/make_gbio.py b/icefuzz/make_gbio.py index 53782df..9d740d1 100644 --- a/icefuzz/make_gbio.py +++ b/icefuzz/make_gbio.py @@ -64,11 +64,11 @@ for idx in range(num): 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) |