Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
monticore
EmbeddedMontiArc
generators
EMAM2Middleware
Commits
07ae210a
Commit
07ae210a
authored
Oct 22, 2018
by
Michael Günther Beyer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Michael.emam
parent
53bedb68
Pipeline
#80168
failed with stage
in 1 minute and 27 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
7 deletions
+11
-7
src/test/resources/lab/Michael.emam
src/test/resources/lab/Michael.emam
+11
-7
No files found.
src/test/resources/lab/Michael.emam
View file @
07ae210a
package
lab
;
component
Michael
{
ports
in
Z
loop
,
out
Z
out1
;
/*
in
:
two
int
numbers
,
range
0..99
out
:
random
number
in
the
given
range
of
"in"
*/
component
Michael
{
ports
in
(
0
:
1
:
99
)
inRangeMin
,
in
(
0
:
1
:
99
)
inRangeMax
,
out
(
0
:
1
:
99
)
outRangeRand
;
implementation
Math
{
out
1
=
loop
;
implementation
Math
{
out
RangeRand
=
abs
(
inRangeMax
-
inRangeMin
)
*
rand
+
inRangeMin
;
}
}
\ No newline at end of file
}
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