Problems with a simple floating point adder overlay on PYNQZ-2

As you noticed, MMIO doesn’t support float. You need to manually ‘pack’ your float into something that can be written to the IP, and do the reverse if you need to read back the result.

You can use these types of techniques:
https://stackoverflow.com/questions/23624212/how-to-convert-a-float-into-hex

Cathal

1 Like