Guest
#3621107
Hi everyone, I'm writing a code for a triangular wave generator in vhdl, and I have a little issue. I want a signal with Vmax =3.3V and I never reach this value, the max is 3.2999... There is not a really big difference but may will be damaging for what I want to simulate with this signal (14 bits ADC). Do you have any hint to get exactly the 3.3 value, if is it possible? Thank you! My code is below:
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 | |
31 | |
32 | |
33 | |
34 | |
35 | |
36 | |
37 | |
38 | |
39 | |
40 | |
41 | |
42 | |
43 | |
44 | |
45 | |
46 | |
47 | |