mirror of https://github.com/m-labs/artiq.git
soc: add LED
This commit is contained in:
parent
a08c6d4410
commit
d804f1199e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue