Skip to content

Multiple assignments in C #15

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

Closed
mzau opened this issue Dec 3, 2021 · 2 comments
Closed

Multiple assignments in C #15

mzau opened this issue Dec 3, 2021 · 2 comments

Comments

@mzau
Copy link

mzau commented Dec 3, 2021

I'm not shure if mupltiple assignemnts in system verilog are defined, as:

  A = B = 5;

but ICSC compiles a C multiple assigment one to one into the system verilog output. If thats allowed in SV, at least Intel's Quartus 18.1 will not accept this.
Changing to

  A = 5;
  B = 5;

at the other hand is ok.

@mikhailmoiseev
Copy link
Contributor

Thank you for this issue. It has been fixed. Will commit the updated version near days.

@mikhailmoiseev
Copy link
Contributor

Fixed

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

No branches or pull requests

2 participants