-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
proper brace resolution alg. (nice output for toVhdl/toVerilog) #51
Comments
implemented in https://github.com/Nic30/hwt/blob/master/hwt/serializer/generic/serializer.py#L272 This will brings:
|
Has this extraction to a separate library progressed? |
Yes, I did finish it, however I did not pushed it yet. |
There is an algorithm which prints braces in expression only if they are truly required, based on operator precedence.
https://github.com/HardwareIR/netlistDB/blob/master/src/serializer/serializer.cpp#L56
Need an equivalent for toVhdl/toVerilog for output to look nice.
The text was updated successfully, but these errors were encountered: