aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hana/test_intermout_always_ff_3_test.v
blob: ed8630c37ff8ac3eff40f40e1b8e6040993ca006 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
module NonBlockingEx(clk, merge, er, xmit, fddi, claim);
input clk, merge, er, xmit, fddi;
output reg claim;
reg fcr;

always @(posedge clk)
begin
    fcr = er | xmit;

	if(merge)
	    claim = fcr & fddi;
	else
	    claim = fddi;
end
endmodule