i want to make a 16 bit alu with ripple carry adder using 1 bit alu as component. The 1 bit alu must perform addition, subtraction, and, or, xor, nor. It contains 3 multiplexers: ainvert, binvert and operation. I am trying to create the 16 bit alu but many errors occur and i dont really know what to do to fix them... Can someone explain what goes wrong?
Guest
#5415966
1 | |
2 | |
3 | |
4 | |
5 | |
6 | |
7 | |
8 | |
9 | |
10 | |
11 | |
12 | |
13 | |
14 | |
15 | |
16 | |
17 | |
18 | |
19 | |
20 | |
21 | |
22 | |
23 | |
24 | |
Line 109 is:
1 | |
The definition of ALU1 is:
1 | |
2 | |
3 | |
4 | |
5 | |
6 | |
So the compiler expect 8 arguments, but only get 5. And he complains the type mismatch. Duke
Guest
#5416286
Yes i saw this too and i fixed it. Having fixed this does the existing code perform all the functions of an 16-bit alu? thank you for your time!
Reply
Please log in before posting.
