Question: module test ( in , slt , out ) ; input in , [ 1 : 0 ] slt; output reg [ 3 : 0
module testinsltout; input in:slt; output reg : out; always @ in or slt begin case sltb: outin; b: outin; b: outin; b: outin; endcase end endmodule A Give the value of the output value of each bit for the following input values: in slt: in slt: in slt: B If we modify the always block as follows: always @ in and slt begin case sltb: outin; b: outin; b: outin; b: outin; endcase end What will be the values of the output for the following input values? in slt: in slt: in slt: C The code given in part a corresponds to a demultiplexer where one output is selected by the selector to get the value of the input. If we add one more bit for the slt input, in a way that the chosen output corresponds to the modulus of the slt input value, ex: if the slt input value is ie in decimal the selected output will be out because Mo
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
