Skip to content

Commit 3ada03f

Browse files
committedAug 17, 2017
sayma_amc: make vivado timing analyzer happy
1 parent cd9c4d3 commit 3ada03f

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed
 

Diff for: ‎misoc/targets/sayma_amc.py

+1-8
Original file line numberDiff line numberDiff line change
@@ -108,14 +108,7 @@ def __init__(self, *args, ethmac_nrxslots=2, ethmac_ntxslots=2, **kwargs):
108108
self.add_memory_region("ethmac", self.mem_map["ethmac"] | self.shadow_base,
109109
ethmac_len)
110110

111-
self.crg.cd_sys.clk.attr.add("keep")
112-
self.ethphy.crg.cd_eth_tx.clk.attr.add("keep")
113-
# period constraints are required here because of vivado
114-
self.platform.add_period_constraint(self.crg.cd_sys.clk, 8.0)
115-
self.platform.add_period_constraint(self.ethphy.crg.cd_eth_tx.clk, 8.0)
116-
self.platform.add_false_path_constraints(
117-
self.crg.cd_sys.clk,
118-
self.ethphy.crg.cd_eth_tx.clk, eth_clocks.rx)
111+
self.platform.add_platform_command("set_property CLOCK_DEDICATED_ROUTE FALSE [get_nets eth_clocks_rx_IBUF_inst/O]")
119112

120113

121114
def main():

0 commit comments

Comments
 (0)
Please sign in to comment.