File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
ip_templates/pwrmgr/dv/sva
top_darjeeling/ip_autogen/pwrmgr/dv/sva Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,14 @@ interface pwrmgr_rstreqs_sva_if
3333 // The timing of the escalation reset is determined by the slow clock, but will not propagate if
3434 // the non-slow clock is off. We use the regular clock and multiply the clock cycles times the
3535 // clock ratio.
36+ % if topname in ["earlgrey", "englishbreakfast"]:
3637 localparam int FastToSlowFreqRatio = 120;
38+ % elif topname == "darjeeling":
39+ // Darjeeling has a 16x clock ratio between the slow and fast clocks. (1GHz / 62.5MHz = 16)
40+ localparam int FastToSlowFreqRatio = 16;
41+ % else:
42+ <% assert False, f"Unsupported top: { topname} " %>\
43+ % endif
3744
3845 localparam int MinEscRstCycles = 0;
3946 localparam int MaxEscRstCycles = 4 * FastToSlowFreqRatio;
Original file line number Diff line number Diff line change @@ -33,7 +33,8 @@ interface pwrmgr_rstreqs_sva_if
3333 // The timing of the escalation reset is determined by the slow clock, but will not propagate if
3434 // the non-slow clock is off. We use the regular clock and multiply the clock cycles times the
3535 // clock ratio.
36- localparam int FastToSlowFreqRatio = 120 ;
36+ // Darjeeling has a 16x clock ratio between the slow and fast clocks. (1GHz / 62.5MHz = 16)
37+ localparam int FastToSlowFreqRatio = 16 ;
3738
3839 localparam int MinEscRstCycles = 0 ;
3940 localparam int MaxEscRstCycles = 4 * FastToSlowFreqRatio;
You can’t perform that action at this time.
0 commit comments