Commit 5e438438 authored by Julien's avatar Julien

Add Data_Rate_Units property

parent f3ca3362
......@@ -134,4 +134,6 @@ property set AADL_Project is
MBytesps => KBytesps * 1000,
GBytesps => MBytesps * 1000);
Data_Rate_Units: type units (bitsps, Bytesps => bitsps * 8, KBytesps => Bytesps * 1000, MBytesps => KBytesps * 1000, GBytesps => MBytesps * 1000);
end AADL_Project;
......@@ -17,6 +17,8 @@ property set Communication_Properties is
src: list of aadlinteger;
dst: list of aadlinteger;);
Data_Rate : aadlinteger units Data_Rate_Units applies to (feature);
Overflow_Handling_Protocol: enumeration (DropOldest, DropNewest, Error) => DropOldest
applies to (event port, event data port, subprogram access);
......@@ -55,7 +57,6 @@ property set Communication_Properties is
Output_Time: list of IO_Time_Spec => ([ Time => Completion; Offset => 0 ns .. 0 ns; ])
applies to (port);
Rate_Spec: type record (
Value_Range: range of aadlreal;
Rate_Unit: enumeration (PerSecond, PerDispatch);
......@@ -75,4 +76,4 @@ property set Communication_Properties is
Latency: Time_Range
applies to (flow, connection, bus, processor, device, port);
end Communication_Properties;
\ No newline at end of file
end Communication_Properties;
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