diff options
author | Marcelina KoĆcielnicka <mwk@0x04.net> | 2020-08-05 12:28:18 +0200 |
---|---|---|
committer | Marcelina KoĆcielnicka <mwk@0x04.net> | 2020-08-05 12:28:18 +0200 |
commit | b4a4cb081de717a7f6de89914f8f5ffec959b0c3 (patch) | |
tree | a99b7d104001a9afc759071f8bfcdbeb557335f2 /tests/techmap | |
parent | c39ebe6ae0e41cf9a84da852fa3cf9f71937a9b2 (diff) | |
download | yosys-b4a4cb081de717a7f6de89914f8f5ffec959b0c3.tar.gz yosys-b4a4cb081de717a7f6de89914f8f5ffec959b0c3.tar.bz2 yosys-b4a4cb081de717a7f6de89914f8f5ffec959b0c3.zip |
techmap.CONSTMAP: Handle outputs before inputs.
Fixes #2321.
Diffstat (limited to 'tests/techmap')
-rw-r--r-- | tests/techmap/bug2321.ys | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/techmap/bug2321.ys b/tests/techmap/bug2321.ys new file mode 100644 index 000000000..637528b21 --- /dev/null +++ b/tests/techmap/bug2321.ys @@ -0,0 +1,15 @@ +read_verilog <<EOT +module m (input i, output o); +wire [1023:0] _TECHMAP_DO_00_ = "CONSTMAP; "; +endmodule +EOT + +design -stash map + +read_verilog <<EOT +module top(output o); +m m (.o(o), .i(o)); +endmodule +EOT + +techmap -map %map |