assign O = I0 ? s1[1] : s1[0];
endmodule
-(* abc_box_id = 21 *)
-`ifdef ABC_MODEL
- (* whitebox *)
-`endif
+(* abc_box_id = 21, lib_whitebox *)
module SB_CARRY (output CO, input I0, I1, CI);
assign CO = (I0 && I1) || ((I0 || I1) && CI);
endmodule
// Positive Edge SiliconBlue FF Cells
-(* abc_box_id = 1, abc_flop *)
-`ifdef ABC_MODEL
- (* whitebox *)
-`endif
+(* abc_box_id = 1, abc_flop, lib_whitebox *)
module SB_DFF ((* abc_flop_q *) output `SB_DFF_REG, input C, (* abc_flop_d *) input D);
`ifndef ABC_MODEL
always @(posedge C)
{
if (check_label("begin"))
{
- run("read_verilog -wb -D ABC_MODEL +/ice40/cells_sim.v");
+ run("read_verilog -lib -D ABC_MODEL +/ice40/cells_sim.v");
run(stringf("hierarchy -check %s", help_mode ? "-top <top>" : top_opt.c_str()));
run("proc");
}