# apb_scoreboard

This OVM component accepts OVM transactions from its analysis export and VMM transactions from a vmm_channel passed in as a constructor argument. When a OVM/VMM transaction pair are received, the VMM transaction is converted and compared to the OVM transaction. The result is then displayed.

Summary

apb_scoreboard
This OVM component accepts OVM transactions from its analysis export and VMM transactions from a vmm_channel passed in as a constructor argument.
Methods |
new | Creates a new instance of the apb_scoreboard.
run | Continually fetches OVM-VMM transaction pairs and compares them.
report | Reports the number of matches and mismatches seen.
flush | This method resets the match and mismatch counts and flushes the internal transaction buffers.

### Methods

### new

> function new( |  | string | name | = | "apb_scoreboard",
> |  | ovm_component | parent | = | null,
> | vmm_channel_typed | #(vmm_apb_rw) | vmm_fifo | = | null,
> |  | bit | always_pull | = | 0 | )

Creates a new instance of the apb_scoreboard. If the vmm_fifo argument is null, a default vmm_channel instance is created.

### run

> virtual task run()

Continually fetches OVM-VMM transaction pairs and compares them. The OVM and VMM transaction streams come from independent sources.

### report

> virtual function void report()

Reports the number of matches and mismatches seen.

### flush

> virtual function void flush()

This method resets the match and mismatch counts and flushes the internal transaction buffers.

> function new( |  | string | name | = | "apb_scoreboard",
> |  | ovm_component | parent | = | null,
> | vmm_channel_typed | #(vmm_apb_rw) | vmm_fifo | = | null,
> |  | bit | always_pull | = | 0 | )

Creates a new instance of the apb_scoreboard.

> virtual task run()

Continually fetches OVM-VMM transaction pairs and compares them.

> virtual function void report()

Reports the number of matches and mismatches seen.

> virtual function void flush()

This method resets the match and mismatch counts and flushes the internal transaction buffers.