Question: verilog basics and test bench Question 1 (Initial Block Statement) (a) Often in certain applications, we need to apply specified set of values The best

 verilog basics and test bench Question 1 (Initial Block Statement) (a)

verilog basics and test bench

Question 1 (Initial Block Statement) (a) Often in certain applications, we need to apply specified set of values The best way to apply these is to use initial" block of statements as shown in the following example initial begin test-pattern= 1; #20 test-pattern 0 #30 test ._pattern-I #40 test__pattern 1 ; #50 test-pattern 0; #60 test-pattern-1 ; end Draw a timing diagram for the 'test_pattern" signal (b) Another way to apply specified set of values is shown in the following example initial begin test pattern-1; test_pattern #20 () test_pattern_ #30 ! test_pattern_ #40 ! test_pattern = #50 () test_pattern_ #60 ! end Draw a timing diagram for the "test_pattern" signal in this case (c) Yet, another way to apply specified set of values is shown in following example initial begin test-pattern 1; test_pattern

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 Databases Questions!