Altera Arria 10 Avalon-ST Manual do Utilizador Página 257

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 275
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 256
Related Information
BFM Log and Message Procedures on page 17-42
Setting Up Simulation
Changing the simulation parameters reduces simulation time and provides greater visibility.
Changing Between Serial and PIPE Simulation
By default, the Altera testbench runs a serial simulation. You can change between serial and PIPE
simulation by editing the top-level testbench file.
The serial_sim_hwtcl and enable_pipe32_phyip_ser_driver_hwtcl parameters control whether
simulation is in serial mode or PIPE simulation mode. The parameters are defined in the top-level
testbench, <working_dir>/ep_g1x8_tb/ep_g1x8_tb/sim/ep_g1x8_tb.v.
Table 17-22: Controlling Serial and PIPE Simulations
Data Rates
Parameter Settings
serial_sim_hwtcl enable_pipe32_phyip_ser_driver_hwtcl
Serial simulation 1 0
PIPE simulation 0 1
Using the PIPE Interface for Gen1 and Gen2 Variants
Running the simulation in PIPE mode reduces simulation time and provides greater visibility.
Complete the following steps to simulate using the PIPE interface:
1. Change to your simulation directory, <work_dir>/<variant>/testbench/<variant>_tb/simulation
2. Open <variant>_tb.v.
3. Search for the string, serial_sim_hwtcl. Set the value of this parameter to 0 if it is 1.
4. Save <variant>_tb.v.
Viewing the Important PIPE Interface Signals
You can view the most important PIPE interface signals, txdata, txdatak, rxdata, and rxdatak at the
following level of the design hierarchy: altpcie_<device>_hip_pipen1b|
twentynm_hssi_<gen>_<lanes>_pcie_hip.
Disabling the Scrambler for Gen1 and Gen2 Simulations
The encoding scheme implemented by the scrambler applies a binary polynomial to the data stream to
ensure enough data transitions between 0 and 1 to prevent clock drift. The data is decoded at the other
end of the link by running the inverse polynomial.
UG-01145_avst
2015.05.04
Setting Up Simulation
17-57
Testbench and Design Example
Altera Corporation
Send Feedback
Vista de página 256
1 2 ... 252 253 254 255 256 257 258 259 260 261 262 ... 274 275

Comentários a estes Manuais

Sem comentários