Quantcast
Channel: Altera Forums
Viewing all articles
Browse latest Browse all 19390

access environmental variables in _hw.tcl files

$
0
0
Hello all,

When I try to print an environmental variables in the Quartus TCL Console (e.g. puts $::env(PATH) ) it works, but whenever I try to access it within a _hw.tcl component script it doesn't and I get the following error during elaboration:

Can't read "::env(PATH)": no such element in array

Could anyone shed some light on this?

Thank you.

Viewing all articles
Browse latest Browse all 19390

Trending Articles