Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

dfii: adapt to new Record API

  • Loading branch information...
commit 3be20f6ae4eabf0867f6606d36ee3478ed79b221 1 parent 4f4f260
Sébastien Bourdeauducq authored April 02, 2013

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

  1. 8  milkymist/dfii/__init__.py
8  milkymist/dfii/__init__.py
@@ -48,7 +48,9 @@ def __init__(self, a, ba, d, nphases=1):
48 48
 	
49 49
 		###
50 50
 	
51  
-		connect_inti = dfi.interconnect_stmts(inti, self.master)
52  
-		connect_slave = dfi.interconnect_stmts(self.slave, self.master)
53  
-		self.comb += If(self._control.storage[0], *connect_slave).Else(*connect_inti)
  51
+		self.comb += If(self._control.storage[0],
  52
+				self.slave.connect(self.master)
  53
+			).Else(
  54
+				inti.connect(self.master)
  55
+			)
54 56
 		self.comb += [phase.cke.eq(self._control.storage[1]) for phase in inti.phases]

0 notes on commit 3be20f6

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