Guest
#1272290
Hello, as I just started learning VHDL I still have a number of problems getting things running. I would like to write a generic adder which adds to input values bit by bit. In order to realize the generic functionality of the adder three std_logic_vectors were introduced which contain the input and the output (when the input was processed). To check, if everything works correctly, I wrote a test bench. And that's where the problems start. When running the syntax check I get an error message telling me that n is not declared (in the section where the signals are declared). VHDL code of the test bench:
1 | |
2 | |
3 | |
4 | |
5 | |
6 | |
7 | |
8 | |
9 | |
10 | |
11 | |
12 | |
13 | |
14 | |
15 | |
16 | |
17 | |
18 | |
19 | |
20 | |
21 | |
22 | |
23 | |
24 | |
25 | |
26 | |
27 | |
28 | |
29 | |
30 | |
Does anybody see the problem? Thanks very much in advace!!!!