yosys/techlibs/ice40/abc.v

13 lines
290 B
Coq
Raw Normal View History

2019-04-16 18:39:30 -05:00
(* abc_box_id = 1 *)
module SB_CARRY (output CO, input CI, I0, I1);
assign CO = (I0 && I1) || ((I0 || I1) && CI);
endmodule
2019-04-16 19:34:11 -05:00
(* 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