sqrl_acorn: Add XADC/DNA (For LitePCIe driver test).
This commit is contained in:
parent
74db821f67
commit
b778ba5f70
|
@ -35,6 +35,8 @@ from litex.soc.integration.builder import *
|
|||
|
||||
from litex.soc.cores.clock import *
|
||||
from litex.soc.cores.led import LedChaser
|
||||
from litex.soc.cores.xadc import XADC
|
||||
from litex.soc.cores.dna import DNA
|
||||
|
||||
from litedram.modules import MT41K512M16
|
||||
from litedram.phy import s7ddrphy
|
||||
|
@ -80,6 +82,13 @@ class BaseSoC(SoCCore):
|
|||
# SoCCore ----------------------------------------------------------------------------------
|
||||
SoCCore.__init__(self, platform, sys_clk_freq, ident="LiteX SoC on Acorn CLE-101/215(+)", **kwargs)
|
||||
|
||||
# XADC -------------------------------------------------------------------------------------
|
||||
self.submodules.xadc = XADC()
|
||||
|
||||
# DNA --------------------------------------------------------------------------------------
|
||||
self.submodules.dna = DNA()
|
||||
self.dna.add_timing_constraints(platform, sys_clk_freq, self.crg.cd_sys.clk)
|
||||
|
||||
# DDR3 SDRAM -------------------------------------------------------------------------------
|
||||
if not self.integrated_main_ram_size:
|
||||
self.submodules.ddrphy = s7ddrphy.A7DDRPHY(platform.request("ddram"),
|
||||
|
|
Loading…
Reference in New Issue