Git Product home page Git Product logo

Comments (3)

sylefeb avatar sylefeb commented on June 11, 2024

Thanks for the report! This was a missing check in implementing the revised pipelines. This now correctly reports an error message and a changelog warning.

The error is due to changes in pipeline syntax (see CL0003 for details). To avoid this rewrite from

while (1) {

  { A } -> { B } -> { C }

  if (...) { break; }

}

to

while (1) {

  { A -> B -> C }

  if (...) { break; }

}

That is because the -> operator, which divides the design into stages, now has a lower priority than the blocks.

There have been other changes to pipelines, in particular those in algorithm blocks (the documentation is up to date), so you may want to adjust your design a bit to be closer to the prior behavior. For your use case I'd recommend changing from

algorithm main(output uint8 leds)
{
  always_after { A }
  while (1) {
    { S0 } ->  { S1 } ->  { S2 }
    if (...) { break; }
  }
}

to

unit main(output uint8 leds)
{
  always {
    { S0 -> S1 -> S2 }
    if (...) { __finish(); /*simulation only*/ }
    A
  }
}

This should be equivalent to the prior version.

Hope that helps!
Best regards -

from silice.

sylefeb avatar sylefeb commented on June 11, 2024

(Closing as solved for now, please let me know if the problem persists)

from silice.

tommythorn avatar tommythorn commented on June 11, 2024

Sorry. Thank you for the fix which solved the crash I experienced. However the resulting design didn't work as expected and I timed out understanding why and failed to update the github issue.

from silice.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.