Merge pull request #467 from mlaga97/master
Allow building digilent_arty using f4pga
This commit is contained in:
commit
3ca0c7a035
|
@ -91,11 +91,13 @@ class BaseSoC(SoCCore):
|
||||||
SoCCore.__init__(self, platform, sys_clk_freq, ident="LiteX SoC on Arty A7", **kwargs)
|
SoCCore.__init__(self, platform, sys_clk_freq, ident="LiteX SoC on Arty A7", **kwargs)
|
||||||
|
|
||||||
# XADC -------------------------------------------------------------------------------------
|
# XADC -------------------------------------------------------------------------------------
|
||||||
self.xadc = XADC()
|
if toolchain == "vivado":
|
||||||
|
self.xadc = XADC()
|
||||||
|
|
||||||
# DNA --------------------------------------------------------------------------------------
|
# DNA --------------------------------------------------------------------------------------
|
||||||
self.dna = DNA()
|
if toolchain == "vivado":
|
||||||
self.dna.add_timing_constraints(platform, sys_clk_freq, self.crg.cd_sys.clk)
|
self.dna = DNA()
|
||||||
|
self.dna.add_timing_constraints(platform, sys_clk_freq, self.crg.cd_sys.clk)
|
||||||
|
|
||||||
# DDR3 SDRAM -------------------------------------------------------------------------------
|
# DDR3 SDRAM -------------------------------------------------------------------------------
|
||||||
if not self.integrated_main_ram_size:
|
if not self.integrated_main_ram_size:
|
||||||
|
|
Loading…
Reference in New Issue