Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Question 1 : Write a testbench to test the following logic equation Out = ( A b a r ( C ) + B C
Question :
Write a testbench to test the following logic equation
Out
Note:
Delay of every logic gate is 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. points
File New Verilog HDL file
Name this file as tbmodulename.v
Write a testbench code to test your Verilog module
Please see slides 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 ModelSimAltera software because you did not specify the path to the executables of the ModelSimAltera software
Select Tools Options General EDA Tool Options
Set path of ModelSimAltera as follow Directory that you installed Quartus
Sorinere
tableCerterory: GeeraLDA Tesl gaptionsEl: IOSi Lprtions,Specity the directory tr at contains the wool evecutbile tor sach thirdpart, EDA oot:tableFonts:Headers & Footers SemtingHis. nol,IIrperery comnrining mal raveumavtableInkernei ConmestivityNeralficarline:LibcariesPreosion Synthesis,,synpltyI.tableIP SeuingsiP Gata Og Scarch Locarresign ItmeiatesSynplty Pro,,..ActivsHDCtableLisense SetupPdveraPAO,,
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started