-- process
process node_a
end node_a;
process implementation node_a.impl
subcomponents
task1: thread th1.impl;
--properties
--actual_processor_binding => (reference());
end node_a.impl;
-- processor
virtual processor vp
end vp;
virtual processor implementation vp.impl
properties
execution_time => 200ms;
period => 100ms;
end vp.impl;
processor cpurm
end cpurm;
processor implementation cpurm.impl
subcomponents
vp: virtual processor vp.impl;
properties
ARINC653::Module_Schedule => ([Partition => reference(vp);Duration => 100ms; Periodic_Processing_Start => true;]);
end cpurm.impl;
The plug-in that I am running is Check CodeGen PreRequisities for VxWorks. This was the example I used, and after correcting some other warnings that the latest version of OSATE flags, I am still left with the following:
MyProcess - Process must be bound to a Virtual Processor through the property Deployment_Properties::Actual_Processor_Binding osate_group_example_MySystem_impl_Instance.aaxl2 /scm/instances Unknown Code Generation Marker
package osate_group_example
public
with ARINC653;
system MySystem
end MySystem;
memory RAM
end RAM;
memory implementation RAM.impl
end RAM.impl;
system implementation MySystem.impl
subcomponents
MyProcess: process node_a.impl;
MyProcessor: processor cpurm.impl;
RAM: memory RAM.impl;
properties
-- actual bindings are applied to the system implementation
-- this statement binds the process node_a.impl (including the thread, to the processor.
Actual_Processor_Binding => (reference (MyProcessor)) applies to MyProcess;
Deployment_Properties::Actual_Memory_Binding => (reference(RAM)) applies to MyProcess;
end MySystem.impl;
-- process
process node_a
end node_a;
thread th1
properties
timing_properties::Deadline => 50 ms;
timing_properties::Period => 100 ms;
Thread_Properties::Dispatch_Protocol=>Periodic;
end th1;
thread implementation th1.impl
end th1.impl;
process implementation node_a.impl
subcomponents
task1: thread th1.impl;
end node_a.impl;
-- processor
virtual processor vp
end vp;
virtual processor implementation vp.impl
properties
execution_time => 200ms;
period => 100ms;
end vp.impl;
processor cpurm
end cpurm;
processor implementation cpurm.impl
subcomponents
vp: virtual processor vp.impl {Programming_Properties::Source_Name=>"foo.c";};
properties
ARINC653::Module_Schedule => ([Partition => reference (vp); Duration => 100ms;
Periodic_Processing_Start => true;]);
end cpurm.impl;
end osate_group_example;
Actual_Processor_Binding => (reference (MyProcessor)) applies to MyProcess;
MyProcessor: processor cpurm.impl;
Actual_Processor_Binding => (reference (MyProcessor.vp)) applies to MyProcess;
--
You received this message because you are subscribed to the Google Groups "OSATE" group.
To unsubscribe from this group and stop receiving emails from it, send an email to osate+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/osate/3a605b1a-c560-4bef-b93f-5f8ea09b75e0n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/osate/a00ac245-6a58-43c0-9fe2-81aa91ab7a3bn%40googlegroups.com.
<MySystem.png>