For number 2 you can use exclusive-OR gates, but do not use multiplexers.
1)
4-Bit Adder/Subtractor using full adders and Exclusive-OR gates:-
4-Bit Adder/Subtractor using full adders and Multiplexers:-
For number 2 you can use exclusive-OR gates, but do not use multiplexers. 1. Design a...
4. Design a 4-bit Adder / Subtractor. Follow the steps given below. (a) Write the VHDL code for a 1-bit Full Adder. The VHDL code must include an entity and an architecture. (b) Draw the circuit diagram for a 4-bit Adder / Subtractor. The circuit diagram may include the following logic elements: 1-bit Full Adders (shown as a block with inputs and outputs) Any 2-input logic gates Multiplexers Do not draw the logic circuit for the 1-bit Full Adder.
Q. 2. (a) Using full adders and some other gates, design subtractor that subtracts an 8-bit binary number (Y.... Yo] from 8-bit binary number [X, ... Xo). Write necessary equations. Draw detailed circuit diagram and explain steps. (b) Write Verilog code for the above subtractor.
Design a full subtractor and implement it with compound static CMOS gates. The number of gates in your design should be minimized. (a) Sketch a transistor-level schematic for each gate (b) Sketch a stick diagram of the barrow output circuit. 2. Design a full subtractor and implement it with compound static CMOS gates. The number of gates in your design should be minimized. (a) Sketch a transistor-level schematic for each gate (b) Sketch a stick diagram of the barrow output...
Building and testing basic combinational circuits using Verilog HDL Description: Build and test the following circuits using gate-level modeling in Verilog HDL 1.3-input majority function 2.Conditional inverter (see the table below: x - control input, y -data input). Do NOT use XOR gates for the implementation. Output 3. Two-input multiplexer (see the table below: x.y -data inputs, z- control input) Output 4. 1-bit half adder. 5. 1-bit full adder by cascading two half adders 6.1-bit full adder directly (as in...
Using single bit Full Adder (FA) blocks (as shown below) and required gates, construct a 6-bit Adder/Subtractor for signed numbers. Use the signed two’s complement system for the signed numbers. Verify your design for the following addition and subtraction by specifying A as A5A4A3A2A1A0 and B as B5B6B3B2B1B0, determining the inputs to the FAs and their outputs and showing that the outputs correspond to the correct results: a) A-B with A = -13, B = +20 (5 points) b) A+B...
Using building blocks such as binary adders, comparators, multiplexers, decoders, encoders, and arbiters as well as logic gates, design an 8x2 popularity circuit – a circuit that accepts eight two-bit numbers and outputs the number of times each of the four numbers appears on the input.
First you must create a logic circuit using only basic gates such as AND, OR, NOR, NAND, NOT, etc. to implement an ADDER capable of adding two 4 bit binary numbers. Second you must create a logic circuit using only basic gates such as AND, OR, NOR, NAND, NOT, etc. to implement a Subtractor that is capable of subtracting the second number from the first, by converting the second number into its 2's complement form and then adding the resulting...
[Paperl (10 pts.) Design a circuit that takes in four 4-bit unsigned numbers, A (A3..Ao), B (B3..Bo), C (C3-C), and D (D3..Do) and produces the 6-bit unsigned sum of those numbers. You should use three 4-bit adder blocks (74LS283's), and a minimal number of full adders or half adder build blocks. You should organize your adder circuits to perform as many additions in parallel (at the same time) as possible. Getting started: Write out the columns of addition and see...
You are to design a circuit that calculates the Hamming distance between two 5-bit numbers. It takes two 5-bit binary numbers A4 A3 A2 A1 A0 and B4 B3B 2B1 B0 as inputs and returns the number of bits that are different between the two numbers as the 3-bit binary output O2 O1 O0. For example: *If the two input numbers were 10111 and 00001 then the output would be 011 as there are 3 bits different between them. *If...
Design 3- to – 8 decoder using logic gates with enabler, AND, NOT, etc..? Design 3- to – 8 decoder using only two 2-to-4 decoders graphical blocks, use enabler input? a) Design a 3-bit ripple-carry adder using AND, OR, NOT, EXOR, etc.; include carry-in (Cin), carry-out (Cout) and overflow input/output signals? Note: Design for 1-bit first, then extrapolate to 4-bit using 1-bit full-adder graphical block. Design a 3-bit ripple-carry subtractor using AND, OR, NOT, EXOR, etc..; include carry-in (Cin), carry-out...