mirror of https://github.com/YosysHQ/yosys.git
sf2: fix name of AND modules
This commit is contained in:
parent
0b05452cf7
commit
a58571d0fe
|
@ -1,20 +1,20 @@
|
|||
// https://coredocs.s3.amazonaws.com/Libero/12_0_0/Tool/sf2_mlg.pdf
|
||||
|
||||
module ADD2 (
|
||||
module AND2 (
|
||||
input A, B,
|
||||
output Y
|
||||
);
|
||||
assign Y = A & B;
|
||||
endmodule
|
||||
|
||||
module ADD3 (
|
||||
module AND3 (
|
||||
input A, B, C,
|
||||
output Y
|
||||
);
|
||||
assign Y = A & B & C;
|
||||
endmodule
|
||||
|
||||
module ADD4 (
|
||||
module AND4 (
|
||||
input A, B, C, D,
|
||||
output Y
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue