aboutsummaryrefslogtreecommitdiffstats
path: root/fpga_interchange/examples/tests/counter/remap.v
diff options
context:
space:
mode:
authorAlessandro Comodi <acomodi@antmicro.com>2021-03-15 11:02:56 +0100
committerAlessandro Comodi <acomodi@antmicro.com>2021-03-16 15:39:02 +0100
commitf52b5b39edf3075fbee7244aabea1a12f6cdc70b (patch)
treec576409140584d1d32e35ae3321be26cbb9a382f /fpga_interchange/examples/tests/counter/remap.v
parent3f3cabea2d16cd93c8d9114939b8a4fc883f09f1 (diff)
downloadnextpnr-f52b5b39edf3075fbee7244aabea1a12f6cdc70b.tar.gz
nextpnr-f52b5b39edf3075fbee7244aabea1a12f6cdc70b.tar.bz2
nextpnr-f52b5b39edf3075fbee7244aabea1a12f6cdc70b.zip
fpga_interchange: tests: add techmap optional source file
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
Diffstat (limited to 'fpga_interchange/examples/tests/counter/remap.v')
-rw-r--r--fpga_interchange/examples/tests/counter/remap.v11
1 files changed, 11 insertions, 0 deletions
diff --git a/fpga_interchange/examples/tests/counter/remap.v b/fpga_interchange/examples/tests/counter/remap.v
new file mode 100644
index 00000000..6dfc0b4a
--- /dev/null
+++ b/fpga_interchange/examples/tests/counter/remap.v
@@ -0,0 +1,11 @@
+module INV(input I, output O);
+
+LUT1 #(.INIT(2'b01)) _TECHMAP_REPLACE_ (.I0(I), .O(O));
+
+endmodule
+
+module BUF(input I, output O);
+
+LUT1 #(.INIT(2'b10)) _TECHMAP_REPLACE_ (.I0(I), .O(O));
+
+endmodule