Altera SerialLite II IP Core Instrukcja Użytkownika Strona 100

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 110
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 99
5–14 Chapter 5: Testbench
Testbench Components Description
SerialLite II MegaCore Function January 2014 Altera Corporation
User Guide
This task enables or disables the missing SOP and EOP checking.
gap(prob[31:0],min[31:0],max[31:0])
If this task is called,
amon
read operations may have some gaps between them. The
probability of gaps between read cycles decreases with larger values of
prob
.
verbose (bit_value)
This task enables or disables the display of verbose messages.
AMON 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.
Table 5–8. mp_checking 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 missing SOP or EOP checking
(default).
Setting bit_value to 0, disables the missing SOP or EOP checking.
Table 5–9. read_transaction_gap Task Field Description
Field
Location in
Task
Field Valid Values Description
1
prob
0 to 0xFFFF_FFFF
(integer)
The
prob
field sets the probability for a read transaction gap to
happen. Probability decreases with a larger value of
prob
.
Before each read transaction a random number between 0 and
prob
is generated and compared to
prob/2.
If they match, a
random gap is inserted in the read operation (
ena
goes low); 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
AMON
read transactions.
3
max
0 to 0xFFFF_FFFF
(cycles)
The
max
field sets the maximum value, in Atlantic clock cycles,
for a random gap between
AMON
read transactions.
A
max
field greater than or equal to the
min
field is required.
When
max==min
, no gap occurs.
Table 5–10. 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 99
1 2 ... 95 96 97 98 99 100 101 102 103 104 105 ... 109 110

Komentarze do niniejszej Instrukcji

Brak uwag