UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Voyager
Voyager
5,031 Views
Registered: ‎01-28-2008

Passing generics from xtclsh?

Jump to solution

Hi folks,

 

  Is there a way to pass a generic(s) as synthesis option from xtclsh? My shell needs to pass a few generics based on some variable value. In the synthesis script, you'd pass: "-generics {PCIE_LANES=8}".

  My Makefile flow does it by modifying the xst script in place with sed, but I can't find a way to do it with xtclsh.

 

Ideas?

 

Thanks in advance,

-Pat

 

https://tuxengineering.com
0 Kudos
1 Solution

Accepted Solutions
Xilinx Employee
Xilinx Employee
5,974 Views
Registered: ‎11-28-2007

Re: Passing generics from xtclsh?

Jump to solution

Take a look at the Chapter 27 "Tcl Reference" in the "Command Line Tools User Guide" below. A side note: I highly recommend everybody use "Xilinx Document Navigator" to manage/view all HW/SW documents.

 

http://www.xilinx.com/support/documentation/sw_manuals/xilinx13_1/devref.pdf

 


@patocarr wrote:

Hi folks,

 

  Is there a way to pass a generic(s) as synthesis option from xtclsh? My shell needs to pass a few generics based on some variable value. In the synthesis script, you'd pass: "-generics {PCIE_LANES=8}".

  My Makefile flow does it by modifying the xst script in place with sed, but I can't find a way to do it with xtclsh.

 

Ideas?

 

Thanks in advance,

-Pat

 


 

Cheers,
Jim
0 Kudos
3 Replies
Xilinx Employee
Xilinx Employee
5,975 Views
Registered: ‎11-28-2007

Re: Passing generics from xtclsh?

Jump to solution

Take a look at the Chapter 27 "Tcl Reference" in the "Command Line Tools User Guide" below. A side note: I highly recommend everybody use "Xilinx Document Navigator" to manage/view all HW/SW documents.

 

http://www.xilinx.com/support/documentation/sw_manuals/xilinx13_1/devref.pdf

 


@patocarr wrote:

Hi folks,

 

  Is there a way to pass a generic(s) as synthesis option from xtclsh? My shell needs to pass a few generics based on some variable value. In the synthesis script, you'd pass: "-generics {PCIE_LANES=8}".

  My Makefile flow does it by modifying the xst script in place with sed, but I can't find a way to do it with xtclsh.

 

Ideas?

 

Thanks in advance,

-Pat

 


 

Cheers,
Jim
0 Kudos
Voyager
Voyager
4,999 Views
Registered: ‎01-28-2008

Re: Passing generics from xtclsh?

Jump to solution

Thanks Jim for your response.

 

This Document Navigator is great! I'm fwd'ing it to all my peers.

 

Cheers,

-Pat

 

 

 

https://tuxengineering.com
0 Kudos
Xilinx Employee
Xilinx Employee
4,971 Views
Registered: ‎11-28-2007

Re: Passing generics from xtclsh?

Jump to solution

Glad to hear you like Document Navigator (DocNav). If you have any suggestion or problem with DocNav, please feel free to let us know.

 


@patocarr wrote:

Thanks Jim for your response.

 

This Document Navigator is great! I'm fwd'ing it to all my peers.

 

Cheers,

-Pat

 

 

 


 

Cheers,
Jim
0 Kudos