Design a 4-bit bit inverter for the not circuit

Assignment Help Electrical Engineering
Reference no: EM131205843

EE Design Project - 4-Bit Mini-CPU 

Problem Statement: You are to design a 4-bit mini-CPU which will perform 6 instructions: Compare, Add, Subtract, AND, OR, and NOT.  That is, it can compare two 4-bit numbers, add two numbers, subtract two numbers, AND two numbers, OR two numbers, and take the 1's complement of a single number.  The CPU does only fixed-point number manipulations, so you do not have to worry about floating point numbers. 

Both data and instructions are loaded from a single bus which comes from computer memory.  You do not have to worry about the other end of that bus.  The system operates on a 3-bit counter that counts modulo-8, driven by a clock that is supplied.  On count 1, the 4-bit instruction is loaded from the bus.  On count 3, the first operand is loaded, and the second operand is loaded on count 4.  The result is loaded into the "result register" on count 7.  Count 0 is a pulse at the beginning of the cycle that signals that data on the output bus is valid.  The output of this register is all you are responsible for. How the resulting data is used is taken care of by another designer. All you must do is computer the result and generate the "Data Valid +" signal at clock count 0. 

There is a reset that starts up your system, and then the clock starts and runs continuously. Since your circuit is based on an 8-count cycle after the clock starts, you must provide a modulo-8 counter (3-bit binary counter). The following signal inputs are given:

1. Clock In: A 50/50 pulse input that begins after Reset- and runs continuously.  

2. Reset-: A negative-going signal that resets the system at startup before clock start (clears all registers).   

3. Instruction/Data Bus:  Four data lines, W-Z (W = MSB), on which data and instructions appear as noted above:  The Instruction Word is valid on lines W-Z on count 1 of the clock, Operand 1 is valid on count 3, and Operand 2 is valid on count 4.  

4. Note that in the instruction word, W is the most significant bit.  The Op codes for the instructions are as follows: Compare = 0x2, Add = 0x4, SUB = 0x6, AND = 0x7, OR = 0xa, and NOT = 0xe. These Op codes must be decoded so the correct answer will be loaded in the result register.  

Your job is to design the following:    

1. Build a 3-bit counter that counts modulo-8 continuously. It is reset only at startup with Reset-.

2. Build three 4-bit registers to hold the Instruction Word that is transmitted on count 1, Operand 1 that is transmitted on count 3, and Operand 2 that is true on count 4.

3. You may use a 4-bit adder chip instead of designing the adder from smaller logic pieces. Note that using the adder chip, you may add, subtract, and compare (all 3!), so you do not have to build a separate subtractor or comparator unit. 

4. Note that the comparator should be designed only to show equal or not equal. It is not designed to show which operand in a compare is larger.  

5. Design a 4-bit bit inverter for the NOT circuit.  Note:  In the case of the NOT instruction, only Operand 1 is used.

6. Design 4-bit AND and OR circuits to perform those operations.

7. Design a 5-bit register to hold the sum and carry out (overflow) of the adder (outputs V'-Z'), as well as the result of the other functions.  Note that V' is used to hold the Carry Out bit for Add and Subtract instructions and the compare status bit when a compare is executed. For Operands 1 and 2 equal, V' = 1, for Operands 1 and 2 NOT equal, V' = 0. NOTE! When using the adder as a comparator, be certain to disable the carry bit, as you are using V' as the compare valid bit. 

8. Build a timer circuit that detects counts 0, 1, 3, 4, and 7 and generates the appropriate signals.

9. Build a MUX that chooses the correct result by decoding the Op codes 2, 4, 6, 7, 0xa, and 0xe.  This will allow storage of the correct result in the Output Register. Also, send the control lines that activate the six functions out of the system as well (just as "Data Valid +" is output), so that the receiving circuits will have a signal as to what operation is performed.

Attachment:- Assignment.rar

Reference no: EM131205843

Questions Cloud

Specialized heavy-duty construction equipment : Ingersoll-Rand manufactures specialized heavy-duty construction equipment. Included in a set of recent financial statements is the account "customers' advance payments," with a balance of over $15 million. Under this accounting treatment, how are imp..
Reported a debt-to-equity ratio : Tiggie's Dog Toys, Inc. reported a debt-to-equity ratio of 1.78 times at the end of 2015. If the firm's total debt at year-end was $28 million, how much equity does Tiggie's have on its balance sheet? (Enter your answer in millions of dollars roun..
Write a paper about the impact of the affordable care act : Write a paper about The Impact of the Affordable Care Act on the Health Care Workforce. Include in the paper the role of the political process on health care delivery.
Determine the time constant of the circuit : Determine the time constant of the circuit. - Write the mathematical equation for the voltage vC following the closing of the switch.
Design a 4-bit bit inverter for the not circuit : EE Design Project - 4-Bit Mini-CPU. You are to design a 4-bit mini-CPU which will perform 6 instructions: Compare, Add, Subtract, AND, OR, and NOT. Design a 4-bit bit inverter for the NOT circuit.  Note:  In the case of the NOT instruction, only Oper..
How does this compare to other not for profit entities : On the internet and in the news you see many articles on non-profit companies and their contribution rates. For example, let us say that a firm returns 20% of its contributions to research and pays its CEO $700,000 per year. Is this reasonable? How d..
Develop schedule to implement your strategic management plan : With this in mind, develop a schedule to implement your Strategic Management Plan using some of the tools mentioned above. There is no rule against combining techniques.
Unable to reduce its total fixed costs : Base Line, Inc. makes tennis balls. The company can produce up to 500,000 cans of balls per year. Current annual production is 450,000 cans. Annual fixed costs total $150,000. The variable cost of making and selling each can of balls is $0.75. If Bas..
Identify subcategories of the theory and describe each : Summarize and describe various theories of victimization as they relate to the nature of crime in democratic societies. Apply the core concepts understood in the theories of victimization to real life criminal cases and scenarios.

Reviews

len1205843

9/14/2016 5:47:50 AM

This is a design project. It is recommended that you use LogicWorks for your design. If you do not have LogicWorks, you must use a computer layout tool, and your project design must be printed out. The tool must also have all the correct circuit symbols you will need. If you use Logic Works, simply turn in a print-out of the circuit (make sure to write your name and student number on the circuit drawing). I find that copying and pasting a LogicWorks design into Word works very well, and you can reduce the size of your drawing to a manageable size (one page in this case). Make sure that you go to the Capilano website and update your software with the fix that allows copy and paste into Word and also printing out various sizes or circuits.

Write a Review

Electrical Engineering Questions & Answers

  Lithium ion battery technology

The paper includes Lithium ion battery technology with its advantages and disadvantages. The paper discusses about the Lithium air battery in which detailed reactions of Lithium with air including nonaqueous as well as aqueous are given.

  Power transformers and tariffs

Construction of different types of power transformer, significant energy savings

  Paper on orthogonal frequency-division multiplexing

This document is shown a paper on Orthogonal frequency-division multiplexing with advantages, disadvantages and uses.

  Function of the hmi in a scada system

This assignment contains electronics engineering questions like State the commonly found components of a SCADA (Supervisory control and data acquisition) system. and decribe the function of the HMI in a SCADA system.

  Resultant waveform of the odd harmonic series

Prepare an Excel graph showing the individual components and summated resultant waveform of the odd harmonic series resulting in an approximate square wave.

  Explain scada system

Explain the function of the HMI in a SCADA system.

  Design a 2-digit 24 second shot-clock

Design a 2-digit 24 second "shot-clock" countdown timer with pushbutton controller.

  Model a discrete-time system

To understand di erent signal models To be able to model a discrete-time system and design simple signal processing algorithms.

  Draw a relay construction diagram

Draw a relay construction diagram and briefly explain the operation of a relay.

  Frequency division multiplexing

Write a short technical report on Frequency Division Multiplexing

  Impact of electron energy

Briefly discuss the impact of electron energy, electron current and target on the Bremsstrahlung generated.

  Traffic light controller

The schematic of the traffic light controller

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