build/xilinx/vivado: set quiet property on MultiReg/AsyncResetSynchronizer constraints
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Mon, 15 Apr 2019 14:48:47 +0000 (16:48 +0200)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Mon, 15 Apr 2019 14:48:47 +0000 (16:48 +0200)
MultiReg/AsyncResetSynchronizer are not necessarily present in all design, set
quiet property to avoid generating false warnings.

litex/build/xilinx/vivado.py

index b9750bba59c80eb204402e60b81eea7c565cf7cc..81af2b0c17ab78e10e961779f743f717397aa7dd 100644 (file)
@@ -197,23 +197,23 @@ class XilinxVivadoToolchain:
         # The asynchronous input to a MultiReg is a false path
         platform.add_platform_command(
             "set_false_path -quiet "
-            "-to [get_nets -filter {{mr_ff == TRUE}}]"
+            "-to [get_nets -quiet -filter {{mr_ff == TRUE}}]"
         )
         # The asychronous reset input to the AsyncResetSynchronizer is a false
         # path
         platform.add_platform_command(
             "set_false_path -quiet "
-            "-to [get_pins -filter {{REF_PIN_NAME == PRE}} "
-                "-of [get_cells -filter {{ars_ff1 == TRUE || ars_ff2 == TRUE}}]]"
+            "-to [get_pins -quiet -filter {{REF_PIN_NAME == PRE}} "
+                "-of [get_cells -quiet -filter {{ars_ff1 == TRUE || ars_ff2 == TRUE}}]]"
         )
         # clock_period-2ns to resolve metastability on the wire between the
         # AsyncResetSynchronizer FFs
         platform.add_platform_command(
             "set_max_delay 2 -quiet "
-            "-from [get_pins -filter {{REF_PIN_NAME == Q}} "
-                "-of [get_cells -filter {{ars_ff1 == TRUE}}]] "
-            "-to [get_pins -filter {{REF_PIN_NAME == D}} "
-                "-of [get_cells -filter {{ars_ff2 == TRUE}}]]"
+            "-from [get_pins -quiet -filter {{REF_PIN_NAME == Q}} "
+                "-of [get_cells -quiet -filter {{ars_ff1 == TRUE}}]] "
+            "-to [get_pins -quiet -filter {{REF_PIN_NAME == D}} "
+                "-of [get_cells -quiet -filter {{ars_ff2 == TRUE}}]]"
         )
 
     def build(self, platform, fragment, build_dir="build", build_name="top",