Skip to content
Permalink
Browse files
asmicon/multiplexer: fix read tag delay
  • Loading branch information
Sebastien Bourdeauducq committed May 15, 2012
1 parent 7ecfd60 commit 425c8b8e7041e1e693709dc0d91222ebf9f3c5c3
Showing with 4 additions and 3 deletions.
  1. +4 −3 milkymist/asmicon/multiplexer.py
@@ -120,9 +120,10 @@ def get_fragment(self):
)
]

rd_valid_d = [Signal() for i in range(self.timing_settings.rd_delay)]
rd_tag_d = [Signal(BV(tagbits)) for i in range(self.timing_settings.rd_delay)]
for i in range(self.timing_settings.rd_delay):
rd_delay = self.timing_settings.rd_delay + 1
rd_valid_d = [Signal() for i in range(rd_delay)]
rd_tag_d = [Signal(BV(tagbits)) for i in range(rd_delay)]
for i in range(rd_delay):
if i:
sync += [
rd_valid_d[i].eq(rd_valid_d[i-1]),

0 comments on commit 425c8b8

Please sign in to comment.