Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

asmicon/multiplexer: fix read tag delay

  • Loading branch information...
commit 425c8b8e7041e1e693709dc0d91222ebf9f3c5c3 1 parent 7ecfd60
Sébastien Bourdeauducq authored May 15, 2012

Showing 1 changed file with 4 additions and 3 deletions. Show diff stats Hide diff stats

  1. 7  milkymist/asmicon/multiplexer.py
7  milkymist/asmicon/multiplexer.py
@@ -120,9 +120,10 @@ def get_fragment(self):
120 120
 			)
121 121
 		]
122 122
 		
123  
-		rd_valid_d = [Signal() for i in range(self.timing_settings.rd_delay)]
124  
-		rd_tag_d = [Signal(BV(tagbits)) for i in range(self.timing_settings.rd_delay)]
125  
-		for i in range(self.timing_settings.rd_delay):
  123
+		rd_delay = self.timing_settings.rd_delay + 1
  124
+		rd_valid_d = [Signal() for i in range(rd_delay)]
  125
+		rd_tag_d = [Signal(BV(tagbits)) for i in range(rd_delay)]
  126
+		for i in range(rd_delay):
126 127
 			if i:
127 128
 				sync += [
128 129
 					rd_valid_d[i].eq(rd_valid_d[i-1]),

0 notes on commit 425c8b8

Please sign in to comment.
Something went wrong with that request. Please try again.