diff options
author | Dan Ravensloft <dan.ravensloft@gmail.com> | 2020-04-23 00:56:49 +0100 |
---|---|---|
committer | Marcelina KoĆcielnicka <mwk@0x04.net> | 2020-04-23 11:03:28 +0200 |
commit | 3d149aff733692b368919191dc31e731cbba9cfa (patch) | |
tree | 5735e2700211129d29c9b6fda4153942200b7b82 /tests/arch/intel_alm | |
parent | b700592881a2f2a87cca9776cd9bfca85781c9ec (diff) | |
download | yosys-3d149aff733692b368919191dc31e731cbba9cfa.tar.gz yosys-3d149aff733692b368919191dc31e731cbba9cfa.tar.bz2 yosys-3d149aff733692b368919191dc31e731cbba9cfa.zip |
intel_alm: work around a Quartus ICE
Diffstat (limited to 'tests/arch/intel_alm')
-rw-r--r-- | tests/arch/intel_alm/quartus_ice.ys | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/arch/intel_alm/quartus_ice.ys b/tests/arch/intel_alm/quartus_ice.ys new file mode 100644 index 000000000..4b9b54d10 --- /dev/null +++ b/tests/arch/intel_alm/quartus_ice.ys @@ -0,0 +1,12 @@ +read_verilog <<EOT +// Verilog has syntax for raw identifiers, where you start it with \ and end it with a space. +// This test crashes Quartus due to it parsing \a[10] as a wire slice and not a raw identifier. +module top(); + (* keep *) wire [31:0] \a[10] ; + (* keep *) wire b; + assign b = \a[10] [31]; +endmodule +EOT + +synth_intel_alm -family cyclonev -quartus +select -assert-none w:*[* w:*]* |