import os
-from migen import *
+from migen import ClockSignal, ResetSignal, Signal, Instance, Cat
from litex.soc.interconnect import wishbone
from litex.soc.cores.cpu import CPU
import os
-from migen import *
+from migen import ClockSignal, ResetSignal, Signal, Instance, Cat
from litex.soc.interconnect import wishbone
from litex.soc.cores.cpu import CPU
self.platform = platform
self.variant = variant
self.reset = Signal()
- self.ibus = ibus = wishbone.Interface(data_width=64, adr_width=29)
- self.dbus = dbus = wishbone.Interface(data_width=64, adr_width=29)
+ self.ibus = ibus = wishbone.Interface(data_width=64, adr_width=29)
+ self.dbus = dbus = wishbone.Interface(data_width=64, adr_width=29)
self.periph_buses = [ibus, dbus]
self.memory_buses = []
import os
import argparse
-from migen import Signal, FSM
+from migen import Signal, FSM, If, Display, Finish
from litex.build.generic_platform import Pins, Subsignal
from litex.build.sim import SimPlatform