Question: 1 . ( 3 marks ) Consider the following waveforms: ( Signals ( a ) and ( b ) remain at

1.(3 marks) Consider the following waveforms:
(Signals \( a \) and \( b \) remain at 1 forever, while signal \( c \) continues oscillating forever.)
(a)(2 marks) The following is a partial testbench. Fill in the blanks so that this testbench generates the waveforms above. If one or more of the blanks should remain blank, say so.
```
'timescale 1ns/10ps
module tb()
reg a,b,c;
initial begin
// fill in this blank
end
always begin
// fill in this blank
end
endmodule
```
(b)(1 mark) How would you modify this testbench to print "Hello World!" to the simulation console whenever \( c \) changes its value to 1?
1 . ( 3 marks ) Consider the following waveforms:

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Electrical Engineering Questions!