Guest
#2664737
Hi, I'm running into a problem that probably has a (really) easy fix but I can't seem to find it:
1 | |
2 | |
3 | |
4 | |
5 | |
6 | |
7 | |
8 | |
9 | |
10 | |
11 | |
12 | |
13 | |
14 | |
15 | |
16 | |
17 | |
18 | |
19 | |
20 | |
One of the errors I'm getting is Error (10149): Verilog HDL Declaration error at MemAndALU.v(7): identifier "sum" is already declared in the present scope and Error (10759): Verilog HDL error at MemAndALU.v(7): object A declared in a list of port declarations cannot be redeclared within the module body I can't use registers for this assignment (which is frustrating) The header for ripple_carry_adder is here module ripple_carry_adder ( output Cout, output [31:0]Sum, input [31:0]A, input [31:0]B, input Cin ); and I know that it works