kuznia-rdzeni / coreblocks

RISC-V out-of-order core for education and research purposes
https://kuznia-rdzeni.github.io/coreblocks/
BSD 3-Clause "New" or "Revised" License
36 stars 14 forks source link

Use 'assign' in testbenchio #683

Closed xThaid closed 5 months ago

xThaid commented 5 months ago

By using assign instead of set_inputs we get all the shiny features that it offers, like support for array layouts, union layouts, strict checking.

It was surprisingly easy to replace set_inputs with assign - I didn't have to modify assign code nor modify any types.