Professional Documents
Culture Documents
223 EE3117 DIC Lab4 Eng Updated 09152023
223 EE3117 DIC Lab4 Eng Updated 09152023
LABORATORY 4
ARITHMETIC LOGIC UNIT
OBJECTIVES
No. Objectives Requirements
1 Program and assemble ALU circuit following Write HDL code to
specifications. implement the system.
Re-used logic components
to build up this system.
EXPERIMENT 1
Objective: Known how to program ALU circuit with registered inputs and outputs.
Requirements:
The circuit in Figure 1 shows an ALU circuit with registered inputs and outputs. The ALU
can implement add and subtract depending on Sel input which is shown in Table 1. Write
Verilog/System Verilog HDL code to implement this system with 8-bit input data.
Result
Power consumption
Clock speed
Table 2 Measurement result of a registered ALU circuit
--------------------------------------------------------------