adapt to migen changes

This commit is contained in:
Florent Kermarrec 2013-03-01 01:09:00 +01:00
parent 80e9db7e61
commit edce543b14
5 changed files with 10 additions and 7 deletions

View File

@ -33,6 +33,7 @@
# I M P O R T
#==============================================================================
from migen.fhdl.structure import *
from migen.fhdl.specials import Memory
from migen.fhdl import verilog, autofragment
from migen.bus import csr
from migen.bus.transactions import *

View File

@ -33,6 +33,7 @@
# I M P O R T
#==============================================================================
from migen.fhdl.structure import *
from migen.fhdl.specials import Memory
from migen.fhdl import verilog, autofragment
from migen.bus import csr
from migen.bus.transactions import *

View File

@ -1,9 +1,10 @@
from migen.fhdl.structure import *
from migen.fhdl.specials import Memory
from migen.bus import csr
from migen.bank import description, csrgen
from migen.bank.description import *
from migen.corelogic.misc import optree
from migen.corelogic.fsm import *
from migen.genlib.misc import optree
from migen.genlib.fsm import *
class Storage:
#
@ -88,7 +89,7 @@ class Storage:
]
comb +=[self.done.eq((self._push_ptr == self._push_ptr_stop) & active_ongoing)]
return Fragment(comb, sync, memories=[self._mem])
return Fragment(comb, sync, specials={self._mem})
class Sequencer:
#

View File

@ -1,8 +1,7 @@
import sys
import datetime
sys.path.append("../../")
from migScope.tools.conv import *
from miscope.tools.conv import *
def get_bits(values, width, low, high =None):
r = []

View File

@ -1,8 +1,9 @@
from migen.fhdl.structure import *
from migen.fhdl.specials import Memory
from migen.bus import csr
from migen.bank import description, csrgen
from migen.bank.description import *
from migen.corelogic.misc import optree
from migen.genlib.misc import optree
class RegParams:
@ -233,7 +234,7 @@ class Sum:
self.o.eq(self._o)
]
comb += self.get_registers()
return Fragment(comb, memories=[self._mem])
return Fragment(comb, specials={self._mem})
#
#Driver