-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #88 from xmos/doc_charts
Doc charts
- Loading branch information
Showing
7 changed files
with
666 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
INTRODUCTION | ||
============ | ||
|
||
This folder includes a python script which runs the C emulators for the ASRC, SSRC, OS3 and DS3 modules. | ||
For each model we present test signals - both a single tone to test the THD performance and a range of tones to | ||
observe roll-off at the top of the band. | ||
Using an un-windowed FFT we calculate the SNR. | ||
We scrape the logs to extract MIPS/Utilization where supported. | ||
|
||
Tests are run for all suported input and output sample freqencies, and for worst case frequency deviation. | ||
Note that not all modules support all input scenarios - these are ignored. | ||
|
||
The result of this script is the generation an rst file which is included into the documentation, | ||
incorporating a full set of charts and summary table. | ||
|
||
|
||
|
||
REQUIREMENTS | ||
============ | ||
|
||
Python 3.9 or above. Make sure the dependencies listed in lib_src/requirements.txt are installed. | ||
|
||
cd ../../ | ||
pip install -r requirements.txt | ||
|
||
|
||
|
||
To run the script: | ||
|
||
python3 doc_asrc.py | ||
|
||
|
||
By default, this will create a "_build" folder, containing sub-folders: | ||
./input all generated test files | ||
./expected simulation output from the models | ||
./output plots and a csv format log file | ||
./rst a single rst file which incorporates all the plots and log file as a table |
Oops, something went wrong.