Description
# ERROR: 53584 ns Shared memory data miscompare at address: 00010404
# ERROR: 53584 ns Expected Data: 01
# ERROR: 53584 ns Actual Data: 00
# ERROR: 53584 ns
# ERROR: 53584 ns Shared Memory Data Display:
# ERROR: 53584 ns Address Data
# ERROR: 53584 ns ------- ----
# ERROR: 53584 ns 00010400 00000000 00000000 00000000 00000000 <===
# ERROR: 53584 ns 00010410 00000000 00000000 00000000 00000000
# ERROR: 53584 ns 00010420 00000000 00000000 00000000 00000000
# ERROR: 53584 ns 00010430 00000000 00000000 00000000 00000000
# FATAL: 53584 ns Stopping simulation due to miscompare
# FAILURE: Simulation stopped due to Fatal error!
# FAILURE: Simulation stopped due to error!
# ERROR: 53584 ns Expected Data: 01
# ERROR: 53584 ns Actual Data: 00
# ERROR: 53584 ns
# ERROR: 53584 ns Shared Memory Data Display:
# ERROR: 53584 ns Address Data
# ERROR: 53584 ns ------- ----
# ERROR: 53584 ns 00010400 00000000 00000000 00000000 00000000 <===
# ERROR: 53584 ns 00010410 00000000 00000000 00000000 00000000
# ERROR: 53584 ns 00010420 00000000 00000000 00000000 00000000
# ERROR: 53584 ns 00010430 00000000 00000000 00000000 00000000
# FATAL: 53584 ns Stopping simulation due to miscompare
# FAILURE: Simulation stopped due to Fatal error!
# FAILURE: Simulation stopped due to error!
Resolution
This is due to the PCI Express® Hard IP core was setting to Single DWord Completer mode with \'Single DW Completer\' option is checked.
To simulate in Single DWord Completer mode, user need to open the driver file: altpcietb_bfm_driver_avmm.v and edit to:
parameter RUN_TGT_MEM_TST = 1;
parameter RUN_DMA_MEM_TST = 0;
parameter AVALON_MM_LITE = 1;