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
|
// https://coredocs.s3.amazonaws.com/Libero/12_0_0/Tool/sf2_mlg.pdf
|
||||||
|
|
||||||
module ADD2 (
|
module AND2 (
|
||||||
input A, B,
|
input A, B,
|
||||||
output Y
|
output Y
|
||||||
);
|
);
|
||||||
assign Y = A & B;
|
assign Y = A & B;
|
||||||
endmodule
|
endmodule
|
||||||
|
|
||||||
module ADD3 (
|
module AND3 (
|
||||||
input A, B, C,
|
input A, B, C,
|
||||||
output Y
|
output Y
|
||||||
);
|
);
|
||||||
assign Y = A & B & C;
|
assign Y = A & B & C;
|
||||||
endmodule
|
endmodule
|
||||||
|
|
||||||
module ADD4 (
|
module AND4 (
|
||||||
input A, B, C, D,
|
input A, B, C, D,
|
||||||
output Y
|
output Y
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue