-
Notifications
You must be signed in to change notification settings - Fork 2
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
verilog serializer #5
Comments
depends on #6 |
I was thinking we could use jinja2 templates for HDL generating and thus greatly reduce development time and improve flexibility and shrink codebase. However all Jinja2 libraries for C++, which I have found, do have some problem. https://github.com/pantor/inja
https://github.com/flexferrum/Jinja2Cpp
https://github.com/hughperkins/Jinja2CppLight
Maybe I am just bad at searching but I did not find anything else and I can not fix Jinja2Cpp because they do not want to, I do not have time to fix Inja or implement Jinja2CppLight. So the template of the HDL feature (e.g. if statement) will be implemented in virtual method of the serializer. |
simple module serialization working https://github.com/HardwareIR/netlistDB/blob/4e366e5b4adbf3797e87691251ac0c630f3cfaef/tests/verilog_simple_modules_test.cpp What should work:
|
[done] this requires to put output stream reference to the serializer object properties and switch the output stream to new file if the new module is serialized |
No description provided.
The text was updated successfully, but these errors were encountered: