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

Add SB_LUT4 to box library

This commit is contained in:
Eddie Hung 2019-04-16 17:34:11 -07:00
parent 7980118d74
commit 743c164eee
3 changed files with 16 additions and 0 deletions

View file

@ -3,3 +3,10 @@ module SB_CARRY (output CO, input CI, I0, I1);
assign CO = (I0 && I1) || ((I0 || I1) && CI);
endmodule
(* abc_box_id = 2 *)
module SB_LUT4 (output O, input I0, I1, I2, I3);
parameter [15:0] LUT_INIT = 0;
// Indicate this is a black-box
assign O = 1'b0;
endmodule