File tree Expand file tree Collapse file tree 2 files changed +433
-227
lines changed
Expand file tree Collapse file tree 2 files changed +433
-227
lines changed Original file line number Diff line number Diff line change 55[options]
66prove: mode prove
77cover: mode cover
8- prove: depth 20
9- cover: depth 120
8+ prove: depth 50
9+ cover: depth 80
1010
1111[engines]
1212smtbmc z3
1313
1414[script]
1515read -formal sdram_ctrl.v
16- proc -norom
16+ # Scale down all timing so the full init+read+write sequence fits in <80 cycles:
17+ # INIT_CYCLES = (2000 * 1) / 1000 = 2
18+ # T_RP=T_RFC=T_MRD=T_RCD=T_CL=T_WR = 2
19+ # REFRESH_INTERVAL = (4096 / 1 * 1) / 1000 = 4 (so refresh fires every 4 cycles)
20+ chparam -set CLOCK_FREQ_MHZ 1 sdram_ctrl
21+ chparam -set INITIALIZATION_WAIT_PERIOD_NS 2000 sdram_ctrl
22+ chparam -set REFRESH_PERIOD_NS 4096 sdram_ctrl
23+ chparam -set REFRESH_TIMES 1 sdram_ctrl
24+ chparam -set T_RP_PERIOD 2 sdram_ctrl
25+ chparam -set T_RFC_PERIOD 2 sdram_ctrl
26+ chparam -set T_MRD_PERIOD 2 sdram_ctrl
27+ chparam -set T_RCD_PERIOD 2 sdram_ctrl
28+ chparam -set T_CL_PERIOD 2 sdram_ctrl
29+ chparam -set T_WR_PERIOD 2 sdram_ctrl
1730prep -top sdram_ctrl
1831
1932[files]
You can’t perform that action at this time.
0 commit comments