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

MachXO3D fuzzers #219

Merged
merged 11 commits into from
Aug 18, 2023
Merged

MachXO3D fuzzers #219

merged 11 commits into from
Aug 18, 2023

Conversation

mmicko
Copy link
Member

@mmicko mmicko commented May 2, 2023

Add fuzzers for MachXO3D based on those from MachXO3

@mmicko mmicko requested a review from gatecat May 2, 2023 14:05
@mmicko
Copy link
Member Author

mmicko commented May 25, 2023

This is now ready to be reviewed, and feature supported are same as on MachXO3

@@ -147,7 +151,7 @@ class BitstreamReadWriter {

// Decompress and copy multiple bytes into an OutputIterator and update CRC
template<typename T>
void get_compressed_bytes(T out, size_t count, array<uint8_t, 8> compression_dict) {
void get_compressed_bytes(T out, size_t count, array<uint8_t, 16> compression_dict) {
Copy link
Member

@gatecat gatecat Aug 18, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this all looks nicely done, but for peace of mind can you double check a compressed bitstream still works on an ecp5 with these changes?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did this while working on PR, but will do it again.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checked right with couple of bitstreams now on ULX3S board, all fine.

@mmicko
Copy link
Member Author

mmicko commented Aug 18, 2023

Have resolved issue with conflicting database now, so it is ready for merge

@gatecat gatecat merged commit 53beef4 into master Aug 18, 2023
0 of 2 checks passed
@gatecat gatecat deleted the machxo3d branch August 18, 2023 07:38
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.

2 participants