diff options
author | Keith Rothman <537074+litghost@users.noreply.github.com> | 2021-03-19 18:28:48 -0700 |
---|---|---|
committer | Keith Rothman <537074+litghost@users.noreply.github.com> | 2021-03-22 09:47:33 -0700 |
commit | 0f4014615cf9059332a75244a0ef5a9df4886ed0 (patch) | |
tree | 56fdd651a81690eff1d3aaa0af519459590fce4f /fpga_interchange/examples/tests | |
parent | 53ed6979a964f3eaaabc0d97399eec9b4c3347f9 (diff) | |
download | nextpnr-0f4014615cf9059332a75244a0ef5a9df4886ed0.tar.gz nextpnr-0f4014615cf9059332a75244a0ef5a9df4886ed0.tar.bz2 nextpnr-0f4014615cf9059332a75244a0ef5a9df4886ed0.zip |
Add missing dependencies to CMake targets.
- Add additional targets useful for various situations.
- Have counter test use common remap.v file.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
Diffstat (limited to 'fpga_interchange/examples/tests')
-rw-r--r-- | fpga_interchange/examples/tests/counter/CMakeLists.txt | 4 | ||||
-rw-r--r-- | fpga_interchange/examples/tests/counter/remap.v | 11 |
2 files changed, 2 insertions, 13 deletions
diff --git a/fpga_interchange/examples/tests/counter/CMakeLists.txt b/fpga_interchange/examples/tests/counter/CMakeLists.txt index dc41d8da..6e187071 100644 --- a/fpga_interchange/examples/tests/counter/CMakeLists.txt +++ b/fpga_interchange/examples/tests/counter/CMakeLists.txt @@ -6,7 +6,7 @@ add_interchange_test( tcl run.tcl xdc counter_basys3.xdc sources counter.v - techmap remap.v + techmap ../../remap.v ) add_interchange_test( @@ -17,5 +17,5 @@ add_interchange_test( tcl run.tcl xdc counter_arty.xdc sources counter.v - techmap remap.v + techmap ../../remap.v ) diff --git a/fpga_interchange/examples/tests/counter/remap.v b/fpga_interchange/examples/tests/counter/remap.v deleted file mode 100644 index 6dfc0b4a..00000000 --- a/fpga_interchange/examples/tests/counter/remap.v +++ /dev/null @@ -1,11 +0,0 @@ -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 |