Fixed unconnected wires

This commit is contained in:
WilliamMiceli
2019-03-29 17:21:29 -04:00
parent db8ceeefb5
commit d8c7031e1b

View File

@@ -10,8 +10,8 @@ module ALU(
// Wires for connecting the modules to the mux
wire [8:0] result_A,result_B,result_C,result_D,result_E,result_F,result_G,result_H,result_I,result_J,result_K,result_L,result_M,result_N,result_O,result_P;
wire cout;
// A (0000) - Add
// A (0000) - Add
add_9bit add0(
.A(operand0),
.B(operand1),
@@ -41,15 +41,15 @@ module ALU(
.C(result_E));
// F (0101) - Shift Left
shift_left sl(
.A(operand0),
.A(operand0[7:0]),
.B(result_F));
// G (0110) - Shift Right Logical
shift_right_logical srl(
.A(operand0),
.A(operand0[8:1]),
.B(result_G));
// H (0111) - Shift Right Arithmetic
shift_right_arithmetic sra(
.A(operand0),
.A(operand0[8:1]),
.B(result_H));
// I (1000) - NOT
not_9bit not0(