-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I get a bug during "Generate Minimal Cut Sets" #12
Comments
Hi yiji-kong, I am trying to re-create this problem to no avail. Can you provide a bit more information for me? Are there any exceptions being thrown? Are all properties being verified correctly when the analysis proceeds? One thing you could try is cleaning the project in the workspace (click on menu item Project -> Clean...) and then re-running the analysis. |
A likely cause is the version of Osate you are using and the older version of the safety annex you have installed. Agree/Amase (safety annex) have been tested and released for Osate 2.7.0. When I run this version of Osate with the most recent safety annex release, these problems do not show up. Here is a link to install instructions and the version numbers appropriate. If you install Osate 2.7.0 and go through these instructions, it should solve the problem. Let me know if there are any problems you encounter. https://github.com/loonwerks/AMASE/tree/master/safety-update-site |
In the update site field, enter the following website: https://raw.githubusercontent.com/loonwerks/AMASE/master/safety-update-site/safety-annex_0.9,but I get an error: |
Only select "Safety Annex" for the installation, and not "Safety Annex Source Code." This might be the problem. Do not reinstall Osate, but instead click on Help -> About Osate 2 -> Installation details I also assume that since MHS_HOME is set, you downloaded the source executable for the MHS algorithm onto your local machine. If not, certainly do that. (Step 1 of the install instructions.) |
but, I get the reaults, there is nothing:
The aadl looks like:
package Integer_Toy
public
with Base_Types;
with faults;
system A
features
Input: in data port Base_Types::Integer;
Output: out data port Base_Types::Integer;
end A ;
system B
features
Input: in data port Base_Types::Integer;
Output: out data port Base_Types::Integer;
end B ;
system C
features
Input1: in data port Base_Types::Integer;
Input2: in data port Base_Types::Integer;
Output: out data port Base_Types::Integer;
end C ;
system top_level
features
Input: in data port Base_Types::Integer;
Output: out data port Base_Types::Integer;
annex agree {**
end top_level;
system implementation top_level.Impl
subcomponents
A_sub : system A ;
B_sub : system B ;
C_sub : system C ;
connections
IN_TO_A : port Input -> A_sub.Input {Communication_Properties::Timing => immediate;};
A_TO_B : port A_sub.Output -> B_sub.Input {Communication_Properties::Timing => immediate;};
A_TO_C : port A_sub.Output -> C_sub.Input1 {Communication_Properties::Timing => immediate;};
B_TO_C : port B_sub.Output -> C_sub.Input2 {Communication_Properties::Timing => immediate;};
C_TO_Output : port C_sub.Output -> Output {Communication_Properties::Timing => immediate;};
**};
end top_level.Impl;
end Integer_Toy;
The text was updated successfully, but these errors were encountered: