Understanding simulation log file generation, Running a gate-level simulation, Simulating the single dword design – Altera Arria 10 Avalon-MM User Manual

Page 23: Understanding simulation log file generation -5, Running a gate-level simulation -5, Simulating the single dword design -5

Advertising
background image


Related Information

Simulating Altera Designs

Understanding Simulation Log File Generation

Starting with the Quartus II 14.0 software release, simulation automatically creates a log file,

altpcie_

monitor_<dev>_dlhip_tlp_file_log.log

in your simulation directory.

Table 2-2: Sample Simulation Log File Entries

Time

TLP Type

Payload

(Bytes)

TLP Header

17989 RX

CfgRd0

0004

04000001_0000000F_01080008

17989 RX

MRd

0000

00000000_00000000_01080000

18021 RX

CfgRd0

0004

04000001_0000010F_0108002C

18053 RX

CfgRd0

0004

04000001_0000030F_0108003C

18085 RX

MRd

0000

00000000_00000000_0108000C

Running a Gate-Level Simulation

The PCI Express testbenches run simulations at the register transfer level (RTL). However, it is possible to

create you own gate-level simulations. Contact your Altera Sales Representative for instructions and an

example that illustrate how to create a gate-level simulation from the RTL testbench.

Simulating the Single DWord Design

You can use the same testbench to simulate the Completer-Only Single Dword IP core by changing the

settings in the driver file.
1. In a terminal window, change to the

<variant>_tb/<variant>_tb/altera_pcie_a10_tbed_140/sim/

directory.

2. Open altpcietb_bfm_driver_avmm.v in your text editor.

3. To enable target memory tests and specify the completer-only single dword variant, specify the

following parameters:
a.

parameter RUN_TGT_MEM_TST = 1;

b.

parameter RUN_DMA_MEM_TST = 0;

c.

parameter AVALON_MM_LITE = 1;

4. Change to the

<variant>_tb/<variant>_tb/sim/mentor

directory.

5. Start the ModelSim simulator.

6. To run the simulation, type the following commands in a terminal window:

UG-01145_avmm

2015.05.14

Understanding Simulation Log File Generation

2-5

Getting Started with the Avalon‑MM Arria 10 Hard IP for PCI Express

Altera Corporation

Send Feedback

Advertising