3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-08-08 20:21:25 +00:00

Revert "Fix broken MUXFx box, use MUXF7x2 box instead"

This reverts commit a9a140aa6c.
This commit is contained in:
Eddie Hung 2019-07-01 14:01:09 -07:00
parent a9a140aa6c
commit 09ac274716
3 changed files with 36 additions and 37 deletions

View file

@ -171,9 +171,9 @@ endmodule
`ifdef _ABC
(* abc_box_id = 3, lib_whitebox *)
module \$__XILINX_MUXF7x2 (output O0, O1, input I0, I1, I2, I3, S);
assign O0 = S ? I1 : I0;
assign O1 = S ? I3 : I2;
module \$__XILINX_MUXF78 (output O, input I0, I1, I2, I3, S0, S1);
assign O = S1 ? (S0 ? I3 : I2)
: (S0 ? I1 : I0);
endmodule
`endif