Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

a-rate signals leak to instant control structures #2

Open
anton-k opened this issue Aug 8, 2013 · 0 comments
Open

a-rate signals leak to instant control structures #2

anton-k opened this issue Aug 8, 2013 · 0 comments
Labels

Comments

@anton-k
Copy link
Contributor

anton-k commented Aug 8, 2013

In the instant control stractures we can not use a-rates. So we force all the components to become k-rate. But conversion is pure and can be placed anywhere (in theory). but in practice it have to be placed before instant controls like:

if (smth happens) then
  ...
else
 ...
endif

Sometimes in the generated code a2k-rate conversions leak in the branches.

if (smth happens) then
  ...
  kr11 = ar12
  ....
else
 ...
endif

They should be rendered before the if-statement

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant