Overview
Comment:Now does up to 10 ports
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: eaecddc91b8450e2fbdb56b1030076b8aca885139dc36bbb8b0a089f986727b1
User & Date: gawthrop@users.sourceforge.net on 1999-03-12 01:12:09
Other Links: branch diff | manifest | tags
Context
1999-03-12
04:03:09
Single argument - the value of the flow check-in: 86123578d3 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
01:12:09
Now does up to 10 ports check-in: eaecddc91b user: gawthrop@users.sourceforge.net tags: origin/master, trunk
00:58:06
Now gets portlist from the _abg.m file NOT the _rbg.m file
- this allows expansion of vector SS ports.
check-in: 1b19943eba user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/lib/comp/simple/SS_alias.m from [ec84d0544a] to [532fa03c37].

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
27

28
29
30

31
32
33
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
27
28







+
+
+








-
-
-
+
+
+
-
-
-
+
-
-
-
+
-
-
-
+
-
-
-
+



function alias = SS_alias	# Port aliases for SS

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.2  1998/07/28 19:08:22  peterg
## Some vector aliases added.
##
## Revision 1.1  1998/07/02 14:37:42  peterg
## Initial revision
##
###############################################################

  alias.in   = "1";
  alias.out  = "1";

  alias.in1   = "1";
  alias.out1  = "1";

  MAX = 10;
  value = "1";
  for i=1:MAX
  alias.in2   = "1,2";
  alias.out2  = "1,2";

    eval(sprintf("alias.in%i = \"%s\";", i, value));
  alias.in3   = "1,2,3";
  alias.out3  = "1,2,3";

    eval(sprintf("alias.out%i = \"%s\";", i, value));
  alias.in4   = "1,2,3,4";
  alias.out4  = "1,2,3,4";

    value = sprintf("%s,%i",value,i+1);
  alias.in5   = "1,2,3,4,5";
  alias.out5  = "1,2,3,4,5";

  endfor;
endfunction



MTT: Model Transformation Tools
GitHub | SourceHut | Sourceforge | Fossil RSS ]