Simple Behavioral Model - the always block
module and_gate (out, in1, in2); input in1, in2; output out; reg out; always @(in1 or in2) begin
always block
- always waiting for a change to a trigger signal
- then executes the body
assignment in always block
specifies when block is executed ie. triggered by which signals