esynr3z / corsair

Control and Status Register map generator for HDL projects
https://corsair.readthedocs.io
MIT License
96 stars 35 forks source link

Bugfix Verilog header template #67

Open benjjuk opened 2 weeks ago

benjjuk commented 2 weeks ago

The Verilog header generation was using the register address instead of the bitfield mask, meaning that the *_MASK constants were not usable.

Looks like this is the same bug as existed in the C header file generation a while ago (https://github.com/esynr3z/corsair/commit/907ad40a43ded049bd55e5a14e2adbefc2ec4005).