SimpleStructComp.emam 179 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
package structs;

component SimpleStructComp{
    ports in SimpleStruct in1,
          out SimpleStruct out1;

    implementation Math{
        out1.field = 2 * in1.field;
    }
}