mirror of https://github.com/YosysHQ/yosys.git
Add MUXCY and XORCY to cells_box.v
This commit is contained in:
parent
ece5c3ab38
commit
cbb85e40e8
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue