2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-26 03:38:25 +08:00

sawg: fix config channel addr

This commit is contained in:
Robert Jördens 2017-05-22 17:45:14 +02:00
parent e845de2ff2
commit 253ee950f6

View File

@ -90,7 +90,7 @@ class Config(Module):
Signal((width, True), reset=(1 << width - 1) - 1)] Signal((width, True), reset=(1 << width - 1) - 1)]
for i in range(3)] for i in range(3)]
self.clipped = [Signal(2) for i in range(3)] # TODO self.clipped = [Signal(2) for i in range(3)] # TODO
self.i = Endpoint([("addr", bits_for(1 + 4 + len(self.limits))), self.i = Endpoint([("addr", bits_for(4 + 2*len(self.limits))),
("data", 16)]) ("data", 16)])
self.ce = Signal() self.ce = Signal()