TAGGED: scade
-
-
November 22, 2024 at 9:44 pmfdtsaidSubscriberIn
chapter 2.1.6 Operator instantiation
ofScade Primer
, there is a scade program as follows:const max: uint64 = 10;node sigma (e:uint64) returns (sum:uint64)letsum = 0 -> e + pre sum;telnode sample() returns (s:uint64)lets = (restart sigma every (pre s > max))(count());telIn lines = (restart sigma every (pre s > max)) (count());Shouldpre s > max
betrue -> (pre s > max)
? Because "the reset condition of restart-every cannot be delayed".
-
Viewing 0 reply threads
- You must be logged in to reply to this topic.
Ansys Innovation Space
Trending discussions
Top Contributors
-
1091
-
447
-
396
-
225
-
201
Top Rated Tags
© 2024 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.