mirror of
https://github.com/pConst/basic_verilog.git
synced 2025-01-14 06:42:54 +08:00
Added exporting script for Vivado
This commit is contained in:
parent
0cb8ee915c
commit
871c92454e
23
scripts/export_autoplaced_pins.tcl
Executable file
23
scripts/export_autoplaced_pins.tcl
Executable file
@ -0,0 +1,23 @@
|
||||
#------------------------------------------------------------------------------
|
||||
# export_autoplaced_pins.tcl
|
||||
# Konstantin Pavlov, pavlovconst@gmail.com
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
# INFO ------------------------------------------------------------------------
|
||||
# Use this script for Xilinx Vivado environment to export automaticaly
|
||||
# placed pins after succesful implementation
|
||||
#
|
||||
# Source this script from the TCL Console, after opening implemented design
|
||||
|
||||
set f [open export.xdc a]
|
||||
|
||||
set my_ports [get_ports]
|
||||
foreach port_i $my_ports {
|
||||
puts $f "set_property PACKAGE_PIN [get_property PACKAGE_PIN $port_i] \[get_ports $port_i \] "
|
||||
}
|
||||
|
||||
foreach port_i $my_ports {
|
||||
puts $f "set_property IOSTANDARD [get_property IOSTANDARD $port_i] \[get_ports $port_i \] "
|
||||
}
|
||||
|
||||
close $f
|
Loading…
x
Reference in New Issue
Block a user