
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.
Parameters
Table 14-1: Custom Instruction Master BFM Parameter Settings
DescriptionLegal ValuesDefault
Value
Option
General
Specifies the number of operands to use.
• 0: no operands are used
• 1: use dataa port only
• 2: use dataa and datab ports
0,1,22Number of Operands to Use
Specifies the fixed length for multi-cycle mode.N/A2Fixed Length for Multi-cycle
Mode
Port Enables
When On, the interface includes a result pin.On/OffOnUse Result Port
When On, the interface can include a start pin, a done
pin , both pins, or neither pins. The result returns in
any of the following conditions:
• With a start signal—Result returns together with
an instruction.
• Without a start signal—Result returns with
instruction on the bus at every clock cycle.
• With a done signal—Result returns at any time.
• Without a done signal—Result returns at a fixed
cycle.
On/OffOffUse Multi-cycle Mode
When On, the interface includes a start pin.On/OffOnUsing start port
When On, the interface includes a done pin.On/OffOnUsing done port
When On, the interface includes a n pin.On/OffOffUse Extended Port
Specifies the width of the extended n port.N/A1Extended Port Width
When On, the interface includes the readra and a pins.On/OffOffUse Internal Register a
Nios II Custom Instruction Master BFM
Altera Corporation
Send Feedback
Parameters
14-2
Kommentare zu diesen Handbüchern