Laboratory 1 Aim: to design, simulate
(using XILINX) and implement a 2-bit integer division circuit.
Material needed: Protoboard, TTL gates (inverters, AND, ORs,
NORs), DIP switches, LEDs, resistors (0.25W 1K Ohms and 0.25W 330
Ohms), wires for protoboard. Description:
Design and implement a 2-bit integer division circuit. The circuit
has four inputs A1, A0, B1, B0
and five outputs Q1, Q0, R1, R0,
E. The values on A1, A0 and B1, B0
are treated as unsigned binary integer number A and B respectively.
The circuit should generate the quotient Q and remainder R of the
division A/B on lines Q1, Q0 and R1,
R0 respectively. If division by zero is attempted, line E
is set '1' (else E is '0') and the values on lines Q1, Q0,
R1, R0 are considered invalid.
Prelab:
-
Specify the truth table.
-
Derive necessary Boolean equations.
-
Draw gate-level logic diagram (logic gate
symbols).
-
Draw chip-level schematic diagram (chips
with pin assignment).
Demo: Build the circuit and demonstrate
its operation by applying different input sequences. Use DIP
switches to generate the inputs and LEDs to display the outputs.
Lab Report:
|