StanfordVLSI / dragonphy2

Open Source PHY v2
Apache License 2.0
22 stars 2 forks source link

Add option for building the emulator with floating-point support #112

Closed sgherbst closed 4 years ago

sgherbst commented 4 years ago

Summary

This PR adds an option for emulating the design using a floating-point representation (Berkeley HardFloat) instead of a fixed-point representation, making use of new features in msdsl and svreal. With this update, I was able to gather a key piece of data regarding floating- vs. fixed-point: for the high-level emulator architecture on the ZC706 board, the emulator is about 17x slower when using floating-point as compared to fixed-point. This is for two reasons:

Details