cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
petdsp
Observer
Observer
705 Views
Registered: ‎07-29-2011

Is it possible to change vhdl top module generic parameters in tcl scribe file?

Jump to solution

I have a vhdl project, top module has some generic parameters to define diffence behave.

I can change the generic parameters before synth in synth GUI, 

Is it possible to change vhdl top module generic parameters in tcl scribe file for better management?

0 Kudos
1 Solution

Accepted Solutions
viviany
Xilinx Employee
Xilinx Employee
684 Views
Registered: ‎05-14-2008

set_property -name {STEPS.SYNTH_DESIGN.ARGS.MORE OPTIONS} -value {-generic MY_MACRO=my_val} -objects [get_runs synth_1]

Is this something you need?

-vivian

-------------------------------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------------------------------
如果提供的信息能解决您的问题,请标记为“接受为解决方案”。
如果您认为帖子有帮助,请点击“奖励”。谢谢!
-------------------------------------------------------------------------------------------------

View solution in original post

3 Replies
hongh
Moderator
Moderator
687 Views
Registered: ‎11-04-2010

Example to change the generic parameter with tcl command: 

set_property -name {STEPS.SYNTH_DESIGN.ARGS.MORE OPTIONS} -value {-generic "tt=6"} -objects [get_runs synth_1] 

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
viviany
Xilinx Employee
Xilinx Employee
685 Views
Registered: ‎05-14-2008

set_property -name {STEPS.SYNTH_DESIGN.ARGS.MORE OPTIONS} -value {-generic MY_MACRO=my_val} -objects [get_runs synth_1]

Is this something you need?

-vivian

-------------------------------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------------------------------
如果提供的信息能解决您的问题,请标记为“接受为解决方案”。
如果您认为帖子有帮助,请点击“奖励”。谢谢!
-------------------------------------------------------------------------------------------------

View solution in original post

petdsp
Observer
Observer
638 Views
Registered: ‎07-29-2011

That's exactly what i want. Thanks.

 

0 Kudos