forked from M-Labs/artiq
1
0
Fork 0

sawg: don't enable_replace for Config

closes #762
This commit is contained in:
Robert Jördens 2017-06-28 20:31:40 +02:00
parent f2632e0fd1
commit 3cbbcdfe96
1 changed files with 2 additions and 1 deletions

View File

@ -17,7 +17,8 @@ class Channel(_ChannelPHY):
self.phys = [] self.phys = []
cfg = self.i[0] cfg = self.i[0]
rl = rtlink.Interface(rtlink.OInterface( rl = rtlink.Interface(rtlink.OInterface(
data_width=len(cfg.data), address_width=len(cfg.addr))) data_width=len(cfg.data), address_width=len(cfg.addr),
enable_replace=False))
self.comb += [ self.comb += [
cfg.stb.eq(rl.o.stb), cfg.stb.eq(rl.o.stb),
rl.o.busy.eq(~cfg.ack), rl.o.busy.eq(~cfg.ack),