Commit fd3f6854 authored by Marvin Jansen's avatar Marvin Jansen

Added minimal example setup

parent 3dd5d52d
Pipeline #62710 passed with stage
in 2 minutes and 34 seconds
package example;
import example.simulations.*;
component Composition {
port
in Boolean in1,
out Boolean res;
instance Sim1 sim1;
instance Sim2 sim2;
instance Sim3 sim3;
connect in1 -> sim1.in1;
connect in1 -> sim2.in1;
connect sim1.out1 -> sim3.in1;
connect sim2.out1 -> sim3.in2;
connect sim3.out1 -> res;
}
\ No newline at end of file
package example.simulations;
component Sim1 {
port
in Boolean in1,
out Boolean out1;
}
\ No newline at end of file
package example.simulations;
component Sim2 {
port
in Boolean in1,
out Boolean out1;
}
\ No newline at end of file
package example.simulations;
component Sim3 {
port
in Boolean in1,
in Boolean in2,
out Boolean out1;
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment