In this tutorial, we will verify the Switch RTL core using OVM in SystemVerilog. Following are the steps we follow to verify the Switch RTL core.
1) Understand the specification
2) Developing Verification Plan
3) Building the Verification Environment. We will build the Environment in Multiple phases, so it will be easy for you to lean step by step.
In this verification environment, I will not use agents and monitors to make this tutorial simple and easy.
Phase 1) We will develop the interfaces, and connect it to DUT in top module.
Phase 2) We will develop the Configuration class.
Phase 3) We will develop the Environment class and Simple testcase and simulate them.
Phase 4) We will develop packet class based on the stimulus plan. We will also write a small code to test the packet class implementation.
Phase 5) We will develop sequencer and a sample sequences.
Phase 6) We will develop driver and connect it to the Sequencer in to environment.
Phase 7) We will develop receiver and instantiate in environment.
Phase 8) We will develop scoreboard which does the comparison of the expected packet with the actual packet received from the DUT and connect it to driver and receiver in Environment class.
I would like to thank to Vishnu Prashant(Vitesse) for teaching me OVM.