xilinx_kc705: Minor Cleanup/Update.
This commit is contained in:
parent
d582515af4
commit
ded90748ee
|
@ -95,10 +95,10 @@ _io = [
|
|||
"AB19 AD16 AC19 AD17 AA18 AB18 AE18 AD18",
|
||||
"AG19 AK19 AG18 AF18 AH19 AJ19 AE19 AD19",
|
||||
"AK16 AJ17 AG15 AF15 AH17 AG14 AH15 AK15",
|
||||
"AK8 AK6 AG7 AF7 AF8 AK4 AJ8 AJ6",
|
||||
"AH5 AH6 AJ2 AH2 AH4 AJ4 AK1 AJ1",
|
||||
"AF1 AF2 AE4 AE3 AF3 AF5 AE1 AE5",
|
||||
"AC1 AD3 AC4 AC5 AE6 AD6 AC2 AD4"),
|
||||
" AK8 AK6 AG7 AF7 AF8 AK4 AJ8 AJ6",
|
||||
" AH5 AH6 AJ2 AH2 AH4 AJ4 AK1 AJ1",
|
||||
" AF1 AF2 AE4 AE3 AF3 AF5 AE1 AE5",
|
||||
" AC1 AD3 AC4 AC5 AE6 AD6 AC2 AD4"),
|
||||
IOStandard("SSTL15_T_DCI")),
|
||||
Subsignal("dqs_p", Pins("AC16 Y19 AJ18 AH16 AH7 AG2 AG4 AD2"),
|
||||
IOStandard("DIFF_SSTL15")),
|
||||
|
|
|
@ -40,14 +40,20 @@ class _CRG(LiteXModule):
|
|||
|
||||
# # #
|
||||
|
||||
# Clk/Rst.
|
||||
clk200 = platform.request("clk200")
|
||||
rst = platform.request("cpu_reset")
|
||||
|
||||
# PLL.
|
||||
self.pll = pll = S7MMCM(speedgrade=-2)
|
||||
self.comb += pll.reset.eq(platform.request("cpu_reset") | self.rst)
|
||||
pll.register_clkin(platform.request("clk200"), 200e6)
|
||||
self.comb += pll.reset.eq(rst | self.rst)
|
||||
pll.register_clkin(clk200, 200e6)
|
||||
pll.create_clkout(self.cd_sys, sys_clk_freq)
|
||||
pll.create_clkout(self.cd_sys4x, 4*sys_clk_freq)
|
||||
pll.create_clkout(self.cd_idelay, 200e6)
|
||||
platform.add_false_path_constraints(self.cd_sys.clk, pll.clkin) # Ignore sys_clk to pll.clkin path created by SoC's rst.
|
||||
|
||||
# IDelayCtrl.
|
||||
self.idelayctrl = S7IDELAYCTRL(self.cd_idelay)
|
||||
|
||||
# BaseSoC ------------------------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue