module ec language "EC:2010"{ type component c1 { port sp1 s:=1.0; //4.2.2.2 } with {stepsize "0.1"}; //4.1.2 // group g1 { // // } with {stepsize "0.1"}; //4.1.2 // // testcase tc1 () runs on c1 { // var float time := now; //4.1.1 var StreamType streamVar := { {val:=1, delta:=1}, {val:=2, delta:=1}, {val:=1, delta:=1}} // // } with {stepsize "0.1"}; //4.1.2 // type port sp1 stream { //4.2.2 out float; } with {stepsize "0.1"}; //4.1.2 // // // type record Sample{//{ //4.2.1 Type parameterization not supported w/o corresponding package // T val, // float delta // } // // type record of Sample StreamType; // StreamType; //4.2.1 } with {stepsize "0.1"}; //4.1.2