mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
simplesoc: free LED
This commit is contained in:
parent
4240058979
commit
362f938736
1 changed files with 1 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
|||
from migen.fhdl.std import *
|
||||
from migen.bus import wishbone
|
||||
|
||||
from misoclib import gpio, spiflash
|
||||
from misoclib import spiflash
|
||||
from misoclib.gensoc import GenSoC
|
||||
|
||||
class SimpleSoC(GenSoC):
|
||||
|
@ -29,6 +29,4 @@ class SimpleSoC(GenSoC):
|
|||
self.add_wb_slave(lambda a: a[27:29] == 2, self.sys_ram.bus)
|
||||
self.add_cpu_memory_region("sdram", 0x40000000, sys_ram_size)
|
||||
|
||||
self.submodules.leds = gpio.GPIOOut(platform.request("user_led"))
|
||||
|
||||
default_subtarget = SimpleSoC
|
||||
|
|
Loading…
Reference in a new issue