sdram_module.timing_settings)
-class MiniSoC(BaseSoC):
+class EthernetSoC(BaseSoC):
csr_map = {
"ethphy": 18,
"ethmac": 19
help="enable Ethernet support")
args = parser.parse_args()
- cls = MiniSoC if args.with_ethernet else BaseSoC
+ cls = EthernetSoC if args.with_ethernet else BaseSoC
soc = cls(**soc_sdram_argdict(args))
builder = Builder(soc, **builder_argdict(args))
builder.build()
sdram_module.timing_settings)
-class MiniSoC(BaseSoC):
+class EthernetSoC(BaseSoC):
csr_map = {
"ethphy": 18,
"ethmac": 19
help="enable Ethernet support")
args = parser.parse_args()
- cls = MiniSoC if args.with_ethernet else BaseSoC
+ cls = EthernetSoC if args.with_ethernet else BaseSoC
soc = cls(**soc_sdram_argdict(args))
builder = Builder(soc, **builder_argdict(args))
builder.build()
sdram_module.timing_settings)
-class MiniSoC(BaseSoC):
+class EthernetSoC(BaseSoC):
csr_map = {
"ethphy": 18,
"ethmac": 19
help="enable Ethernet support")
args = parser.parse_args()
- cls = MiniSoC if args.with_ethernet else BaseSoC
+ cls = EthernetSoC if args.with_ethernet else BaseSoC
soc = cls(**soc_sdram_argdict(args))
builder = Builder(soc, **builder_argdict(args))
builder.build()
sdram_module.timing_settings)
-class MiniSoC(BaseSoC):
+class EthernetSoC(BaseSoC):
csr_map = {
"ethphy": 18,
"ethmac": 19
help="enable Ethernet support")
args = parser.parse_args()
- cls = MiniSoC if args.with_ethernet else BaseSoC
+ cls = EthernetSoC if args.with_ethernet else BaseSoC
soc = cls(**soc_sdram_argdict(args))
builder = Builder(soc, **builder_argdict(args))
builder.build()
self.submodules.crg = CRG(platform.request(platform.default_clk_name))
-class MiniSoC(BaseSoC):
+class EthernetSoC(BaseSoC):
csr_map = {
"ethphy": 20,
"ethmac": 21
platform_module = importlib.import_module(args.platform)
platform = platform_module.Platform()
- cls = MiniSoC if args.with_ethernet else BaseSoC
+ cls = EthernetSoC if args.with_ethernet else BaseSoC
soc = cls(platform, **soc_core_argdict(args))
builder = Builder(soc, **builder_argdict(args))
builder.build()