diff options
author | gatecat <gatecat@ds0.me> | 2021-03-03 07:06:07 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-03 07:06:07 +0000 |
commit | 6e38e236f88db749788fb74a6fa8ac0c80b6035b (patch) | |
tree | dfab73bc8afa157ebf323a8f6c9b54d0998392f0 /fpga_interchange/examples/remap.v | |
parent | 27fbee523301be074abd06a3568dc9591d98e0fa (diff) | |
parent | 71b92cb8139c63a7936fa05f2a47739b0c115b01 (diff) | |
download | nextpnr-6e38e236f88db749788fb74a6fa8ac0c80b6035b.tar.gz nextpnr-6e38e236f88db749788fb74a6fa8ac0c80b6035b.tar.bz2 nextpnr-6e38e236f88db749788fb74a6fa8ac0c80b6035b.zip |
Merge pull request #604 from litghost/add_counter_test
Add counter test for FPGA interchange
Diffstat (limited to 'fpga_interchange/examples/remap.v')
-rw-r--r-- | fpga_interchange/examples/remap.v | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/fpga_interchange/examples/remap.v b/fpga_interchange/examples/remap.v new file mode 100644 index 00000000..6dfc0b4a --- /dev/null +++ b/fpga_interchange/examples/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 |