Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Consider the circuit below which adds the two 2-bit numbers A1A0 and B1B0 (the delay of each gate is written on it), a bubble at
Consider the circuit below which adds the two 2-bit numbers A1A0 and B1B0 (the delay of each gate is written on it), a bubble at the input of a gate means that input is inverted: a. What is the 'critical path delay of each output of this circuit? [ 3 marks] b. Write three Verilog module for the three sub-circuits (i.e. one for O0, another for O1, and another for O2 ) using gate-level modeling (i.e. a netlist) with each gate delay as in the diagram above (i.e. include the delays in the Verilog code). Then combine these 3 modules into a single module (using module instantiation). [15 marks] c. Write another module for the whole circuit using a single assign statement for each output (i.e. you will have a total of 3 assign statements). Do not forget to model the delay of each output. [7 marks] d. Write a test bench that tests and verify the operation of the two modules in B \& C above for the following input combinations (put 20 ns delay between each consecutive inputs) and verify that your circuits work properly. Comment on any difference you observe between the two circuits and attach a snapshot of the simulation results. [15 marks]
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