mirror of https://github.com/efabless/caravel.git
160 lines
7.9 KiB
JSON
160 lines
7.9 KiB
JSON
|
{
|
||
|
"Tests": {
|
||
|
"_comment0" :"level is priorty of the test low is better, SW spcify if the test uses SW, RTL regressions run this test in RTL ",
|
||
|
"_comment1" :"GL regressions run this test in gatelevel, GL_SDF regression run this test with SDF included"
|
||
|
|
||
|
,"bitbang_no_cpu_all_o" :{"level":0,
|
||
|
"SW":false,
|
||
|
"RTL":["setup","push","push_gl","nightly","weekly","tape_out"],
|
||
|
"GL":[],
|
||
|
"GL_SDF":[],
|
||
|
"description":"test disable CPU and control the wishbone to configure gpio[4:37] as mgmt output using bitbang and check them"}
|
||
|
,"bitbang_cpu_all_o" :{"level":0,
|
||
|
"SW":true,
|
||
|
"RTL":["setup","push","push_gl","nightly","weekly","tape_out"],
|
||
|
"GL":["push_gl","nightly","weekly","tape_out"],
|
||
|
"GL_SDF":["weekly","tape_out"],
|
||
|
"description":"configure all gpios as mgmt output using bitbang and check them"}
|
||
|
,"gpio_all_o" :{"level":0,
|
||
|
"SW":true,
|
||
|
"RTL":["setup","push","push_gl","nightly","weekly","tape_out"],
|
||
|
"GL":["push_gl","nightly","weekly","tape_out"],
|
||
|
"GL_SDF":["weekly","tape_out"],
|
||
|
"description":"configure all gpios as mgmt output using automatic approach firmware and check them"}
|
||
|
,"gpio_all_i" :{"level":0,
|
||
|
"SW":true,
|
||
|
"RTL":["setup","push","push_gl","nightly","weekly","tape_out"],
|
||
|
"GL":["push_gl","nightly","weekly","tape_out"],
|
||
|
"GL_SDF":["weekly","tape_out"],
|
||
|
"description":"configure all gpios as mgmt output using automatic approach firmware and check them"}
|
||
|
,"bitbang_cpu_all_10" :{"level":0,
|
||
|
"SW":true,
|
||
|
"RTL":["setup","push","push_gl","nightly","weekly","tape_out"],
|
||
|
"GL":["push_gl","nightly","weekly","tape_out"],
|
||
|
"GL_SDF":["weekly","tape_out"],
|
||
|
"description":"shift all the register with 10"}
|
||
|
,"bitbang_cpu_all_01" :{"level":0,
|
||
|
"SW":true,
|
||
|
"RTL":["setup","push","push_gl","nightly","weekly","tape_out"],
|
||
|
"GL":["push_gl","nightly","weekly","tape_out"],
|
||
|
"GL_SDF":["weekly","tape_out"],
|
||
|
"description":"shift all the register with 01"}
|
||
|
,"bitbang_cpu_all_1100" :{"level":0,
|
||
|
"SW":true,
|
||
|
"RTL":["setup","push","push_gl","nightly","weekly","tape_out"],
|
||
|
"GL":["push_gl","nightly","weekly","tape_out"],
|
||
|
"GL_SDF":["weekly","tape_out"],
|
||
|
"description":"shift all the register with 1100"}
|
||
|
,"bitbang_cpu_all_0011" :{"level":0,
|
||
|
"SW":true,
|
||
|
"RTL":["setup","push","push_gl","nightly","weekly","tape_out"],
|
||
|
"GL":["push_gl","nightly","weekly","tape_out"],
|
||
|
"GL_SDF":["weekly","tape_out"],
|
||
|
"description":"shift all the register with 0011"}
|
||
|
,"bitbang_no_cpu_all_i" :{"level":0,
|
||
|
"SW":false,
|
||
|
"RTL":["setup","push","push_gl","nightly","weekly","tape_out"],
|
||
|
"GL":[],
|
||
|
"GL_SDF":[],
|
||
|
"description":"test disable CPU and control the wishbone to configure gpio[0:31] as mgmt input using bitbang and check them"}
|
||
|
,"bitbang_cpu_all_i" :{"level":0,
|
||
|
"SW":true,
|
||
|
"RTL":["setup","push","push_gl","nightly","weekly","tape_out"],
|
||
|
"GL":["push_gl","nightly","weekly","tape_out"],
|
||
|
"GL_SDF":["weekly","tape_out"],
|
||
|
"description":" configure gpio[0:37] as mgmt input using bitbang and check them"}
|
||
|
|
||
|
,"bitbang_spi" :{"level":0,
|
||
|
"RTL":["setup","push","push_gl","nightly","weekly","tape_out"],
|
||
|
"GL":["push_gl","nightly","weekly","tape_out"],
|
||
|
"GL_SDF":["weekly","tape_out"],
|
||
|
"SW":false,
|
||
|
"description":"Same as bitbang_no_cpu_all but configure the gpio using the SPI not the firmware"}
|
||
|
|
||
|
,"hk_regs_wr_wb" :{"level":0,
|
||
|
"SW":false,
|
||
|
"RTL":["setup","push","push_gl","nightly","weekly","tape_out"],
|
||
|
"GL":["push_gl","nightly","weekly","tape_out"],
|
||
|
"GL_SDF":["weekly","tape_out"],
|
||
|
"description":"write then read (the written value) from random housekeeping registers through the firmware but without using CPU, the SPI and system regs can't be read using firmware so the test only GPIO regs inside housekeeping "}
|
||
|
,"hk_regs_wr_spi" :{"level":0,
|
||
|
"SW":false,
|
||
|
"RTL":["setup","push","push_gl","nightly","weekly","tape_out"],
|
||
|
"GL":["push_gl","nightly","weekly","tape_out"],
|
||
|
"GL_SDF":["weekly","tape_out"],
|
||
|
"description":"write then read(the written value) from random housekeeping registers through the SPI housekeeping"}
|
||
|
,"hk_regs_rst_spi" :{"level":0,
|
||
|
"SW":false,
|
||
|
"RTL":["setup","push","push_gl","nightly","weekly","tape_out"],
|
||
|
"GL":["push_gl","nightly","weekly","tape_out"],
|
||
|
"GL_SDF":["weekly","tape_out"],
|
||
|
"description":"check reset value of house keeping registers by reading them trough the spi housekeeping"}
|
||
|
,"helloWorld" :{"level":3,
|
||
|
"SW":false,
|
||
|
"RTL":[],
|
||
|
"GL":[],
|
||
|
"GL_SDF":[],
|
||
|
"description":"hello world test"}
|
||
|
|
||
|
,"cpu_stress" :{"level":2,
|
||
|
"SW":true,
|
||
|
"RTL":["nightly","weekly","tape_out"],
|
||
|
"GL":["nightly","weekly","tape_out"],
|
||
|
"GL_SDF":["weekly","tape_out"],
|
||
|
"description":"stress the cpu with heavy processing"}
|
||
|
,"mem_stress" :{"level":2,
|
||
|
"SW":true,
|
||
|
"RTL":["nightly","weekly","tape_out"],
|
||
|
"GL":["nightly","weekly","tape_out"],
|
||
|
"GL_SDF":["weekly","tape_out"],
|
||
|
"description":"Memory stress tests write and read from 800 bytes 200 words and 400 half words"}
|
||
|
,"IRQ_external" :{"level":2,
|
||
|
"SW":true,
|
||
|
"RTL":["setup","nightly","weekly","tape_out"],
|
||
|
"GL":["nightly","weekly","tape_out"],
|
||
|
"GL_SDF":["weekly","tape_out"],
|
||
|
"description":"test external interrupt by mprj 7"}
|
||
|
,"IRQ_timer" :{"level":2,
|
||
|
"SW":true,
|
||
|
"RTL":["setup","nightly","weekly","tape_out"],
|
||
|
"GL":["nightly","weekly","tape_out"],
|
||
|
"GL_SDF":["weekly","tape_out"],
|
||
|
"description":"test timer0 interrupt"}
|
||
|
,"IRQ_uart" :{"level":2,
|
||
|
"SW":true,
|
||
|
"RTL":["setup","nightly","weekly","tape_out"],
|
||
|
"GL":["nightly","weekly","tape_out"],
|
||
|
"GL_SDF":["weekly","tape_out"],
|
||
|
"description":"test timer0 interrupt"}
|
||
|
,"mgmt_gpio_out" :{"level":0,
|
||
|
"SW":true,
|
||
|
"RTL":["setup","nightly","weekly","tape_out"],
|
||
|
"GL":["nightly","weekly","tape_out"],
|
||
|
"GL_SDF":["weekly","tape_out"],
|
||
|
"description":"tests blinking of mgmt gpio bit as an output"}
|
||
|
,"mgmt_gpio_in" :{"level":0,
|
||
|
"SW":true,
|
||
|
"RTL":["setup","nightly","weekly","tape_out"],
|
||
|
"GL":["nightly","weekly","tape_out"],
|
||
|
"GL_SDF":["weekly","tape_out"],
|
||
|
"description":"tests blinking of mgmt gpio bit as an output"}
|
||
|
,"timer0_oneshot" :{"level":0,
|
||
|
"SW":true,
|
||
|
"RTL":["setup","nightly","weekly","tape_out"],
|
||
|
"GL":["nightly","weekly","tape_out"],
|
||
|
"GL_SDF":["weekly","tape_out"],
|
||
|
"description":"check timer0 oneshot mode"}
|
||
|
,"timer0_periodic" :{"level":0,
|
||
|
"SW":true,
|
||
|
"RTL":["setup","nightly","weekly","tape_out"],
|
||
|
"GL":["nightly","weekly","tape_out"],
|
||
|
"GL_SDF":["weekly","tape_out"],
|
||
|
"description":"check timer0 periodic mode"}
|
||
|
,"uart_tx" :{"level":0,
|
||
|
"SW":true,
|
||
|
"RTL":["setup","nightly","weekly","tape_out"],
|
||
|
"GL":["nightly","weekly","tape_out"],
|
||
|
"GL_SDF":["weekly","tape_out"],
|
||
|
"description":"test uart transmit"}
|
||
|
}
|
||
|
}
|