satman: add 100mhz si5324 settings

siphaser: add calculated vco for 100mhz comment
This commit is contained in:
mwojcik 2021-12-03 11:22:15 +08:00 committed by Sébastien Bourdeauducq
parent eec3ea6589
commit f281112779
2 changed files with 14 additions and 1 deletions

View File

@ -447,6 +447,19 @@ const SI5324_SETTINGS: si5324::FrequencySettings
crystal_ref: true
};
#[cfg(all(has_si5324, rtio_frequency = "100.0"))]
const SI5324_SETTINGS: si5324::FrequencySettings
= si5324::FrequencySettings {
n1_hs : 5,
nc1_ls : 10,
n2_hs : 10,
n2_ls : 250,
n31 : 50,
n32 : 50,
bwsel : 4,
crystal_ref: true
};
#[no_mangle]
pub extern fn main() -> i32 {
extern {

View File

@ -44,7 +44,7 @@ class SiPhaser7Series(Module, AutoCSR):
mmcm_freerun_output = mmcm_freerun_output_raw
# 100MHz/125MHz/150MHz to 100MHz/125MHz/150MHz with controllable phase shift,
# VCO @ 1000MHz/1200MHz.
# VCO @ 800MHz/1000MHz/1200MHz.
# Inserted between CDR and output to Si, used to correct
# non-determinstic skew of Si5324.
mmcm_ps_fb = Signal()