diff options
| author | Paul Butler <paul.butler@ni.com> | 2020-03-30 16:59:19 -0500 | 
|---|---|---|
| committer | Wade Fife <wade.fife@ettus.com> | 2020-04-02 08:13:35 -0500 | 
| commit | b47b1a467ee5796dbce359ff34c9d55a6acebc82 (patch) | |
| tree | ad7bae7d7964dd42482462a059d2ce3a129b2ec6 /fpga/usrp3/tools | |
| parent | f534e9449e851a59ba8d09b0e86d189f907a8532 (diff) | |
| download | uhd-b47b1a467ee5796dbce359ff34c9d55a6acebc82.tar.gz uhd-b47b1a467ee5796dbce359ff34c9d55a6acebc82.tar.bz2 uhd-b47b1a467ee5796dbce359ff34c9d55a6acebc82.zip | |
fpga: tools: Add support for .sdc in Vivado
viv_utils.tcl will now read files with the .sdc suffix using the
read_xdc Vivado command. This is especially useful when I/O timing
constraints in the FPGA and CPLD need to depend on a common constant.
Diffstat (limited to 'fpga/usrp3/tools')
| -rw-r--r-- | fpga/usrp3/tools/scripts/viv_utils.tcl | 3 | 
1 files changed, 3 insertions, 0 deletions
| diff --git a/fpga/usrp3/tools/scripts/viv_utils.tcl b/fpga/usrp3/tools/scripts/viv_utils.tcl index 32c67e874..8f34df6f5 100644 --- a/fpga/usrp3/tools/scripts/viv_utils.tcl +++ b/fpga/usrp3/tools/scripts/viv_utils.tcl @@ -70,6 +70,9 @@ proc ::vivado_utils::initialize_project { {save_to_disk 0} } {          } elseif [expr [lsearch {.xdc} $src_ext] >= 0] {              puts "BUILDER: Adding XDC     : $src_file"              read_xdc $src_file +        } elseif [expr [lsearch {.sdc} $src_ext] >= 0] { +            puts "BUILDER: Adding SDC     : $src_file" +            read_xdc $src_file          } elseif [expr [lsearch {.xci} $src_ext] >= 0] {              puts "BUILDER: Adding IP      : $src_file"              read_ip $src_file | 
