Q1: (10 points) Using Verilog on www.edaplayground.com, write a test bench code for the following circuit: A wl GI G3 D B G2 E
Q1: (10 points) Using Verilog on www.edaplayground.com, write a test bench code for the following circuit: A wl GI G3 D B G2 E Assuming gates have: and has 30 ns or has 20 ns not has 10 ns Assume the inputs to be as follows: At time = 0, A=0, B=0, C=0 At time =100, A=1, B=1, C=1 C= // Insert values of your choice B= C= // Insert values of your choice C= // Insert values of your choice At time = 200 A= At time = 350 A= At time = 450 A= B= End the simulation at 500 timesteps 1- Insert print screen of your code, test bench & printed result showing time, input, and output values. 2- Insert print screen showing the generated waveforms
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Code timescale 1 ns10 ps timeunit 1 ns precision 10 ps module halfaddertb reg ...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