mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-06 19:21:23 +00:00
abc9_ops/xaiger: further reducing Module::derive() calls by ...
replacing _all_ (* abc9_box *) instantiations with their derived types
This commit is contained in:
parent
e79127fceb
commit
97a0a04314
4 changed files with 122 additions and 136 deletions
|
@ -7,8 +7,7 @@ module $__ABC9_DELAY (input I, output O);
|
|||
endmodule
|
||||
|
||||
(* abc9_flop, abc9_box, lib_whitebox *)
|
||||
module $__DFF_N__$abc9_flop (input C, D, Q, (* init=INIT *) output n1);
|
||||
parameter [0:0] INIT = 1'bx;
|
||||
module $__DFF_N__$abc9_flop (input C, D, Q, output n1);
|
||||
assign n1 = D;
|
||||
specify
|
||||
$setup(D, posedge C, 0);
|
||||
|
@ -17,8 +16,7 @@ module $__DFF_N__$abc9_flop (input C, D, Q, (* init=INIT *) output n1);
|
|||
endmodule
|
||||
|
||||
(* abc9_flop, abc9_box, lib_whitebox *)
|
||||
module $__DFF_P__$abc9_flop (input C, D, Q, (* init=INIT *) output n1);
|
||||
parameter [0:0] INIT = 1'bx;
|
||||
module $__DFF_P__$abc9_flop (input C, D, Q, output n1);
|
||||
assign n1 = D;
|
||||
specify
|
||||
$setup(D, posedge C, 0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue