DinhAn.emam 207 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
package lab;

component DinhAn{
    ports in Z loop,
          out Z out1;

    implementation Math{
        static Z counter = 0;
        counter = counter + 1;
        out1 = (counter + 1) + loop;
    }

}