mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-07 09:55:20 +00:00
verilog: add test
This commit is contained in:
parent
2d63bf5877
commit
3ada82639f
8
tests/various/src.ys
Normal file
8
tests/various/src.ys
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
logger -expect warning "wire '\\o' is assigned in a block at <<EOT:2.11-2.17" 1
|
||||||
|
logger -expect warning "wire '\\p' is assigned in a block at <<EOT:3.11-3.16" 1
|
||||||
|
read_verilog <<EOT
|
||||||
|
module top(input i, output o, p);
|
||||||
|
always @* o <= i;
|
||||||
|
always @* p = i;
|
||||||
|
endmodule
|
||||||
|
EOT
|
Loading…
Reference in a new issue