Apb i2c project

I need to verify an rtl of a bridge which connects apb interface and i2c interface. Im stuck with the scoreboard. Im not able to configure how the scoreboard logic should be and what are all to be compared and checked…Kindly someone help me out with this please.

In reply to Muthamizh:

Hi Muthamizh,

To be precise, we will need more information on the bride however, if you have the specs on what kind of apb/i2c transactions will be flowing through this bridge and how this bridge will convert the transactions, a simple per transactional scoreboard can be used. you will need to model following

  1. expect queue of transactions on the apb side.
  2. expect queue of transactions on the i2c side.
  3. golden model of the RTL which converts apb transactions into i2c and vice versa.
  4. any state information of the RTL ( configurations, ties, constants etc ).
  5. analysis ports to receive apb and i2c txns sent to bride and received from bridge.
  • From your apb and i2c agents, connect the monitor analysis ports to scoreboard.
  • whenever a new transaction comes in ( apb/i2c ) , predict the output on the other side or same side.
  • Whenever bridge sends out the txn (apb/i2c) check in the expect queue if you were expecting this txn. You can model strict ordering vs/loose ordering. Queues have ordering inherent to them.
  • You can add more complex stuff, however this is the framework I will go with.

-Order from chaos!!

In reply to letheverifguy:
Thank you so much… What you said was very useful.Will try to implement in the way u said.

In reply to Muthamizh:

Now i am trying to create an environment connecting APB and I2C VIPs. But there are many errors in taking up the proper files. Am struggling to debug them. Could someone help me out with this please?