Skip to content

Commit

Permalink
simplesoc: free LED
Browse files Browse the repository at this point in the history
sbourdeauducq committed Apr 13, 2014
1 parent 4240058 commit 362f938
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions targets/simple.py
Original file line number Diff line number Diff line change
@@ -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 @@ def __init__(self, platform):
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

0 comments on commit 362f938

Please sign in to comment.