Add MUXCY and XORCY to cells_box.v

This commit is contained in:
Eddie Hung 2019-04-16 14:53:28 -07:00
parent ece5c3ab38
commit cbb85e40e8
2 changed files with 15 additions and 0 deletions

View File

@ -11,3 +11,9 @@ F7BMUX 1 1 3 1
# Outputs: OUT
MUXF8 2 1 3 1
104 94 273
MUXCY 3 1 3 1
1 1 1
XORCY 4 1 2 1
1 1

View File

@ -8,3 +8,12 @@ module MUXF8(output O, input I0, I1, S);
assign O = S ? I1 : I0;
endmodule
(* abc_box_id = 3 *)
module MUXCY(output O, input CI, DI, S);
assign O = S ? CI : DI;
endmodule
(* abc_box_id = 4 *)
module XORCY(output O, input CI, LI);
assign O = CI ^ LI;
endmodule