Skip to content

Commit

Permalink
fpga/common: Update CMAC wrapper constraints to prevent errors when o…
Browse files Browse the repository at this point in the history
…pening elaborated design in Vivado

Signed-off-by: Alex Forencich <[email protected]>
  • Loading branch information
alexforencich committed Dec 12, 2023
1 parent 7686f72 commit f9b3c12
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions fpga/common/syn/vivado/cmac_gty_wrapper.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ foreach inst [get_cells -hier -filter {(ORIG_REF_NAME == cmac_gty_wrapper || REF

# False paths to async input pins on CMAC
set cmac_cells [get_cells -hierarchical -filter "PARENT == $inst/cmac_inst/inst/i_cmac_usplus_top"]
set_false_path -to [get_pins -of $cmac_cells -filter "REF_PIN_NAME =~ RX_RESET"]
set_false_path -to [get_pins -of $cmac_cells -filter "REF_PIN_NAME =~ TX_RESET"]
set_false_path -to [get_pins -of $cmac_cells -filter "REF_PIN_NAME =~ RX_SERDES_RESET*"]
set_false_path -to [get_pins -of $cmac_cells -filter "REF_PIN_NAME =~ CTL_RX_ENABLE_PPP"]
set_false_path -to [get_pins -of $cmac_cells -filter "REF_PIN_NAME =~ CTL_RX_CHECK_SA_PPP"]
set_false_path -to [get_pins -of $cmac_cells -filter "REF_PIN_NAME =~ CTL_RX_CHECK_OPCODE_PPP"]
set_false_path -to [get_pins -of $cmac_cells -filter "REF_PIN_NAME =~ CTL_RX_RSFEC_ENABLE"]
set_false_path -to [get_pins -of $cmac_cells -filter "REF_PIN_NAME =~ CTL_RX_FORCE_RESYNC"]
set_false_path -quiet -to [get_pins -quiet -of $cmac_cells -filter "REF_PIN_NAME =~ RX_RESET"]
set_false_path -quiet -to [get_pins -quiet -of $cmac_cells -filter "REF_PIN_NAME =~ TX_RESET"]
set_false_path -quiet -to [get_pins -quiet -of $cmac_cells -filter "REF_PIN_NAME =~ RX_SERDES_RESET*"]
set_false_path -quiet -to [get_pins -quiet -of $cmac_cells -filter "REF_PIN_NAME =~ CTL_RX_ENABLE_PPP"]
set_false_path -quiet -to [get_pins -quiet -of $cmac_cells -filter "REF_PIN_NAME =~ CTL_RX_CHECK_SA_PPP"]
set_false_path -quiet -to [get_pins -quiet -of $cmac_cells -filter "REF_PIN_NAME =~ CTL_RX_CHECK_OPCODE_PPP"]
set_false_path -quiet -to [get_pins -quiet -of $cmac_cells -filter "REF_PIN_NAME =~ CTL_RX_RSFEC_ENABLE"]
set_false_path -quiet -to [get_pins -quiet -of $cmac_cells -filter "REF_PIN_NAME =~ CTL_RX_FORCE_RESYNC"]

# Control and status connections to DRP registers
constrain_sync_chain_async $inst "tx_rst_sync_1_reg_reg" "tx_rst_sync_2_reg_reg"
Expand Down

0 comments on commit f9b3c12

Please sign in to comment.