cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Visitor
Visitor
437 Views
Registered: ‎03-24-2019

create_bd_design fails in 2019.2

Jump to solution

HI all,

apologies if this is in the incorrect location.

I'm trying to port my tcl project creation scripts from Vivado 2018.3 to 2019.2.1

Scripts that ran fine before now fail under a 2019.2.1 combined Vitis / Vivado install.

I'm running a tcl create_bd_design command

The error is -

create_bd_design "design_1" invalid command name "::xilinx.com_bd_rule_gt_tx_rx::init" ERROR: [BD 41-66] Error running init TCL procedure: invalid command name "::xilinx.com_bd_rule_gt_tx_rx::init" ERROR: [Ip 78-111] Invalid tcl file '' for Rule object ::: invalid command name "::xilinx.com:bd_rule:aurora:1.0::init" ERROR: [Ip 78-90] Error in initialization of Rule object 'xilinx.com:bd_rule:aurora:1.0'

 

My code at this point is pretty minimal -

cd $project_location
create_project $project_name $project_dir -part xc7a100tcsg324-1 -force
set_param board.repoPaths [list "/opt/pkg/Xilinx/Vivado/2019.2/data/boards/board_files/"]
set_property board_part digilentinc.com:arty-a7-100:part0:1.0 [current_project]
set_property target_language VHDL [current_project]
update_ip_catalog
create_bd_design "design_1"

I'm currently migrating code from an arty board to a KCU105 dev kit. Once the arty code is running in 2019.2 I'll move it to the KCU105. 

Can anyone assist in helping me diagnose what I am doing wrong?

Thanks,

Chris

0 Kudos
1 Solution

Accepted Solutions
Highlighted
Visitor
Visitor
307 Views
Registered: ‎03-24-2019

Ok, fixed.

Used https://www.xilinx.com/support/answers/59875.html 

tclapp::reset_tclstore

Now tcl scripts are running ok.

 

View solution in original post

0 Kudos
5 Replies
Highlighted
Visitor
Visitor
422 Views
Registered: ‎03-24-2019
Update - not specific to Arty, also fails for a KCU105 project
0 Kudos
Highlighted
Xilinx Employee
Xilinx Employee
405 Views
Registered: ‎02-27-2019

Hi @cvpeck ,

Try below:

create_bd_design design_1

Refer to https://www.xilinx.com/support/documentation/sw_manuals/xilinx2019_2/ug835-vivado-tcl-commands.pdf  create_bd_design

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Highlighted
Moderator
Moderator
394 Views
Registered: ‎11-04-2010

Hi, @cvpeck ,

The provided commands look to be able to work without error.

Could you provide the completed log file?

 

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Highlighted
Visitor
Visitor
309 Views
Registered: ‎03-24-2019

Sorry for the delay as I was doing a full re-install that completed successfully without errors.

2019.2 without the latest update doesn't even get as far as before.

invalid command name "tclapp::xilinx::xsim::register_options"
ERROR: [Common 17-69] Command failed: invalid command name "tclapp::xilinx::xsim::register_options"

This is just from running the start of the script.

start_gui
set project_name artytest
artytest
set project_location /home/peckc 
/home/peckc
set project_dir $project_location/$project_name
/home/peckc/artytest
#start_gui
cd $project_location
create_project $project_name $project_dir -part xc7a100tcsg324-1 -force
INFO: [IP_Flow 19-234] Refreshing IP repositories
INFO: [IP_Flow 19-1704] No user IP repositories specified
INFO: [IP_Flow 19-2313] Loaded Vivado IP repository '/opt/pkg/Xilinx/Vivado/2019.2/data/ip'.
invalid command name "tclapp::xilinx::xsim::register_options"
ERROR: [Common 17-69] Command failed: invalid command name "tclapp::xilinx::xsim::register_options"

 

0 Kudos
Highlighted
Visitor
Visitor
308 Views
Registered: ‎03-24-2019

Ok, fixed.

Used https://www.xilinx.com/support/answers/59875.html 

tclapp::reset_tclstore

Now tcl scripts are running ok.

 

View solution in original post

0 Kudos