mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-28 03:15:50 +00:00
Extend liberty tests
This commit is contained in:
parent
78382eaa6f
commit
c35f5e379c
17 changed files with 556 additions and 4 deletions
9
tests/liberty/semicolmissing.lib.verilogsim.ok
Normal file
9
tests/liberty/semicolmissing.lib.verilogsim.ok
Normal file
|
@ -0,0 +1,9 @@
|
|||
module fulladder (A, B, CI, CO, Y);
|
||||
input A;
|
||||
input B;
|
||||
input CI;
|
||||
output CO;
|
||||
assign CO = (((A&B)|(B&CI))|(CI&A)); // (((A * B)+(B * CI))+(CI * A))
|
||||
output Y;
|
||||
assign Y = ((A^B)^CI); // ((A^B)^CI)
|
||||
endmodule
|
Loading…
Add table
Add a link
Reference in a new issue