To answer does-it-work and are-we-done questions, we need more than just drivers and monitors. We need to collect coverage information to answer arewe- done questions; we need a reference model and a mechanism to compare the function of the reference model to answer does-it-work questions; and we need a control mechanism to shut down the testbench at the appropriate time. Finally, we need some adapters and connectors to put the whole thing together.
This and subsequent chapters illustrate testbench construction techniques using a floating point unit (FPU) design. This design accepts a pair of floating point operands and an operator, and computes the result. This section presents an example that uses the transaction-level FPU to illustrate the construction of an OVM coverage collector. The figure below shows the organization of the example.
KeywordsCoverage Threshold Sequence Item Function Void Analysis Port Floating Point Unit
Unable to display preview. Download preview PDF.