sipeed / TangMega-138KPro-example

Tang Mega 138K Pro examples
Other
59 stars 10 forks source link

Warning PR1014 / Generic routing resource will be used to clock signal #9

Closed Semnodime closed 6 days ago

Semnodime commented 1 week ago

key_led.gprj

Warnings:

Running placement......
[10%] Placement Phase 0 completed
[20%] Placement Phase 1 completed
[30%] Placement Phase 2 completed
WARN  (TA1123) : the clock "osc_clk"'s frequency does not match internal_osc_inst/osc_inst/OSCOUT's 
[50%] Placement Phase 3 completed
Running routing......
[60%] Routing Phase 0 completed
[70%] Routing Phase 1 completed
[80%] Routing Phase 2 completed
WARN  (PR1014) : Generic routing resource will be used to clock signal 'sys_clk_d' by the specified constraint. And then it may lead to the excessive delay or skew
[90%] Routing Phase 3 completed
kyonmiriam commented 1 week ago

Hi

WeChat 截圖_20241119152319

So, why is this osc_clk 70MHz? According to the description on page 110 of Chapter 6 of UG306E:

WeChat 截圖_20241119152929

𝑓𝐶𝐿𝐾𝑂𝑈𝑇 = 𝑓𝑜𝑠𝑐/FREQ_DIV

However, the English version of the manual does not say what the frequency of this OSC is. In the same position in the Chinese version of the manual, you can see that the frequency of this OSC is 210MHz.

WeChat 截圖_20241119153939

In this demo, FREQ_DIV is set to 3, so the osc_clk = 210/3=70MHz

WeChat 截圖_20241119153318

Semnodime commented 6 days ago

Thanks for the explanation, this provides sufficient details for both warnings and I can now ignore them without fearing unforseen consequences.