efabless / caravel_user_project

https://caravel-user-project.readthedocs.io
Apache License 2.0
174 stars 326 forks source link

add the user_defines.v gpio defaults to the default includes to enable much faster simulation / testing #354

Open mattvenn opened 4 months ago

mattvenn commented 4 months ago

Normally a simulation will need to setup the gpio defaults, which takes a few hundred ms of simulation time (a few minutes of wallclock time). With the gpio defaults included, the simulation doesn't need to wait for the firmware to setup the gpios and can start the test immediately.

https://github.com/efabless/caravel_user_project/blob/d9ddc78b65db1d5f8c2871925cdec26bf95b5d53/verilog/includes/includes.rtl.caravel_user_project#L16