forked from M-Labs/artiq-zynq
zc706: update naming
This commit is contained in:
parent
473894671a
commit
f87e498994
@ -26,7 +26,7 @@ import acpki
|
|||||||
import drtio_aux_controller
|
import drtio_aux_controller
|
||||||
import zynq_clocking
|
import zynq_clocking
|
||||||
import cxp_4r_fmc
|
import cxp_4r_fmc
|
||||||
import cxp, cxp_frame_pipeline
|
import cxp
|
||||||
from config import write_csr_file, write_mem_file, write_rustc_cfg_file
|
from config import write_csr_file, write_mem_file, write_rustc_cfg_file
|
||||||
|
|
||||||
class SMAClkinForward(Module):
|
class SMAClkinForward(Module):
|
||||||
@ -707,7 +707,7 @@ class CXP_FMC():
|
|||||||
rtio_channels = []
|
rtio_channels = []
|
||||||
cxp_csr_group = []
|
cxp_csr_group = []
|
||||||
cxp_mem_group = []
|
cxp_mem_group = []
|
||||||
cxp_downconns = []
|
cxp_rx_pipelines = []
|
||||||
for i, phy in enumerate(cxp_phys.phys):
|
for i, phy in enumerate(cxp_phys.phys):
|
||||||
cxp_name = "cxp" + str(i)
|
cxp_name = "cxp" + str(i)
|
||||||
|
|
||||||
@ -724,7 +724,7 @@ class CXP_FMC():
|
|||||||
self.csr_devices.append(cxp_name)
|
self.csr_devices.append(cxp_name)
|
||||||
cxp_csr_group.append(cxp_name)
|
cxp_csr_group.append(cxp_name)
|
||||||
|
|
||||||
cxp_downconns.append(cxp_interface.get_rx_downconn())
|
cxp_rx_pipelines.append(cxp_interface.get_rx_pipeline())
|
||||||
|
|
||||||
# Add memory group
|
# Add memory group
|
||||||
|
|
||||||
@ -739,7 +739,7 @@ class CXP_FMC():
|
|||||||
self.add_memory_group("cxp_mem", cxp_mem_group)
|
self.add_memory_group("cxp_mem", cxp_mem_group)
|
||||||
self.add_csr_group("cxp", cxp_csr_group)
|
self.add_csr_group("cxp", cxp_csr_group)
|
||||||
|
|
||||||
self.submodules.cxp_frame_pipeline = cxp.CXP_Frame_Pipeline(cxp_downconns, pmod_pads)
|
self.submodules.cxp_frame_pipeline = cxp.CXP_Frame_Pipeline(cxp_rx_pipelines, pmod_pads)
|
||||||
self.csr_devices.append("cxp_frame_pipeline")
|
self.csr_devices.append("cxp_frame_pipeline")
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user