3
0
Fork 0
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:
Miodrag Milanovic 2019-10-04 12:51:45 +02:00
parent 3de7889d08
commit 2c3e140246
3 changed files with 18 additions and 31 deletions

View file

@ -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