diff options
author | Clifford Wolf <clifford@clifford.at> | 2019-02-23 08:35:26 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-23 08:35:26 -0800 |
commit | 3a2bfee5cbc0558641668114260d3f644d6b7c83 (patch) | |
tree | c52eaf3de8d20ab4f198720ab3863c17448e6f13 /icefuzz/fuzzconfig.py | |
parent | a2c8be79487ad448198357d63e7b9f0f946066f1 (diff) | |
parent | be0bca0230d6fe1102e0a360b953fbb0d273a39f (diff) | |
download | icestorm-3a2bfee5cbc0558641668114260d3f644d6b7c83.tar.gz icestorm-3a2bfee5cbc0558641668114260d3f644d6b7c83.tar.bz2 icestorm-3a2bfee5cbc0558641668114260d3f644d6b7c83.zip |
Merge pull request #202 from corecode/u4k
iCE40 Ultra = iCE5LP = u4k port
Diffstat (limited to 'icefuzz/fuzzconfig.py')
-rw-r--r-- | icefuzz/fuzzconfig.py | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/icefuzz/fuzzconfig.py b/icefuzz/fuzzconfig.py index f03c815..f48d2d0 100644 --- a/icefuzz/fuzzconfig.py +++ b/icefuzz/fuzzconfig.py @@ -97,6 +97,26 @@ elif device_class == "5k": #TODO(tannewt): Add 39, 40, 41 to this list. It causes placement failures for some reason. gpins = "20 35 37 44".split() led_pins = "39 40 41".split() + +elif device_class == "u4k": + num_ramb40 = 20 + num_iobanks = 2 + num_dsp = 4 + + #TODO(tannewt): Add 39, 40, 41 to this list. It causes placement failures for some reason. + # Also add 14 15 16 17 which are constrained to SPI. + #TODO(daveshah1): Add back I3C IO 23 which cause placement failures when assigned to + #an SB_IO clk_in + pins = """2 3 4 6 9 10 11 12 + 13 18 19 20 21 + 25 26 27 28 31 32 34 35 36 + 37 38 42 43 44 45 46 47 48 + """.split() + + #TODO(tannewt): Add 39, 40, 41 to this list. It causes placement failures for some reason. + gpins = "20 35 37 44".split() + led_pins = "39 40 41".split() + def output_makefile(working_dir, fuzzname): with open(working_dir + "/Makefile", "w") as f: print("all: %s" % " ".join(["%s_%02d.bin" % (fuzzname, i) for i in range(num)]), file=f) |