loom
24 строки · 471.0 Байт
1import "modules/ex-01.sv" type Ex : ex
2
3import "/data/modules/chart.s-script" : chart
4
5chart.init("Тест SystemVerilog")
6
7def int :
8ff_step = 10,
9steps = 4
10
11for int : comb_step in Range(0,steps*ff_step+1)
12{
13if (comb_step % ff_step == 0)
14{
15ex.in_value = ex.out_value
16
17ex.always_ff()
18}
19
20chart.addPoint("in", comb_step, ex.in_value[0])
21chart.addPoint("out", comb_step, ex.out_value[0])
22}
23
24chart.show()
25