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

correction n W1 type and loading loops + a helper function for saving fixed_point data #31

Merged
merged 3 commits into from
Aug 20, 2020

Conversation

arkhodamoradi
Copy link
Contributor

The W1 type should be either ap_int<WIDTH> or ap_fixed<WIDTH, _I>.
The PE loop for loading W1 should be moved to outside.
The helper function can be used or discarded :)

added helper function. And fixed the inner loops for W1 and its type.
@giuliogamba
Copy link
Contributor

Hi @arkhodamoradi, the regression fails when executing the test_conv3.tcl test. I think there might be a problem with the datatype of the output (variable TEST)

@arkhodamoradi
Copy link
Contributor Author

Yes, I left the W1 type as ap_fixed but the gen_weight.py was not adjusted. I changed the W1 type to ap_uint and the unit test is successful.

@giuliogamba giuliogamba merged commit 6722f86 into Xilinx:master Aug 20, 2020
@giuliogamba giuliogamba mentioned this pull request Aug 20, 2020
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

Successfully merging this pull request may close these issues.

3 participants