from migen.bus import wishbone
-from migen.bank.description import *
from migen.genlib.io import CRG
from migen.fhdl.specials import Keep
from mibuild.xilinx.vivado import XilinxVivadoToolchain
from misoclib.com.liteeth.core import LiteEthUDPIPCore
-class BaseSoC(SoC, AutoCSR):
+class BaseSoC(SoC):
csr_map = {
"phy": 11,
"core": 12
""")
-class BaseSoCDevel(BaseSoC, AutoCSR):
+class BaseSoCDevel(BaseSoC):
csr_map = {
"la": 20
}
from migen.bus import wishbone
-from migen.bank.description import *
from migen.genlib.io import CRG
from migen.genlib.resetsync import AsyncResetSynchronizer
from migen.genlib.misc import timeline
self.sync += If(self._scratch.re, self._scratch.w.eq(self._scratch.r))
-class PCIeDMASoC(SoC, AutoCSR):
+class PCIeDMASoC(SoC):
default_platform = "kc705"
csr_map = {
"crg": 16,
-from migen.bank.description import *
from migen.genlib.io import CRG
from migen.actorlib.fifo import SyncFIFO
from misoclib.com.gpio import GPIOOut
-class LiteUSBSoC(SoC, AutoCSR):
+class LiteUSBSoC(SoC):
csr_map = {}
csr_map.update(SoC.csr_map)
from misoclib.mem.litesata.common import *
from migen.genlib.cdc import *
from migen.genlib.resetsync import AsyncResetSynchronizer
-from migen.bank.description import *
from misoclib.soc import SoC
self.comb += platform.request("user_led", 2*i+1).eq(sata_phy.ctrl.ready)
-class BISTSoC(SoC, AutoCSR):
+class BISTSoC(SoC):
default_platform = "kc705"
csr_map = {
"sata_bist": 16
set_false_path -from [get_clocks sata_tx_clk] -to [get_clocks sys_clk]
""")
-class BISTSoCDevel(BISTSoC, AutoCSR):
+class BISTSoCDevel(BISTSoC):
csr_map = {
"la": 17
}
from misoclib.mem.litesata.common import *
from migen.genlib.cdc import *
from migen.genlib.resetsync import AsyncResetSynchronizer
-from migen.bank.description import *
from misoclib.soc import SoC
from misoclib.mem.litesata.example_designs.targets.bist import CRG, StatusLeds
-class MirroringSoC(SoC, AutoCSR):
+class MirroringSoC(SoC):
default_platform = "kc705"
csr_map = {
"sata_bist0": 16,
from misoclib.mem.litesata.common import *
from migen.genlib.cdc import *
from migen.genlib.resetsync import AsyncResetSynchronizer
-from migen.bank.description import *
from misoclib.soc import SoC
from misoclib.mem.litesata.example_designs.targets.bist import CRG, StatusLeds
-class StripingSoC(SoC, AutoCSR):
+class StripingSoC(SoC):
default_platform = "kc705"
csr_map = {
"sata_bist": 16
sata_tx_clk="sata_tx{}_clk".format(str(i))))
-class StripingSoCDevel(StripingSoC, AutoCSR):
+class StripingSoCDevel(StripingSoC):
csr_map = {
"la": 17
}
-from migen.bank.description import *
from migen.genlib.io import CRG
from misoclib.soc import SoC
from misoclib.com.uart.bridge import UARTWishboneBridge
-class LiteScopeSoC(SoC, AutoCSR):
+class LiteScopeSoC(SoC):
csr_map = {
"io": 16,
"la": 17