From e36a9b0504eafcd411d6ece1b0551f85d630f570 Mon Sep 17 00:00:00 2001 From: PhilippGoe Date: Mon, 17 Dec 2018 15:56:07 +0100 Subject: [PATCH] Add toplevel component for flatten testing --- src/test/resources/lab/OverallSystem.emam | 25 +++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 src/test/resources/lab/OverallSystem.emam diff --git a/src/test/resources/lab/OverallSystem.emam b/src/test/resources/lab/OverallSystem.emam new file mode 100644 index 0000000..d16bcaf --- /dev/null +++ b/src/test/resources/lab/OverallSystem.emam @@ -0,0 +1,25 @@ +package lab; + +component OverallSystem{ + + ports in Q input[4], + out Q output[4]; + + instance System system1; + instance System system2; + + connect input[1] -> system1.rosIn[1]; + connect input[2] -> system1.rosIn[2]; + connect input[3] -> system1.rosIn[3]; + connect input[4] -> system1.rosIn[4]; + + connect system1.rosOut -> system2.rosIn[1]; + connect system1.rosOut -> system2.rosIn[2]; + connect system1.rosOut -> system2.rosIn[3]; + connect system1.rosOut -> system2.rosIn[4]; + + connect system2.rosOut -> output[1]; + connect system2.rosOut -> output[2]; + connect system2.rosOut -> output[3]; + connect system2.rosOut -> output[4]; +} \ No newline at end of file -- GitLab