2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-25 11:18:27 +08:00

phaser: cap phy data width to 64 temporarily

This commit is contained in:
Robert Jördens 2016-11-18 15:46:59 +01:00
parent 7664b226f2
commit 342b9e977e

View File

@ -16,7 +16,8 @@ class Channel(_ChannelPHY):
_ChannelPHY.__init__(self, *args, **kwargs)
self.phys = []
for i in self.i:
rl = rtlink.Interface(rtlink.OInterface(len(i.payload)))
rl = rtlink.Interface(rtlink.OInterface(
min(64, len(i.payload)))) # FIXME
self.comb += [
i.stb.eq(rl.o.stb),
rl.o.busy.eq(~i.ack),