bitstream is not a multiple of 4
Bug Summary
When running ocpirun
, at the point where the relevant bitz
file attempts to load, I get the error "bitstream is not a multiple of 4".
Workaround
Instead of letting ocpirun
or the ACI load the bitstream, preload it with ocpihdl load
.
This avoids the issue, 100% of the time.
Steps to reproduce
I've only ever seen this with one bitstream. It was for an E310.
Unable to create reproduction at this time.
Environment info
- OpenCPI Version used: release-v2.4.6
- Operating System and version: CentOS 7
Possible fixes (Optional)
The error message comes from HdlBusDriver, line 392.
It looks like the multiple of 4 requirement might be coming from gzip? Or the bit-to-bin conversion? I can't really work out why.
Edited by Dom