aboutsummaryrefslogtreecommitdiffstats
path: root/fpga_interchange/examples/remap_nexus.v
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2021-04-06 10:48:04 +0100
committergatecat <gatecat@ds0.me>2021-04-30 14:15:37 +0100
commit49caad0b7b22f44039cdaaefa352fd6fea2ecf30 (patch)
treecf65fe8f8ee3538beb9a14008f69ce5f4db40b9a /fpga_interchange/examples/remap_nexus.v
parent0461cc8c3ac93bc525d35a15528c4711f244b9c6 (diff)
downloadnextpnr-49caad0b7b22f44039cdaaefa352fd6fea2ecf30.tar.gz
nextpnr-49caad0b7b22f44039cdaaefa352fd6fea2ecf30.tar.bz2
nextpnr-49caad0b7b22f44039cdaaefa352fd6fea2ecf30.zip
interchange/nexus: Add counter example
Signed-off-by: gatecat <gatecat@ds0.me>
Diffstat (limited to 'fpga_interchange/examples/remap_nexus.v')
-rw-r--r--fpga_interchange/examples/remap_nexus.v4
1 files changed, 4 insertions, 0 deletions
diff --git a/fpga_interchange/examples/remap_nexus.v b/fpga_interchange/examples/remap_nexus.v
new file mode 100644
index 00000000..fa817762
--- /dev/null
+++ b/fpga_interchange/examples/remap_nexus.v
@@ -0,0 +1,4 @@
+// Inverter support is still a TODO
+module INV(input A, output Z);
+ LUT4 #(.INIT("0x5555")) _TECHMAP_REPLACE_ (.A(A), .B(1'b1), .C(1'b1), .D(1'b1), .Z(Z));
+endmodule