Reference model

In reply to dave_59:

In reply to JH_Engineer:
A reference model is an executable specification - a golden model that predicts the correct results from the provided stimulus. How one implements a reference model is as varied the way specifications are written as well as each design.
Sometimes you are re-doing a design to fit on a smaller part. The reference model could be the previous design.
Many designs implement mathematical algorithms implemented in MatLAb or similar environments. They can generate C code to be used as a reference model.
This is a really big topic, so it’s difficult to explain in this forum.

Hi Dave,

In the industry most of the reference models are written in C.
Why is this c-based reference models ubiquitous?
Also, could we write them using SV? In this case we need not use DPIs.

Thank you,

Regards,
Muneeb