Question

Design a 4-bit adder-subtractor circuit using the 4-bit binary Full adders (74LS83) and any necessary additional logic gates. The circuit has a mode input bit, M, that controls its operation. Specifically, when M=0, the circuit becomes a 4-bit adder, and when M=1, the circuit becomes a 4-bit subtractor that performs the operation A plus the 2’s complement of B.Where A and B are two 4-bits binary numbers. That is,

* **When M=0**, we perform A+B, and we assume that
both numbers are unsigned numbers. So the maximum sum value will be
15 (since we are assuming A and B are 4-bit numbers).

* **When M=1**, we perform A+ (B)2’s Complement.
That is, we find first the2’s complement of B then add it to A.
Hence, here the answer of theoperation A-B is expressed in 2’s
complement representation.

* **In both cases above, assume that overflow will not
happen. That is, you may assume that your inputs are chosen in a
way that will****not generate overflow. So, you don’t
have to worry about****overflow.**

a. Draw the logic diagram that implements this circuit,and simulate the circuit on logisim program.

****please show details of your work**

Answer #1

Use contraction beginning with a 4-bit adder-subtractor with
carry in, to design a 4-bit circuit without carry out that
increments its input by 0010 for input S=0 and decrements its input
by 0010 for input S=1. Perform the design by designing the distinct
1-bit full adder cells needed and indicating the type of cell used
in each of the four bit positions.

Adder
Start out by picking 2 positive six bit binary numbers that are
less than 3210, written in 2's complement notation. The
eventual goal is to add these two numbers.
1) Look at the LSB bit of the numbers, and using logic gates
(NANDs, NORs, etc.) design a circuit that correctly gives the right
output for any possible combination of bits in the LSB place.
2) Now look at the next column to the left (next to LSB). In
this...

VERILOG
Design an Arithmetic Logic Unit (ALU) that can perform
four-bit
1. Four-bit addition;
2. Four-bit subtraction;
3. Four-bit multiplication;
4. Four-bit comparator (that compares two binary numbers to check
whether two numbers are equal, or one is less/greater than
other).
Write test benches and simulate each module/submodule.
Hint: First make individual modules of the
four-bit adder, four-bit subtractor, four-bit multiplier, four-bit
comparator modules (make all these in same/one project) and then
use a multiplexer to combine these modules to...

Design a circuit for a synchronous 4-bit counter. Your counter
should count up starting from 0 to 9 (00002
to 10012)
and then wind back to 0 (00002)
–
after 9, it should go back to 0.
Use 4 JK flip-flops and any other gates you need. Include your
design documentation in your submission:
a.
Truth table
b.
Simplification (show your work)
2.
Build this circuit in
Logisim.
Please label each gate, including flip-flops. You may need the
following wiring...

We wish to design a 4-bit PWM to control the brightness of a
7-segment LED display. A PWM circuit will be constructed with a
74163 (4-bit binary counter) and a 7485 (4-bit magnitude
comparator). The inputs and output are: clk: DE1 50 MHz clock
signal. d: 4-bit input control signal specifying the duty cycle
of output pulse. p: 1-bit output pulse with the specified duty
cycle. The d signal is treated as a 4-bit unsigned binary number....

ADVERTISEMENT

Get Answers For Free

Most questions answered within 1 hours.

ADVERTISEMENT

asked 8 minutes ago

asked 15 minutes ago

asked 23 minutes ago

asked 27 minutes ago

asked 31 minutes ago

asked 42 minutes ago

asked 44 minutes ago

asked 53 minutes ago

asked 1 hour ago

asked 1 hour ago

asked 1 hour ago

asked 1 hour ago