use csr::virtual_leds for SFP0..3 LED indication #244

Merged
sb10q merged 10 commits from morgan/artiq-zynq:feature into master 2023-08-28 16:08:11 +08:00
Showing only changes of commit 831140b20d - Show all commits

View File

@ -314,7 +314,7 @@ class GenericMaster(SoCCore):
self.csr_devices.append("virtual_leds")
self.comb += [self.virtual_leds.get(i).eq(channel.rx_ready)
for i, channel in enumerate(self.drtio_transceiver.channels)]
for i, channel in enumerate(self.gt_drtio.channels)]
@ -486,7 +486,7 @@ class GenericSatellite(SoCCore):
self.csr_devices.append("virtual_leds")
self.comb += [self.virtual_leds.get(i).eq(channel.rx_ready)
for i, channel in enumerate(self.drtio_transceiver.channels)]
for i, channel in enumerate(self.gt_drtio.channels)]
Outdated
Review

needs update

needs update
def write_mem_file(soc, filename):