Altera SerialLite II IP Core Instrukcja Użytkownika Strona 97

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 110
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 96
Chapter 5: Testbench 5–11
Testbench Components Description
January 2014 Altera Corporation SerialLite II MegaCore Function
User Guide
If the
iptg
task is called, idle cycles are inserted between write operations. The
probability of idles between write cycles decreases with larger values of
prob
.
verbose(bit_value)
The
verbose
task enables or disables the display of AGEN verbose messages.
corrupt_sop
The
corrupt_sop
task corrupts the start of packet (SOP) of the next packet. When
called, it waits for the SOP and corrupts it (makes SOP==0). All the subsequent
packets are not corrupted.
corrupt_eop
The
corrupt_eop
task corrupts the end of packet (EOP) of the next packet. When
called, it waits for the EOP and corrupts it (makes EOP==0). All the subsequent
packets are not corrupted.
AGEN Parameters
The MegaWizard Plug-In Manager sets these parameters based on the selected
configuration, and the parameters are fixed for a given SerialLite II configuration.
1 These parameters are documented for reference purposes only. Do not modify them.
PRIORITY
Table 5–3. iptg Task Field Description
Field Location
in Task
Field Valid Values Description
1
prob
0 to 0xFFFF_FFFF
(integer)
The
prob
field sets the probability of a transaction gap. The
probability decreases with a larger value of
prob
.
Before each transaction, a random number between 0 and
prob
is generated and compared to
prob/2
. If they match,
a random gap is inserted; if not, no gap is inserted.
2
min
0 to 0xFFFF_FFFF
(cycles)
The
min
field sets the minimum value, in Atlantic clock
cycles, for a random gap between AGEN write transactions.
3
max
0 to 0xFFFF_FFFF
(cycles)
The
max
field sets the maximum value, in Atlantic clock
cycles, for a random gap between AGEN write transactions.
A
max
field greater than or equal to the
min
field is required.
When
max==min
, no gap occurs.
Table 5–4. verbose Task Field Description
Field Location
in Task
Field Valid Values Description
1
bit_value
1'b0 or 1'b1
Setting
bit_value
to 1, enables the display of verbose
messages.
Setting
bit_value
to 0, disables the display of verbose
messages (default).
Przeglądanie stron 96
1 2 ... 92 93 94 95 96 97 98 99 100 101 102 ... 109 110

Komentarze do niniejszej Instrukcji

Brak uwag