mirror of https://github.com/m-labs/artiq.git
drtio-eem: CONFIG_EEM_TRANSCEIVERS -> CONFIG_EEM_DRTIO_COUNT
This commit is contained in:
parent
5d38db19d0
commit
dc97d3aee6
|
@ -188,7 +188,7 @@ unsafe fn align_comma() {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn init() {
|
pub fn init() {
|
||||||
for trx_no in 0..csr::CONFIG_EEM_TRANSCEIVERS {
|
for trx_no in 0..csr::CONFIG_EEM_DRTIO_COUNT {
|
||||||
unsafe {
|
unsafe {
|
||||||
csr::eem_transceiver::transceiver_sel_write(trx_no as u8);
|
csr::eem_transceiver::transceiver_sel_write(trx_no as u8);
|
||||||
}
|
}
|
||||||
|
|
|
@ -65,7 +65,7 @@ class Satellite(BaseSoC, AMPSoC):
|
||||||
self.submodules.eem_transceiver = eem_serdes.EEMSerdes(self.platform, data_pads)
|
self.submodules.eem_transceiver = eem_serdes.EEMSerdes(self.platform, data_pads)
|
||||||
self.csr_devices.append("eem_transceiver")
|
self.csr_devices.append("eem_transceiver")
|
||||||
self.config["HAS_DRTIO_EEM"] = None
|
self.config["HAS_DRTIO_EEM"] = None
|
||||||
self.config["EEM_TRANSCEIVERS"] = 1
|
self.config["EEM_DRTIO_COUNT"] = 1
|
||||||
|
|
||||||
self.submodules.rtio_tsc = rtio.TSC(glbl_fine_ts_width=3)
|
self.submodules.rtio_tsc = rtio.TSC(glbl_fine_ts_width=3)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue