mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-27 13:39:49 +00:00
split rest od ff's
This commit is contained in:
parent
3de7889d08
commit
2c3e140246
3 changed files with 18 additions and 31 deletions
|
@ -13,25 +13,3 @@ module dffe
|
|||
if ( en )
|
||||
q <= d;
|
||||
endmodule
|
||||
|
||||
module top (
|
||||
input clk,
|
||||
input en,
|
||||
input a,
|
||||
output b,b1,
|
||||
);
|
||||
|
||||
dff u_dff (
|
||||
.clk (clk ),
|
||||
.d (a ),
|
||||
.q (b )
|
||||
);
|
||||
|
||||
dffe u_ndffe (
|
||||
.clk (clk ),
|
||||
.en (en),
|
||||
.d (a ),
|
||||
.q (b1 )
|
||||
);
|
||||
|
||||
endmodule
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue