Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
OpenGEODE
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
TASTE
OpenGEODE
Commits
577aa6da
Commit
577aa6da
authored
Jul 30, 2016
by
Maxime Perrotin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Handle continuous signals when no input for a state
parent
ebc7862b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
2 deletions
+11
-2
README.md
README.md
+3
-0
opengeode/AdaGenerator.py
opengeode/AdaGenerator.py
+7
-1
opengeode/opengeode.py
opengeode/opengeode.py
+1
-1
No files found.
README.md
View file @
577aa6da
...
...
@@ -142,6 +142,9 @@ The background pattern was downloaded from www.subtlepatterns.com
Changelog
=========
1.
5.3 (07/2016):
-
Continous signals now handled in states where input is not consumed
1.
5.2 (07/2016):
-
Asn1scc API added to interface with DMT/asn2dataModel
-
Better statechart rendering (less distance between nodes)
...
...
opengeode/AdaGenerator.py
View file @
577aa6da
...
...
@@ -273,6 +273,8 @@ LD_LIBRARY_PATH=. opengeode-simulator
process_level_decl
.
append
(
'end record;'
)
process_level_decl
.
append
(
'{ctxt}: {ctxt}_Ty;'
.
format
(
ctxt
=
LPREFIX
))
process_level_decl
.
append
(
'CS_Only : constant Integer := {};'
.
format
(
len
(
process
.
transitions
)))
for
name
,
val
in
process
.
mapping
.
viewitems
():
...
...
@@ -550,7 +552,7 @@ package {process_name} is'''.format(process_name=process_name,
map
(
case_state
,
reduced_statelist
)
# XXX update C generator
taste_template
.
append
(
'when others =>'
)
taste_template
.
append
(
'
null
;'
)
taste_template
.
append
(
'
runTransition(CS_Only)
;'
)
taste_template
.
append
(
'end case;'
)
taste_template
.
append
(
u'end {};'
.
format
(
signame
))
taste_template
.
append
(
'
\n
'
)
...
...
@@ -765,6 +767,10 @@ package {process_name} is'''.format(process_name=process_name,
else
:
taste_template
.
append
(
'null;'
)
taste_template
.
append
(
'when CS_Only =>'
)
taste_template
.
append
(
'trId := -1;'
)
taste_template
.
append
(
'goto next_transition;'
)
taste_template
.
append
(
'when others =>'
)
taste_template
.
append
(
'null;'
)
...
...
opengeode/opengeode.py
View file @
577aa6da
...
...
@@ -134,7 +134,7 @@ except ImportError:
__all__
=
[
'opengeode'
,
'SDL_Scene'
,
'SDL_View'
,
'parse'
]
__version__
=
'1.5.
2
'
__version__
=
'1.5.
3
'
if
hasattr
(
sys
,
'frozen'
):
# Detect if we are running on Windows (py2exe-generated)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment