SpanningSystem.emam 931 Bytes
Newer Older
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
package lab;

component SpanningSystem{

    ports in Q input,
          out Q output;

    instance OverallSystem overallSystem1;
    instance OverallSystem overallSystem2;

    connect input -> OverallSystem1.input[1];
    connect input -> OverallSystem1.input[2];
    connect input -> OverallSystem1.input[3];
    connect input -> OverallSystem1.input[4];

    connect OverallSystem1.output[4] -> output;
    connect OverallSystem1.output[1] -> output;
    connect OverallSystem1.output[2] -> output;
    connect OverallSystem1.output[3] -> output;

    connect input -> OverallSystem2.input[1];
    connect input -> OverallSystem2.input[2];
    connect input -> OverallSystem2.input[3];
    connect input -> OverallSystem2.input[4];

    connect OverallSystem2.output[4] -> output;
    connect OverallSystem2.output[1] -> output;
    connect OverallSystem2.output[2] -> output;
    connect OverallSystem2.output[3] -> output;
}