Altera Arria 10 Avalon-MM Bedienungsanleitung Seite 178

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 212
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 177
Location altpcietb_bfm_driver_rp.v
Arguments
bus_num
PCI Express bus number of the target device.
dev_num
PCI Express device number of the target device.
fnc_num
Function number in the target device to be accessed.
regb_ad
Byte-specific address of the register to be written.
regb_ln
Length, in bytes, of the data read. Maximum length is four
bytes. The regb_ln and the regb_ad arguments cannot cross a
DWORD boundary.
lcladdr
BFM shared memory address of where the read data should be
placed.
compl_status
Completion status for the configuration transaction.
This argument is reg [2:0].
In both languages, this is the completion status as specified in
the PCI Express specification. The following encodings are
defined.
3’b000: SC— Successful completion
3’b001: UR— Unsupported Request
3’b010: CRS — Configuration Request Retry Status
3’b100: CA — Completer Abort
ebfm_cfgrd_nowt Procedure
The ebfm_cfgrd_nowt procedure reads up to four bytes of data from the specified configuration register
and stores the data in the BFM shared memory. This procedure returns as soon as the VC interface
module has accepted the transaction, allowing other reads to be issued in the interim. Use this procedure
only when successful completion status is expected and a subsequent read or write with a wait can be used
to guarantee the completion of this operation.
Location altpcietb_bfm_driver_rp.v
Syntax ebfm_cfgrd_nowt(bus_num, dev_num, fnc_num, regb_ad, regb_ln, lcladdr)
14-28
ebfm_cfgrd_nowt Procedure
UG-01145_avmm
2015.05.14
Altera Corporation
Avalon-MM Testbench and Design Example
Send Feedback
Seitenansicht 177
1 2 ... 173 174 175 176 177 178 179 180 181 182 183 ... 211 212

Kommentare zu diesen Handbüchern

Keine Kommentare