Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- `default_nettype none
- //
- module test(i_clk, i_value, o_value);
- input wire i_clk;
- input wire [15:0] i_value;
- output reg [15:0] o_value;
- wire [15:0] pre_value;
- assign pre_value = i_value + 1;
- always @(posedge i_clk)
- o_value <= pre_value;
- endmodule
Add Comment
Please, Sign In to add comment