# 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 *
# 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 *
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:
#
]
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:
#
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 = []
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:
self.o.eq(self._o)
]
comb += self.get_registers()
- return Fragment(comb, memories=[self._mem])
+ return Fragment(comb, specials={self._mem})
#
#Driver