Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

asmicon/multiplexer: fix read tag delay

  • Loading branch information...
commit 425c8b8e7041e1e693709dc0d91222ebf9f3c5c3 1 parent 7ecfd60
@sbourdeauducq sbourdeauducq authored
Showing with 4 additions and 3 deletions.
  1. +4 −3 milkymist/asmicon/multiplexer.py
View
7 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.
Something went wrong with that request. Please try again.