Virtual Labs
IIT Kharagpur
4-bit Slice ALU
Prerequisites
Download the COA simulator form the below link
http://vlabs.iitkgp.ac.in/coa/
Open command prompt terminal (‘cmd’ from Start panel) and run the simulator using
"java –jar Simulatornew.jar"
After opening the simulator, press the steps button below
Prerequisites
Steps
Prev
Step
1
Step
2
Step
3
Step
4
Step
5
Step
6
Step
7
Step
8
Step
9
Step
10
Step
11
Next
Step 1
In simulator on the right side go to Other Components under Palette, select the ALU 1-bit module.
Step 2
From the right side pallete under
Other Components
, place the ALU 1-bit module on the workspace.
Step 3
To see the pin configuration of the
ALU 1-bit module
, use see pin configuration button on the toolbar on top of the simulator.
On click, it opens a
Pin Configuration
floating window.
Step 4
To perform the experiment, we need five bit switches
(A0, B0, C0, S0, S1)
to give input.
Add five bit switches from
Input/Output
under Palette
Step 5
To perform the experiment, we need two bit displays
(F0, Cout)
to see the output.
Add two bit displays
Input/Output
under Palette
Step 6
Now connect the input to the ALU 1-bit module. Select the
Connection
on Palette, then click on bit switch and
Pin 9
.
Use the pin configuration floating window to identify input and output pins of the module.
Step 7
Repeat step 6 to connect all other components.
Step 8
Place the Label on the workspace as required to label inputs and outputs from
Circuits and Label
under Palette on the right side.
Set the label name using Set Labels and Names on the left side panel. Now the circuit for ALU 1-bit is ready for simulation.
Step 9
Now simulate the circuit use the
Simulate
button (play button) in the toolbar on top.
To change the value of the bit switches from
0 to 1
or
1 to 0
, double click on bit switch.
Now save your circuit using the Save button in the toolbar on top.
Step 10
Now repeat the above steps to design the 4-bit slice ALU.
Make sure you connect all the select pins to two bit switches only.
Step 11
Now simulate the circuit use the
Simulate
button (play button) in the toolbar on top.
To change the value of the bit switches from
0 to 1
or
1 to 0
, double click on bit switch.
Now save your circuit using the Save button in the toolbar on top.