Add up5k timings
authorEddie Hung <eddie@fpgeh.com>
Wed, 17 Apr 2019 22:10:39 +0000 (15:10 -0700)
committerEddie Hung <eddie@fpgeh.com>
Wed, 17 Apr 2019 22:10:39 +0000 (15:10 -0700)
techlibs/ice40/up5k.box [new file with mode: 0644]
techlibs/ice40/up5k.lut [new file with mode: 0644]

diff --git a/techlibs/ice40/up5k.box b/techlibs/ice40/up5k.box
new file mode 100644 (file)
index 0000000..94df1df
--- /dev/null
@@ -0,0 +1,13 @@
+# From https://github.com/cliffordwolf/icestorm/blob/be0bca0/icefuzz/timings_up5k.txt
+
+# NB: Inputs/Outputs must be ordered alphabetically
+
+# Inputs: CI I0 I1
+# Outputs: CO
+SB_CARRY 1 1 3 1
+278 675 609
+
+# Inputs: I0 I1 I2 I3
+# Outputs: O
+SB_LUT4 2 1 4 1
+1285 1231 1205 874
diff --git a/techlibs/ice40/up5k.lut b/techlibs/ice40/up5k.lut
new file mode 100644 (file)
index 0000000..1e4fcad
--- /dev/null
@@ -0,0 +1,6 @@
+# From https://github.com/cliffordwolf/icestorm/blob/be0bca0/icefuzz/timings_up5k.txt
+#       I3  I2  I1  I0
+1   1   874
+2   1   874 1205
+3   1   874 1205 1231
+4   1   874 1205 1231 1285