Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- module adder #(
- parameter p_width = 1
- ) (
- output wire [(p_width+1):0] o_w_s,
- input wire [p_width:0] i_w_a,
- input wire [p_width:0] i_w_b
- );
- assign o_w_s = i_w_a + i_w_b;
- endmodule
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement