Altera RapidIO II MegaCore Function Bedienungsanleitung Seite 199

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 218
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 198
Chapter 7: Testbench 7–5
Testbench Sequence
August 2014 Altera Corporation RapidIO II MegaCore Function
User Guide
Maintenance Write and Read Transactions
If the Maintenance module is present, the testbench sends a few
MAINTENANCE read
and
write request
packets from the DUT to the sister_rio module. Transactions are
initiated by Avalon-MM transactions on the DUT's Maintenance Avalon-MM slave
interface, and are checked on the sister_rio’s Maintenance Avalon-MM master
interface.
The first set of tests performed are
MAINTENANCE write
and
read requests
. The DUT
sends two
MAINTENANCE write requests
to the sister_rio module. The testbench
performs the writes by running the
mnt_test_rw_trans
task with the following
parameter values:
‘WRITE
—transaction type to be executed
mnt_address
—address to be driven on the Avalon-MM address bus
mnt_wr_data
—write data to be driven on the Avalon-MM write data bus
The task performs the write transaction across the Maintenance Write Avalon-MM
slave interface.
The DUT then sends two
MAINTENANCE
read requests
to the sister_rio module. The
testbench performs the writes by running the
mnt_test_rw_trans
task with the
following parameter values:
‘READ
— transaction type to be executed
mnt_address
—address to be driven on the Avalon-MM address bus
mnt_rd_data
—parameter that stores the data read across the Avalon-MM read
data bus
The
mnt_test_rw_trans
task performs the read transaction across the Maintenance
Read Avalon-MM slave interface.
The write transaction the testbench sends across the Avalon-MM interface is
translated by the DUT to a RapidIO
MAINTENANCE
write request
packet. Similarly, the
read transaction across the Avalon-MM interface is translated to a RapidIO
MAINTENANCE
read request
packet.
The
MAINTENANCE
write
and
read request
packets are received by the sister_rio
module and translated to Avalon-MM transactions that are presented across the
sister_rio module’s Maintenance master Avalon-MM interface. In the testbench, the
write and read transactions are checked and data is returned for the read operation.
The read data is checked after it is received by the DUT.
Seitenansicht 198
1 2 ... 194 195 196 197 198 199 200 201 202 203 204 ... 217 218

Kommentare zu diesen Handbüchern

Keine Kommentare