I have google, but still understand. 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
1. Does this mean that input CLK,RESET_n,IN_VALID;input [ 3:0] IN; will always call the block or only the input that was used in the block will always call the block?
2. But he does not write posedge or negedge, so will both edges always cause a block or not?
thanks in advance.
source share