Altera_Forum
Honored Contributor
17 years agoSOPC-Component clk frequency
hi,
I'm defining parameters for custom Avaon components by adding them within *_hw.tcl file and pass derived parameters to VHDL generics. Some of these derived parameters are affected by clock speed of the clock the component is connected to. So far I get information about clock speed from an additional parameter which must be set by the user during instantiation of the component within SOPC-Builder. IMHO this is a very clumsy way of getting clock speed. Is there a way to derive information about clock speed of the connected clock from within tcl? Perhaps there is a predefined variable within tcl-scope ? thanx for your replies, Josef