mirror of
https://github.com/YosysHQ/yosys
synced 2026-07-04 06:26:09 +00:00
tests: Add bug3515
This commit is contained in:
parent
38a1e66145
commit
ba31a02578
2 changed files with 47 additions and 0 deletions
21
tests/various/bug3515.ys
Normal file
21
tests/various/bug3515.ys
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
read_verilog << EOF
|
||||
module mod_and_or (
|
||||
input a,
|
||||
input b,
|
||||
input c,
|
||||
input d,
|
||||
output reg y
|
||||
);
|
||||
|
||||
always @(a,b,c,d) begin
|
||||
y <= (a&b)|(c&d);
|
||||
end
|
||||
endmodule
|
||||
EOF
|
||||
hierarchy -top mod_and_or
|
||||
proc
|
||||
opt
|
||||
techmap -map ./bug3515.v
|
||||
proc
|
||||
extract -map ./bug3515.v -verbose
|
||||
proc
|
||||
Loading…
Add table
Add a link
Reference in a new issue