StanfordVLSI / dragonphy2

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

Get better BER agreement between simulation and emulation #113

Closed sgherbst closed 3 years ago

sgherbst commented 4 years ago

Summary

The main goal of this PR is to get simulation and emulation BER estimates to match better. With the updates included here, the estimates are now match to within 7.5% or better at BER levels ranging from 1e-2 to 1e-4. For BERs between 1e-5 and 1e-6, I have looked at the low-level and high-level emulators and found that they match to within the same tolerance.

This PR is large mainly because it includes a lot a experimental code and results in the experiments folder. Might be interesting to think about if there is a better home for that code. I do like keeping experiments under revision control, though, because it makes it easier to replicate results.

Details

There are several key updates to improve BER matching, both to the emulator implementations and the simulation baseline itself:

More details follow as comments in the code. It may be more convenient to view them by clicking on the "Files changed" tab, so that you can see the comments in context.