The Ansys Innovation Space website recently experienced a database corruption issue. While service has been restored there appears to have been some data loss from November 13. We are still investigating and apologize for any issues our users may have as a result.
Embedded Software

Embedded Software

Topics related to SCADE Suite, SCADE Display, SCADE One and more.

“Unexpected operator with clocked I/O” issue.

    • fdtsaid
      Subscriber
      In 2.2.6 Combining Reset and Clocks of Scade Language Primer, there is a code snippet as following:

      node nat() returns (s: int32)
      let
        s = 1 -> (1 + pre s);
      tel

      node rst_clk (clock rst:bool; clock h:bool) returns (s:int32; t: int32 when h)
      let
        s = (restart nat every rst)();
        t = (restart nat every rst)(() when h);
      tel

      But kcg complains that
      -- Unexpected operator with clocked I/O
      -- The output variable t cannot be clocked because operator rst_clk/ is not expanded

      How to understand the problem?
Viewing 0 reply threads
  • You must be logged in to reply to this topic.