MeasDataFifo_clocks.xdc 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. ################################################################################
  2. # (c) Copyright 2009 - 2013 Xilinx, Inc. All rights reserved.
  3. #
  4. # This file contains confidential and proprietary information
  5. # of Xilinx, Inc. and is protected under U.S. and
  6. # international copyright and other intellectual property
  7. # laws.
  8. #
  9. # DISCLAIMER
  10. # This disclaimer is not a license and does not grant any
  11. # rights to the materials distributed herewith. Except as
  12. # otherwise provided in a valid license issued to you by
  13. # Xilinx, and to the maximum extent permitted by applicable
  14. # law: (1) THESE MATERIALS ARE MADE AVAILABLE "AS IS" AND
  15. # WITH ALL FAULTS, AND XILINX HEREBY DISCLAIMS ALL WARRANTIES
  16. # AND CONDITIONS, EXPRESS, IMPLIED, OR STATUTORY, INCLUDING
  17. # BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, NON-
  18. # INFRINGEMENT, OR FITNESS FOR ANY PARTICULAR PURPOSE; and
  19. # (2) Xilinx shall not be liable (whether in contract or tort,
  20. # including negligence, or under any other theory of
  21. # liability) for any loss or damage of any kind or nature
  22. # related to, arising under or in connection with these
  23. # materials, including for any direct, or any indirect,
  24. # special, incidental, or consequential loss or damage
  25. # (including loss of data, profits, goodwill, or any type of
  26. # loss or damage suffered as a result of any action brought
  27. # by a third party) even if such damage or loss was
  28. # reasonably foreseeable or Xilinx had been advised of the
  29. # possibility of the same.
  30. #
  31. # CRITICAL APPLICATIONS
  32. # Xilinx products are not designed or intended to be fail-
  33. # safe, or for use in any application requiring fail-safe
  34. # performance, such as life-support or safety devices or
  35. # systems, Class III medical devices, nuclear facilities,
  36. # applications related to the deployment of airbags, or any
  37. # other applications that could lead to death, personal
  38. # injury, or severe property or environmental damage
  39. # (individually and collectively, "Critical
  40. # Applications"). Customer assumes the sole risk and
  41. # liability of any use of Xilinx products in Critical
  42. # Applications, subject only to applicable laws and
  43. # regulations governing limitations on product liability.
  44. #
  45. # THIS COPYRIGHT NOTICE AND DISCLAIMER MUST BE RETAINED AS
  46. # PART OF THIS FILE AT ALL TIMES.
  47. #
  48. ################################################################################
  49. #------------------------------------------------------------------------------#
  50. # Native FIFO Constraints #
  51. #------------------------------------------------------------------------------#
  52. #set wr_clock [get_clocks -of_objects [get_ports wr_clk]]
  53. #set rd_clock [get_clocks -of_objects [get_ports rd_clk]]
  54. #set wr_clk_period [get_property PERIOD $wr_clock]
  55. #set rd_clk_period [get_property PERIOD $rd_clock]
  56. #set skew_value [expr {(($wr_clk_period < $rd_clk_period) ? $wr_clk_period : $rd_clk_period)} ]
  57. # Set max delay on cross clock domain path for Block/Distributed RAM based FIFO
  58. ## set_max_delay -from [get_cells inst_fifo_gen/gconvfifo.rf/grf.rf/gntv_or_sync_fifo.gcx.clkx/*rd_pntr_gc_reg[*]] -to [get_cells inst_fifo_gen/gconvfifo.rf/grf.rf/gntv_or_sync_fifo.gcx.clkx/*gsync_stage[1].wr_stg_inst/Q_reg_reg[*]] -datapath_only [get_property -min PERIOD $rd_clock]
  59. ## set_bus_skew -from [get_cells inst_fifo_gen/gconvfifo.rf/grf.rf/gntv_or_sync_fifo.gcx.clkx/*rd_pntr_gc_reg[*]] -to [get_cells inst_fifo_gen/gconvfifo.rf/grf.rf/gntv_or_sync_fifo.gcx.clkx/*gsync_stage[1].wr_stg_inst/Q_reg_reg[*]] $skew_value
  60. ## set_max_delay -from [get_cells inst_fifo_gen/gconvfifo.rf/grf.rf/gntv_or_sync_fifo.gcx.clkx/*wr_pntr_gc_reg[*]] -to [get_cells inst_fifo_gen/gconvfifo.rf/grf.rf/gntv_or_sync_fifo.gcx.clkx/*gsync_stage[1].rd_stg_inst/Q_reg_reg[*]] -datapath_only [get_property -min PERIOD $wr_clock]
  61. ## set_bus_skew -from [get_cells inst_fifo_gen/gconvfifo.rf/grf.rf/gntv_or_sync_fifo.gcx.clkx/*wr_pntr_gc_reg[*]] -to [get_cells inst_fifo_gen/gconvfifo.rf/grf.rf/gntv_or_sync_fifo.gcx.clkx/*gsync_stage[1].rd_stg_inst/Q_reg_reg[*]] $skew_value
  62. #set_false_path -from [get_cells -hierarchical -filter {NAME =~ *gsckt_wrst.gic_rst.sckt_wrst_i_reg}] -to [get_cells -hierarchical -filter {NAME =~ *gsckt_wrst.gic_rst.garst_sync_ic[1].rd_rst_inst/Q_reg_reg[0]}]
  63. #set_false_path -from [get_cells -hierarchical -filter {NAME =~ *gsckt_wrst.gic_rst.garst_sync_ic[3].rd_rst_inst/Q_reg_reg[0]}] -to [get_cells -hierarchical -filter {NAME =~ *gsckt_wrst.gic_rst.garst_sync_ic[1].rd_rst_wr_inst/Q_reg_reg[0]}]
  64. ################################################################################