Simulation
Version 1 (Dmitry Smekhov, 09/12/2015 11:41 pm)
| 1 | 1 | h1. Simulation |
|
|---|---|---|---|
| 2 | 1 | ||
| 3 | 1 | ||
| 4 | 1 | h2. List of tests for ADM projects |
|
| 5 | 1 | ||
| 6 | 1 | |_. Number|_. Name |_. Description | |
|
| 7 | 1 | |_. 0 | test_dsc_incorrect | DMA with incorrect block of descriptos. DMA must be stopped | |
|
| 8 | 1 | |_. 1 | test_read_4kb | Receive one block of 4 kB | |
|
| 9 | 1 | |_. 2 | test_adm_read_8kb | Receive two blocks of 4 кB. There are two descriptor in one block of descriptors | |
|
| 10 | 1 | |_. 3 | test_adm_read_16kb| Receive for blocks of 4 kB. There are two blocks of descriptors | |
|
| 11 | 1 | |_. 4 | test_adm_write_16kb | Transmit for blocks of 4 kB. There are two blocks of descriptors | |
|
| 12 | 1 | |_. 5 | test_block_main | Check access to block PE_MAIN | |
|
| 13 | 1 | ||
| 14 | 1 | h2. List of tests for WISHBONE projects |
|
| 15 | 1 | ||
| 16 | 1 | |_. Number|_. Name |_. Description | |
|
| 17 | 1 | |_. 0 | test_dsc_incorrect | DMA with incorrect block of descriptos. DMA must be stopped | |
|
| 18 | 1 | |_. 1 | test_read_4kb | Receive one block of 4 kB | |
|
| 19 | 1 | |_. 2 | test_read_8kb | Receive two blocks of 4 кB. There are two descriptor in one block of descriptors | |
|
| 20 | 1 | |_. 3 | test_read_reg | Check access to registers | |
|
| 21 | 1 | ||
| 22 | 1 | h2. Start test with script |
|
| 23 | 1 | ||
| 24 | 1 | The projects ac701_a200t_core and sp605_lx45t_wishbone have script *src\testbench\ahdl\run_ahdl.tcl*; Script start all tests; Script save console log for each test; Example of console log in the dir *src\testbench\ahdl\log_example*; |
|
| 25 | 1 | ||
| 26 | 1 | Script create file *global_tc_summary.log* with results from all tests; |
|
| 27 | 1 | ||
| 28 | 1 | Example of *global_tc_summary.log* |
|
| 29 | 1 | <pre><code>Global AC701_A200T_CORE TC log: |
|
| 30 | 1 | test_dsc_incorrect PASSED |
|
| 31 | 1 | test_read_4kB PASSED |
|
| 32 | 1 | test_adm_read_8kb PASSED |
|
| 33 | 1 | test_adm_read_16kb PASSED |
|
| 34 | 1 | </code></pre> |