Write Verilog program, verify using test benches usingmonitor/display/strobe and provide output for the followingprograms.
25
28
reg (7:0] tempreg: count -0 tempreg- rega; while (tempreg) begin I7 Execute loop during tempreg is true if (tempregt0]) count-count+1i tempreg-tempreg>>1: end end 26 define nstate 16 integer state[0: nstate-1] integer i; initial begin for (i 0; ǐ
OR
OR