Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- module decode_shift
- #(parameter WIDTH = 3)
- (input logic [WIDTH-1:0] din, output logic [2**WIDTH-1:0] dout);
- always_combdout=1<<din;
- endmodule
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement