Question: Question 1 : Write a testbench to test the following logic equation Out = ( A b a r ( C ) + B C

Question 1:
Write a testbench to test the following logic equation
Out =(Abar(C)+BC)
Note:
Delay of every logic gate is 5 ps
Find input combination that could generate glitch in the output signal
Print waveform of input and output signal and discuss your result
Lab Instruction (Testbench)
In this section, we will test your code by creating another Verilog file to supply input to your module. (30 points)
File >> New > Verilog HDL file
Name this file as tb_modulename.v
Write a testbench code to test your Verilog module
Please see slides 24 for your reference
Once finished, double click Analysis & Synthesis
If there is no error, we'll move to modelSim part
Lab Instruction
Click Tools > Run Simulation Tool > RTL Simulation
If you get the following error
Cannot launch the ModelSim-Altera software because you did not specify the path to the executables of the ModelSim-Altera software
Select Tools > Options > General EDA Tool Options
Set path of ModelSim-Altera as follow (Directory that you installed Quartus)
Sorinere
\table[[Certerory:,,,],[ Geera!.,LDA Tesl gaptions],[El:2 IOSi Lprtions,Specity the directory tr at contains the wool evecutb)ile tor sach third-part, EDA 1oot:],[\table[[Fonts:],[Headers & Footers Semting]],His. 1 nol,IIrperery comnrining 1 mal raveumav],[\table[[Inkernei Conmestivity],[Neralficarline:],[Libcaries]],Preosion Synthesis,,-],[synplty,,I.],[\table[[IP Seuings],[iP Gata Og Scarch Locar],[resign Itmeiates]],Synplty Pro,,..],[Activs-HDC,,],[\table[[Lisense Setup]],Pdvera-PAO,,
 Question 1: Write a testbench to test the following logic equation

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!