3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-23 00:55:32 +00:00

intel_alm: work around a Quartus ICE

This commit is contained in:
Dan Ravensloft 2020-04-23 00:56:49 +01:00 committed by Marcelina Kościelnicka
parent b700592881
commit 3d149aff73
2 changed files with 22 additions and 0 deletions

View file

@ -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:*]*