2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-28 20:53:35 +08:00

soc: add LED

This commit is contained in:
Sebastien Bourdeauducq 2014-07-05 22:44:20 +02:00
parent a08c6d4410
commit d804f1199e

View File

@ -2,7 +2,7 @@ from fractions import Fraction
from migen.fhdl.std import *
from misoclib import lasmicon, spiflash
from misoclib import lasmicon, spiflash, gpio
from misoclib.sdramphy import gensdrphy
from misoclib.gensoc import SDRAMSoC
@ -92,4 +92,6 @@ class ARTIQSoC(SDRAMSoC):
self.flash_boot_address = 0x70000
self.register_rom(self.spiflash.bus)
self.submodules.leds = gpio.GPIOOut(platform.request("user_led"))
default_subtarget = ARTIQSoC