Commit 4e5320c4 by Miodrag Milanovic

it was set to be edge, but expected was level

parent b7ccc29f
module dffcp module dffcp
( input d, clk, pre, clr, output reg q ); ( input d, clk, pre, clr, output reg q );
always @( posedge clk, posedge pre, negedge clr ) always @( posedge clk)
if ( pre ) if ( pre )
q <= 1'b1; q <= 1'b1;
else if ( clr ) else if ( clr )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment