mirror of
https://github.com/litex-hub/litex-boards.git
synced 2025-01-03 03:43:36 -05:00
targets/pcie: update LitePCIe constraints.
This commit is contained in:
parent
d34c3baf15
commit
f9939532b6
4 changed files with 4 additions and 0 deletions
|
@ -118,6 +118,7 @@ class PCIeSoC(SoCCore):
|
||||||
self.submodules.pcie_phy = S7PCIEPHY(platform, platform.request("pcie_x4"),
|
self.submodules.pcie_phy = S7PCIEPHY(platform, platform.request("pcie_x4"),
|
||||||
data_width = 64,
|
data_width = 64,
|
||||||
bar0_size = 0x20000)
|
bar0_size = 0x20000)
|
||||||
|
self.pcie_phy.add_timing_constraints(platform)
|
||||||
platform.add_false_path_constraints(self.crg.cd_sys.clk, self.pcie_phy.cd_pcie.clk)
|
platform.add_false_path_constraints(self.crg.cd_sys.clk, self.pcie_phy.cd_pcie.clk)
|
||||||
self.add_csr("pcie_phy")
|
self.add_csr("pcie_phy")
|
||||||
self.comb += platform.request("pcie_clkreq_n").eq(0)
|
self.comb += platform.request("pcie_clkreq_n").eq(0)
|
||||||
|
|
|
@ -119,6 +119,7 @@ class PCIeSoC(SoCCore):
|
||||||
self.submodules.pcie_phy = S7PCIEPHY(platform, platform.request("pcie_x1"),
|
self.submodules.pcie_phy = S7PCIEPHY(platform, platform.request("pcie_x1"),
|
||||||
data_width = 64,
|
data_width = 64,
|
||||||
bar0_size = 0x20000)
|
bar0_size = 0x20000)
|
||||||
|
self.pcie_phy.add_timing_constraints(platform)
|
||||||
platform.add_false_path_constraints(self.crg.cd_sys.clk, self.pcie_phy.cd_pcie.clk)
|
platform.add_false_path_constraints(self.crg.cd_sys.clk, self.pcie_phy.cd_pcie.clk)
|
||||||
self.add_csr("pcie_phy")
|
self.add_csr("pcie_phy")
|
||||||
|
|
||||||
|
|
|
@ -117,6 +117,7 @@ class PCIeSoC(SoCCore):
|
||||||
self.submodules.pcie_phy = S7PCIEPHY(platform, platform.request("pcie_x1"),
|
self.submodules.pcie_phy = S7PCIEPHY(platform, platform.request("pcie_x1"),
|
||||||
data_width = 64,
|
data_width = 64,
|
||||||
bar0_size = 0x20000)
|
bar0_size = 0x20000)
|
||||||
|
self.pcie_phy.add_timing_constraints(platform)
|
||||||
platform.add_false_path_constraints(self.crg.cd_sys.clk, self.pcie_phy.cd_pcie.clk)
|
platform.add_false_path_constraints(self.crg.cd_sys.clk, self.pcie_phy.cd_pcie.clk)
|
||||||
self.add_csr("pcie_phy")
|
self.add_csr("pcie_phy")
|
||||||
|
|
||||||
|
|
|
@ -117,6 +117,7 @@ class PCIeSoC(SoCCore):
|
||||||
self.submodules.pcie_phy = S7PCIEPHY(platform, platform.request("pcie_x1"),
|
self.submodules.pcie_phy = S7PCIEPHY(platform, platform.request("pcie_x1"),
|
||||||
data_width = 64,
|
data_width = 64,
|
||||||
bar0_size = 0x20000)
|
bar0_size = 0x20000)
|
||||||
|
self.pcie_phy.add_timing_constraints(platform)
|
||||||
platform.add_false_path_constraints(self.crg.cd_sys.clk, self.pcie_phy.cd_pcie.clk)
|
platform.add_false_path_constraints(self.crg.cd_sys.clk, self.pcie_phy.cd_pcie.clk)
|
||||||
self.add_csr("pcie_phy")
|
self.add_csr("pcie_phy")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue