1,1II 1,11,1II 1,1II,IV II,IV timescale Ins / lps module mainfunction (input a,b,c, output y); assign y=(a&b) |(a|c); endmodule timescale lns / lps module testbench; reg a,b,c; mainfunction dt (.a...


1,1II<br>1,11,1II<br>1,1II,IV<br>II,IV<br>timescale Ins / lps<br>module mainfunction (input a,b,c, output y);<br>assign y=(a&b) |(a|c);<br>endmodule<br>timescale lns / lps<br>module testbench;<br>reg a,b,c;<br>mainfunction dt (.a (a),.b (b),.c(c),.y(y));<br>initial begin<br>a=0; b=0; c=0; #10<br>if(y!==1) $display(

Extracted text: 1,1II 1,11,1II 1,1II,IV II,IV timescale Ins / lps module mainfunction (input a,b,c, output y); assign y=(a&b) |(a|c); endmodule timescale lns / lps module testbench; reg a,b,c; mainfunction dt (.a (a),.b (b),.c(c),.y(y)); initial begin a=0; b=0; c=0; #10 if(y!==1) $display("y=logic 0"); end endmodule Which of the following is true for the two verilog codes above? I. Behavioral design level is used. II. Output(y) is equal to logic 1 and the text "y=logic 0" appears in the simulation. III. The combinational circuit designed in the code includes 3 logic gates. IV. A net has to be added to the code for the output.

Jun 10, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here