Question: 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
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
