-
Notifications
You must be signed in to change notification settings - Fork 27
Vector FIR RTL #243
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
Vector FIR RTL #243
Conversation
…duceRTL to allow translation.
This is the generated SV for the changes: or vs | (reduce_add and reduce_mul are similar): Indexing issue: |
Thanks for the fix.
I believe your generated SV code verify this?
Can you try |
Same hw. ^^ |
Looking at MeshMultiCgraRTL_test.py, the CGRA RTL is different between test_fir_vector_global_reduce and test_fir_scalar, since the former redefines some variables in its elif test_name == 'test_fir_vector_global_reduce': clause.
I tried adding a new function to translate the Vector FIR test into SV, but I was getting failures. The first one seemed to be a simple PyMTL "or" vs "|" for RTL purposes.
The second one is an issue with vector indexing. I found a fix that lets the code translate to SV, but I am not sure if the new version's functionality matches that of the old one. (Missing s.temp_result[i] @= TempDataType(0).)
This low:high indexing is not overlapping in Python due to the upper bound being exclusive, right?
Also, we might want to use //= instead of connect, but, IIUC, they are interchangeable.