This repository was archived by the owner on Aug 30, 2021. It is now read-only.
Commit c7e2729
committed
VSU: Describe various clock periods in terms of sample clock period
When calculating these numbers, I took the frequencies listed in the hw docs and calculated their periods in cycles, rounded to whole numbers. When looking at this again, it's clear that all of them work out to be simple multiples of the sample clock period, which is highly likely, assuming there's a single clock divider for all of these circuits, followed by even simpler/smaller counters.
This patch only changes how these constants are calculated; a more accurate/faithful implementation would update these counters only when the sample clock period occurs. I may implement this in a later patch.1 parent 0e68e0f commit c7e2729
1 file changed
Lines changed: 10 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
| 15 | + | |
| 16 | + | |
17 | 17 | | |
18 | | - | |
19 | | - | |
| 18 | + | |
| 19 | + | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | | - | |
| 24 | + | |
| 25 | + | |
26 | 26 | | |
27 | | - | |
28 | | - | |
| 27 | + | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
0 commit comments