microsoft / cheriot-ibex

cheriot-ibex is a RTL implementation of CHERIoT ISA based on LowRISC's Ibex core.
Apache License 2.0
73 stars 14 forks source link

Optional Tracing #26

Open HU90m opened 6 months ago

HU90m commented 6 months ago

I made these changes for the sonata system and thought they may be valuable upstream.

I've changes ibexc_top_tracing module to match ports and parameters of ibexc_top. I've also made it possible to leave RVFI unset, in which case ibexc_top_tracing is equivalent to ibexc_top.

This allows users to use ibexc_top_tracing as a drop in replacement for ibexc_top, with the tracing only enabled when RVFI is enabled so that the same system top can be used for simulation and synthesis.

HU90m commented 6 months ago

@microsoft-github-policy-service agree company="lowRISC"

HU90m commented 5 months ago

Thanks @marnovandermaas , just made the suggested changes

kliuMsft commented 5 months ago

Can we not change top-level ports for ibexc_top_tracing? I am trying to make it consistent with ibex_top_tracing. and it breaks my environment and cheriot-safe environment as well