Professional Documents
Culture Documents
Alu.v ALU Module
Alu.v ALU Module
Alu.v ALU Module
alu.v
96/01/24
23:21:17
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
alu:
//
Include definition of the control signals
include
"control.h"
module alu (clk, opA, opB, aluOp, result);
input
input
input
output
[7:0]
[1:0]
[7:0]
clk;
opA, opB;
aluOp;
result;
//
reg
//
Definition of the ALU latency time
parameter
aluDelay = 85;
always @(posedge clk)
#aluDelay
//
.