Merge pull request #1221 from fjullien/efinix_implement_phase_shift_pll_v3

efinix: implement pll v3 phase shift
This commit is contained in:
enjoy-digital 2022-02-24 22:24:31 +01:00 committed by GitHub
commit 9c01eff5fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -228,7 +228,7 @@ design.create("{2}", "{3}", "./../gateware", overwrite=True)
if block["version"] == "V1_V2":
cmd += 'design.set_property("{}","CLKOUT{}_PHASE","{}","PLL")\n'.format(name, i, clock[2])
else:
cmd += '# Phase shift needs to be implemented for PLL V3\n'
cmd += 'design.set_property("{}","CLKOUT{}_PHASE_SETTING","{}","PLL")\n'.format(name, i, clock[2] // 45)
cmd += "target_freq = {\n"
for i, clock in enumerate(block["clk_out"]):