diff options
author | Paul Selkirk <paul@psgd.org> | 2015-10-19 17:55:04 -0400 |
---|---|---|
committer | Paul Selkirk <paul@psgd.org> | 2015-10-19 17:55:04 -0400 |
commit | 3d96445bf19f3fd15b2ad9fe4cd7a08bad9c0e41 (patch) | |
tree | f16879437e301ff221f82047638afe4d44b71d41 /common/rtl/ipcore/create_clkmgr_dcm.tcl | |
parent | 76774e17233eb7d2a3430317278c8932c8ccb2d7 (diff) |
integrate Pavel's new clkmgr code
Diffstat (limited to 'common/rtl/ipcore/create_clkmgr_dcm.tcl')
-rw-r--r-- | common/rtl/ipcore/create_clkmgr_dcm.tcl | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/common/rtl/ipcore/create_clkmgr_dcm.tcl b/common/rtl/ipcore/create_clkmgr_dcm.tcl deleted file mode 100644 index fec8dec..0000000 --- a/common/rtl/ipcore/create_clkmgr_dcm.tcl +++ /dev/null @@ -1,37 +0,0 @@ -##
-## Core Generator Run Script, generator for Project Navigator create command
-##
-
-proc findRtfPath { relativePath } {
- set xilenv ""
- if { [info exists ::env(XILINX) ] } {
- if { [info exists ::env(MYXILINX)] } {
- set xilenv [join [list $::env(MYXILINX) $::env(XILINX)] $::xilinx::path_sep ]
- } else {
- set xilenv $::env(XILINX)
- }
- }
- foreach path [ split $xilenv $::xilinx::path_sep ] {
- set fullPath [ file join $path $relativePath ]
- if { [ file exists $fullPath ] } {
- return $fullPath
- }
- }
- return ""
-}
-
-source [ findRtfPath "data/projnav/scripts/dpm_cgUtils.tcl" ]
-
-set result [ run_cg_create "xilinx.com:ip:clk_wiz:3.6" "clkmgr_dcm" "Clocking Wizard" "Clocking Wizard (xilinx.com:ip:clk_wiz:3.6) generated by Project Navigator" xc6slx45-3csg324 Verilog ]
-
-if { $result == 0 } {
- puts "Core Generator create command completed successfully."
-} elseif { $result == 1 } {
- puts "Core Generator create command failed."
-} elseif { $result == 3 || $result == 4 } {
- # convert 'version check' result to real return range, bypassing any messages.
- set result [ expr $result - 3 ]
-} else {
- puts "Core Generator create cancelled."
-}
-exit $result
|