Create a testbench to exhaustively test your comparator

Assignment Help Other Engineering
Reference no: EM131426379

Assignment

Design an expandable 2-bit magnitude comparator that can be used as shown below. Use a behavioral  dataflow description to create an expandable two-bit comparator from your Project 1 dataflow description for a 2-bit (non expandable) comparator. You do not need to draw a schematic. The equations do not need to be minimal. Note that A[3] is the MSB of A[3:0].

987_Expandable 2-Bit Magnitude Comparator.jpg

Create a testbench to exhaustively test your expandable 2-bit comparator then create a Verilog model of an 8-bit comparator using multiple connected instances of the tested 2-bit expandable comparator from above. Use the testbench from the course web site to test it. Note how the testbench instantiates the 8-bit comparator so that your module defines the ports correctly!

module Compare8Bit (A, B, IEQ, ILT, IGT, OEQ, OLT, OGT);
input [7:0] A, B;
input IEQ, ILT, IGT;
output OEQ, OLT, OGT;

Your Verilog programs must be compiled and simulated. Save and print the simulator timing diagrams (except for the 8-bit comparator) so that you can include it in your final report.

This final report must include:

1. A brief problem description

a. The problem your circuit solves
b. Specific requirements

2. The project deliverables (exactly what you are generating)

3. Approach/methodology (the steps you will take to solve the problem)

4. Your design work

5. Verilog source code listings (for all designs and their testbenches)

6. Timing diagrams showing how your 2-bit designs performed

7. Show the simulation output produced by my testbench for your 8-bit model but do NOT submit the timing diagram from simulating the 8-bit model.

Reference no: EM131426379

Questions Cloud

Determine maximum current demand by applying suitable factor : Assuming that all of the above electrical loads are balanced across the 3-phase supply, determine the maximum current demand by applying suitable diversity factor as given in Table 7(1) of CoP.
Probability that the paint will be dry within 45 minutes : What is the probability that the paint will be dry within 45 minutes?- What is the probability that the paint will be dry in between 40 and 50 minutes?
Why are vitamins an important part of daily nutrient intake : Why are vitamins an important part of daily nutrient intake?What are fat-soluble vitamins? What are high nutrient sources of these vitamins?What are the functions, benefits, deficiency risks, and toxicity risks of fat-soluble vitamins?What are water-..
What proportion of connectors is rejected : Suppose a truss connector is selected at random. Find the probability that the truss connector has a thickness between 0.042 and 0.045 inch.
Create a testbench to exhaustively test your comparator : Create a testbench to exhaustively test your expandable 2-bit comparator then create a Verilog model of an 8-bit comparator using multiple connected instances of the tested 2-bit expandable comparator from above.
Personality type influence your job performance : How might your personality type influence your job performance? Please explain in detail the different types of personalities and how they might influence job performance.
What is the relationship between discounting and compounding : Also in her plans is a wedding. Emily and her boyfriend, Paul, have set a wedding date two years in the future, after he finishes medical school. In addition, Emily and Paul want to buy a home of their own as soon as possible. This might be possib..
Write a solution trail for given problem : Find the probability that a randomly selected baseball has a weight greater than 5.14 ounces. Write a Solution Trail for this problem.
Organizations effectively manage diversity : How does awareness about the layers of diversity help organizations effectively manage diversity?

Reviews

Write a Review

Other Engineering Questions & Answers

  Produce the component within the customers specification

Evaluate which of the processes would be capable of producing the component within the customer's specification. Use appropriate calculations and control charts to support your statement.

  Explain the issues related to using plcs

Explain the issues related to using PLCs for closed loop (PID) control - Explain the issues related to using PLCs

  Find natural frequencies and mode shape vectors for truss

Find the natural frequencies and mode shape vectors for the truss using one bar element for each link. Show all work involving the assembly of the load vector and characteristic matrix.

  What is the value of vov required and what vgg is needed

Consider the design of the class AB output stage of Fig for the following conditions. The stage is operated from ±2.5-V power supplies and is required to provide a minimum output voltage swing of ±1.5 V while supplying a maximum current equal to ..

  Determine the allowable bearing stress

CIE435 - Foundation Engineering - Determine the allowable bearing stress qall based on both, tolerable settlement and ultimate bearing capacity.

  Relationship between the frequency and the capacitive

Construct the circuit with MultiSIM using a 10% tolerance for the capacitor.Replace the AC source shown with the Agilent Function Generator.

  Write a vhdl module for a 4-bit up-down counter

Write a VHDL module for a 4-bit up-down counter. If En = o, the counter will hold its state.If En = 1, the counter will count up if U = 1 or down if U = o. The counter should also have an asynchronous active-low clear signal ClrN.

  Appropriate symbols from tables

Draw a process-flow diagram of the separation process using appropriate symbols from Tables. Include the gas compressors and heat exchangers. Label the diagram with all of the data given above, and number all process streams.

  Commercial use of strong cryptographic products

Strong cryptographic products are not allowed to export to certain countries in several counties, what are the pros and cons of the commercial use of strong cryptographic products?

  What is the total vehicle delay for this signal cycle

The signal for the approach is timed such that the effective green starts eight seconds after the approach's vehicle queue reaches 10 vehicles, and lasts 15 seconds. What is the total vehicle delay for this signal cycle?

  How many toys should retailer send to high-service channel

How many toys should the retailer send to the high-service channel and how many swimsuits should it purchase at the beginning of the season?

  Construct a simple hydrological model

CIV4730/6730 - Coursework - Stormwater Planter Hydrological Model. The overall aim of this coursework is to construct a simple hydrological model (using MATLAB or Excel) that is able to predict both the volume and timing of runoff from a stormwater..

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd