If I write the following code:
module POLY(CLK,RESET_n,IN_VALID,IN,OUT_VALID,OUT);
input CLK,RESET_n,IN_VALID;
input [ 3:0] IN;
output OUT_VALID;
output [12:0] OUT;
and then use it:
always @(*)
begin
.........
end
Does it mean that the
input CLK,RESET_n,IN_VALID;input [ 3:0] IN;
will trigger the always block or only the input that has used in the block will trigger the always block?But it doesn't write posedge or negedge, so the two both edge will trigger the always block or not?