System Console and Toolkit Tcl Command Reference Manual

ID 683101
Date 6/20/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

1.1.125. module_get_values

Description

Retrieve a list of children module paths of the specified module

Usage

module_get_values <service-path> <key> [<key...>]

ReturnType

String[]

Returns

A list of values for the specified key of module path

Arguments

service-path
Module service path (from "get_service_paths module")
key
Key mapped to attribute or sub-element
key... (optional)
Key(s) mapped to attribute(s) or sub-element(s)

Example

Given a SOPCINFO file with the following <module> element:
	<module>
	  <parameter name="param_a">
	    <type>java.lang.String</type>
	    <value>value_a</value>
	    <derived>false</derived>
	    <enabled>true</enabled>
	    <visible>true</visible>
	    <valid>true</valid>
	  </parameter>
	  <parameter name="param_b">
	    <type>java.lang.String</type>
	    <value>value_b</value>
	    <derived>false</derived>
	    <enabled>true</enabled>
	    <visible>true</visible>
	    <valid>true</valid>
	  </parameter>
	  ...
	</module>
Command:
	module_get_values /designs/top.sof/my_ip.sopcinfo/foo parameter
Result:
	param_a param_b
Command:
	module_get_values /designs/top.sof/my_ip.sopcinfo/foo parameter:param_a
Result:
	value_a