From 30e07a143b280a71d1c0cefdf4d2beaa10a81559 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Harboe?= Date: Sat, 11 May 2024 09:54:17 +0200 Subject: [PATCH] orfs: fewer surprises MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Øyvind Harboe --- constraints-sram.sdc | 4 +--- io-boomtile.tcl | 4 +--- io-sram.tcl | 4 +--- io-top.tcl | 4 +--- io.tcl | 4 +--- 5 files changed, 5 insertions(+), 15 deletions(-) diff --git a/constraints-sram.sdc b/constraints-sram.sdc index baad500..baf47d3 100644 --- a/constraints-sram.sdc +++ b/constraints-sram.sdc @@ -1,6 +1,4 @@ -set script_path [ file dirname $::env(SDC_FILE) ] -# We expect util.tcl in the same directory as this file -source $script_path/util.tcl +source util.tcl # Set the clock name and period set clk_period 400 diff --git a/io-boomtile.tcl b/io-boomtile.tcl index 2c52a79..403587e 100644 --- a/io-boomtile.tcl +++ b/io-boomtile.tcl @@ -1,5 +1,3 @@ -set script_path [ file dirname $::env(IO_CONSTRAINTS) ] -# We expect util.tcl in the same directory as this file -source $script_path/util.tcl +source util.tcl set_io_pin_constraint -region bottom:* -pin_names [match_pins .*] diff --git a/io-sram.tcl b/io-sram.tcl index da88354..ec44235 100644 --- a/io-sram.tcl +++ b/io-sram.tcl @@ -1,5 +1,3 @@ -set script_path [ file dirname $::env(IO_CONSTRAINTS) ] -# We expect util.tcl in the same directory as this file -source $script_path/util.tcl +source util.tcl set_io_pin_constraint -region left:* -pin_names [match_pins {(R|W)[0-9]+_.*}] diff --git a/io-top.tcl b/io-top.tcl index 1950997..b814ae2 100644 --- a/io-top.tcl +++ b/io-top.tcl @@ -1,5 +1,3 @@ -set script_path [ file dirname $::env(IO_CONSTRAINTS) ] -# We expect util.tcl in the same directory as this file -source $script_path/util.tcl +source util.tcl set_io_pin_constraint -region top:* -pin_names [match_pins (io|auto)_.*] diff --git a/io.tcl b/io.tcl index 5a6b993..3871583 100644 --- a/io.tcl +++ b/io.tcl @@ -1,5 +1,3 @@ -set script_path [ file dirname $::env(IO_CONSTRAINTS) ] -# We expect util.tcl in the same directory as this file -source $script_path/util.tcl +source util.tcl set_io_pin_constraint -region left:* -pin_names [match_pins (io|auto)_.*]