Commit 351f67a2 authored by Michael Günther Beyer's avatar Michael Günther Beyer
Browse files

Update Michael.emam

parent d015e74b
Pipeline #80176 passed with stage
in 3 minutes and 27 seconds
package lab;
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 {
outRangeRand = abs(inRangeMax - inRangeMin) * rand + inRangeMin;
the above caused some automatic build error(s), which were not shown in the Email...
so nothing I can really do about it right now, so I'll go with something simpler :-)
component Michael{
ports in Z loop,
out Z out1;
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