Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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,,
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Spatial Database Systems Design Implementation And Project Management

Authors: Albert K.W. Yeung, G. Brent Hall

1st Edition

1402053932, 978-1402053931

More Books

Students also viewed these Databases questions

Question

4. Label problematic uses of language and their remedies

Answered: 1 week ago