@@ -580,22 +580,25 @@ def __init__(self, cpu_type="or1k", **kwargs):
580
580
self .config ["RTIO_LOG_CHANNEL" ] = len (rtio_channels )
581
581
rtio_channels .append (rtio .LogChannel ())
582
582
583
- self .config ["RTIO_FIRST_DDS_CHANNEL" ] = 0
583
+ self .config ["RTIO_FIRST_DDS_CHANNEL" ] = len ( rtio_channels )
584
584
self .config ["RTIO_DDS_COUNT" ] = 1
585
585
self .config ["DDS_CHANNELS_PER_BUS" ] = 1
586
- self .config ["DDS_ONEHOT_SEL" ] = 1
586
+ self .config ["DDS_AD9914" ] = None
587
+ self .config ["DDS_ONEHOT_SEL" ] = None
587
588
self .config ["DDS_RTIO_CLK_RATIO" ] = 8
588
589
589
- self .submodules .rtio_crg = _PhaserCRG (platform , self .ad9154 .jesd .cd_jesd .clk )
590
+ self .submodules .rtio_crg = _PhaserCRG (
591
+ platform , self .ad9154 .jesd .cd_jesd .clk )
590
592
self .csr_devices .append ("rtio_crg" )
591
593
self .submodules .rtio = rtio .RTIO (rtio_channels )
592
594
self .register_kernel_cpu_csrdevice ("rtio" )
593
595
self .submodules .rtio_moninj = rtio .MonInj (rtio_channels )
594
596
self .csr_devices .append ("rtio_moninj" )
595
- self .submodules .rtio_analyzer = rtio .Analyzer (self . rtio ,
596
- self .get_native_sdram_if ())
597
+ self .submodules .rtio_analyzer = rtio .Analyzer (
598
+ self .rtio , self . get_native_sdram_if ())
597
599
self .csr_devices .append ("rtio_analyzer" )
598
600
601
+ self .config ["RTIO_FINE_TS_WIDTH" ] = self .rtio .fine_ts_width
599
602
platform .add_false_path_constraints (
600
603
self .crg .cd_sys .clk ,
601
604
self .rtio_crg .cd_rtio .clk )
0 commit comments