opentitan icon indicating copy to clipboard operation
opentitan copied to clipboard

Remove TB for rv_core_ibex

Open taoliug opened this issue 7 years ago • 6 comments

Right now there's a block level TB for rv_core_ibex: https://github.com/lowRISC/stwg-base/tree/master/hw/ip/rv_core_ibex/dv

This is created before ibex TB which is already open sourced: https://github.com/lowRISC/ibex/tree/master/dv/uvm

Since we expect to do all the processor verification work on ibex repo, it's kind of an overhead to maintain the TB for rv_core_ibex in STWG repo. The logic in rv_core_ibex wrapper is mainly protocol conversion between ibex proprietary memory interface to TileLink interface, which can be verified at SOC level.

File this bug to discuss whether everybody is OK to remove this TB to eliminate the maintaining overhead.

taoliug avatar Jul 09 '19 23:07 taoliug

  • @eunchan

Agree, TB for rv_core_ibex is not needed. Only missing piece that is is left unverified in rv_core_ibex is the interface conversion to TL. That should get functionally covered at chip level anyway. We can move the glue logic into a separate module and run formal on it, if required.

sriyerg avatar Jul 10 '19 00:07 sriyerg

Cool, if there's another "ok" vote and no objection, I will go ahead remove it.

taoliug avatar Jul 10 '19 18:07 taoliug

if we do go the formal route, should we ask the ibex designers to supply some properties on exactly how the req signals are coming out of ibex? Since top level testing is not meant to be super exhaustive, I can potentially see us missing bugs related to things like bursts and wrapping, or maybe even tightly coupled transactions (i know we don't have bursts, but just using it as an example if we ever migrate to a more capable core).

tjaychen avatar Jul 11 '19 22:07 tjaychen

I think this is a reasonable concern. I'd like to put this on hold and discuss it again after V2. We can decide whether to keep this environment before the November release. For the short term, I have asked Weicai to stop sanity regression for this environment to avoid day-to-day maintaining effort. There will be a one-time effort to bring this environment back to healthy if we decide to keep it later.

taoliug avatar Jul 12 '19 16:07 taoliug

I think we should go ahead and remove TB for rv_core_ibex. @taoliug, can you do a PR for this, and close this issue when it goes in? @tjaychen can you open a separate issue for your request to designers for more properties for FPV? Thanks.

aytong avatar Oct 31 '19 23:10 aytong

Closed through #746

imphil avatar Dec 07 '19 15:12 imphil