MEM_TESTER Software
Warning
mem_tester C SW is now depreciated - use python version
C Program
Most Need Arguments
-d path… Path to the device-c comp… Compatible of the mem_tester component [default:netcope,mem_tester]-t type… Run test [type = all / seq / rand]-p… Print registers--rst… Reset mem_tester component--rst-emif… Reset EMIF IP and mem_tester component
Note
For complete list of supported parameters use -h or --help.
Basic Usage
make
./mem_tester -t all
AMM_GEN Usage
Manual write to the external memory:
First, fill the manual r/w buffer using
-m burst_id datacommand:burst_idparameter (in range:0 to BURST_CNT - 1) selects which AMM word will be setdataparameter is a new AMM word (512b number in hexa)
Set address at which should be data written using
-a addrargumentAfter running the program with
-wflag, data will be saved to external memory
Manual read from the external memory:
Set address from which should be data read using
-a addrargumentRun program with
-rflagWait until
buff vldbit is set (use-pflag to print the current state of all bits and registers)Data will be then inside manual r/w buffer, which can be printed using
-pflag
Pytest Tester (mem_tester.py)
Run script using: python3 -m pytest -sv mem_tester.py
Report Generator (report_gen.py)
Run script using: python3 report_gen.py
Output report will be in the same folder: mem_tester_report.pdf,
including raw data and graphs: raw.xml and fig/*.