Comments (4)
What do you mean by "we cannot ignore source_text in source program"? A model is perfectly valid if subprograms do not define source_text. However it may not be correct for a specific model processing if absent. For instance, scheduling analysis does not need this property defined, but code generation does. Since code generation may not consider device, it is fine.
from ocarina.
What do you mean by "we cannot ignore source_text in source program"? A model is perfectly valid if subprograms do not define source_text. However it may not be correct for a specific model processing if absent. For instance, scheduling analysis does not need this property defined, but code generation does. Since code generation may not consider device, it is fine.
I do not understand. If i do code generation work use software component without 'source_text' in subprogram, how can i confirm which file to execute when call a subprogram and where is the function 'subprogram_b'? Example like this:
SUBPROGRAM subprogram_b
features
subb_port: in parameter Base_Types::integer;
PROPERTIES
SOURCE_LANGUAGE => (C);
SOURCE_NAME => "subprogram_b";
END subprogram_b;
from ocarina.
I suggest you study the provided examples.
As I said;
- your example is perfectly valid if you perform scheduling. The Source_Text property is not necessar.
- your example is invalid for code generation: the name of the C file is missing and you cannot complete code generation
from ocarina.
I know what's your mean. Aimed at code geration, i cannot ignore 'source_text'。Thanks very much!
from ocarina.
Related Issues (20)
- In Osate 2.8, I have configured the path of Ocarina bin ,Why is it still showing Path to Ocarina is not setup HOT 10
- Flow source inconsistency error occurs when extended component's declaration happens first HOT 4
- Pass array and struct by reference
- Improve AADL XML backend to display more precise type information HOT 1
- Symbol definition errors with GCC 10 for VCD
- if i want to run it on centos8, which version of automake should i install ? HOT 2
- Backends: fatal error : This OUT port is not connected to any destination? HOT 7
- Catch Ctrl-C HOT 1
- Critical debug information must stop the partition HOT 1
- How can I view the structure of xml_tree generated by aadl? HOT 2
- Error in processing Compute_Entrypoint for port
- STORAGE_ERROR in ocarina when generating polyorb_hi_c code for a system with a protected object HOT 1
- Dynamic memory allocator for request in PolyORB-HI/C
- ocarina version and AADL Doc version HOT 2
- about a trusted compiler HOT 2
- bug: can not generate data type with 'string' HOT 2
- how to import custom Property Set? HOT 7
- how to import file while file_name is not same to the package_name HOT 2
- whether a 'processor' can have a 'data port'? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ocarina.