Prev Problem
Next Problem

67. Decoder

Back To All Submissions
Previous Submission
Next Submission

Solving Approach

How do you plan to solve it?

 

Code

module decoder3to8 (
    input [2:0] s,
    output [7:0] y
);
    assign y = (8'b000000001 << s);
endmodule

 

Was this helpful?
Upvote
Downvote