File: funcmapchange.html

package info (click to toggle)
sch-rnd 1.0.10-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 17,696 kB
  • sloc: ansic: 119,120; awk: 1,502; makefile: 1,421; sh: 1,404; yacc: 905; lex: 172; xml: 160
file content (26 lines) | stat: -rw-r--r-- 1,497 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Changes the <i>funcmap/name</i> attribute on one or more ports of a given
component. The component (and port, when needed), needs to be named and
is looked up in the abstract model (the project needs to be compiled). The
actual change is always made in concrete terminal object(s) looked up from
the abstract port objects. If multiple terminals are contributing to the
port (source terminals), the change is done to the terminals that already
have the <i>funcmap/name</i> attribute. If none of the source terminals have that
attribute, the attribute is created in one of the source terminals randomly
chosen.
<p>
The first argument is the command to perform.
<p>
If the command is <i>previous</i> or <i>next</i>, the selected function of the
given port is moved one step back or forward on the function list for the port.
The function list has the order of functions as they appear in the
li:funcmap/ports section of the funcmap file (this differs from the
column ordering in the tabular form, which is deduced from function grouping).
<p>
If the command is <i>set</i> and the new function is specified as the
4th argument, the source terminal attribute is changed to that function. The
added value of this command compared to the propset() action is that it
looks up the terminal object to change and verifies whether the new function
is available for the given port.
<p>
The <i>setgrp</i> command modifies multiple terminals so that a whole function
group is activated (by function group name).