Avalon Verification IP Suite: User Guide

ID 683439
Date 2/17/2022
Public
Document Table of Contents

16. Nios II Custom Instruction Master BFM

You can use Nios II Custom Instruction Master BFM to verify the following aspects of the Nios II custom instruction master interface:
  • Combinational and multicycle master custom instructions
  • Extended instructions
Figure 24. Custom Instructions Master BFM Block Diagram

The Nios II Custom Instruction Master BFM uses queues to manage instructions. You can use this BFM to manage instructions in the following ways:

  • You can create instructions and push them into the instruction queue. The BFM then removes the instructions out one-by-one and drives them on the interface.
  • You can insert the instructions simultaneously at the beginning of the simulation.
  • If there is no instruction to execute, the BFM drives unknown (X), except on the readra, readrb, and writerc control ports which are driven high.
  • The results are inserted into a result queue. You can remove the result on an event basis, or at the end of the simulation.