Modules
module full_addr (A, B, Cin, S, Cout); input A, B, Cin; output S, Cout; assign {Cout, S} = A + B + Cin;endmodule
Modules are circuit components
- “parameter list” is a list of external connections
- Port types: “input”, “output” or “inout”
- inout are used on tri-state buses