UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Visitor ntender
Visitor
355 Views
Registered: ‎09-05-2018

error message during hw_emu simulation when using XPM in design

Hi,

I am trying to simulate my design in hw_emu mode, but when I run the executable I get the error message below.  I only started getting this message when I added a XPM memory macro to my design.  Previously I was using an inferred memory and everything worked great.  But when I replaced the inferred memory with the XPM memory, I ran into this problem.  I would prefer to use the XPM memory if possible.  The code stub for the instantiation of my memory is also below. 

I am running SDAccel version 2018.2.  Please let me know if you need any additional information.

Thanks, Neil

 

XCL_EMULATION_MODE=hw_emu ./host
Found Platform
Platform Name: Xilinx
XCLBIN File Name: mydesign
INFO: Importing xclbin/mydesign.hw_emu.xilinx_vcu1525_dynamic_5_1.xclbin
Loading: 'xclbin/mydesign.hw_emu.xilinx_vcu1525_dynamic_5_1.xclbin'
[libprotobuf ERROR google/protobuf/message_lite.cc:121] Can't parse message of type "response_packet_info" because it is missing required fields: size
INFO: [SDx-EM 01] Hardware emulation runs simulation underneath. Using a large data set will result in long simulation times. It is recommended that a small dataset is used for faster execution. This flow does not use cycle accurate models and hence the performance data generated is approximate.
../common//utility/check.mk:60: recipe for target 'check_hw_emu_xilinx_vcu1525_dynamic_5_1_check' failed
make: *** [check_hw_emu_xilinx_vcu1525_dynamic_5_1_check] Error 141

 

 

   // Instantiate RAM
   xpm_memory_sdpram #(
     .ADDR_WIDTH_A            ( ADDRESS_WIDTH       ),
     .ADDR_WIDTH_B            ( ADDRESS_WIDTH       ),
     .AUTO_SLEEP_TIME         ( 0                   ),
     .BYTE_WRITE_WIDTH_A      ( DATA_WIDTH          ),
     .CLOCKING_MODE           ( "independent_clock" ),
     .ECC_MODE                ( "no_ecc"            ),
     .MEMORY_INIT_FILE        ( "none"              ),
     .MEMORY_INIT_PARAM       ( ""                  ),
     .MEMORY_OPTIMIZATION     ( "true"              ),            
     .MEMORY_PRIMITIVE        ( "block"             ),
     .MEMORY_SIZE             ( 2**ADDRESS_WIDTH    ),
     .MESSAGE_CONTROL         ( 0                   ),
     .READ_DATA_WIDTH_B       ( DATA_WIDTH          ),
     .READ_LATENCY_B          ( 1                   ),
     .READ_RESET_VALUE_B      ( "0"                 ),
     .USE_EMBEDDED_CONSTRAINT ( 0                   ),
     .USE_MEM_INIT            ( 1                   ),
     .WAKEUP_TIME             ( "disable_sleep"     ),
     .WRITE_DATA_WIDTH_A      ( DATA_WIDTH          ),
     .WRITE_MODE_B            ( "no_change"         )
   )
   input_channel_buffer_ram_inst (   
     .dbiterrb            (             ),
     .doutb               ( ram_dob     ),
     .sbiterrb            (             ),
     .addra               ( src_addr_i  ),
     .addrb               ( ram_addrb   ),
     .clka                ( io_clk_i    ),
     .clkb                ( io_clk_i    ),
     .dina                ( src_data_i  ),
     .ena                 ( 1'b1        ),
     .enb                 ( 1'b1        ),
     .injectdbiterra      ( 1'b0        ),
     .injectsbiterra      ( 1'b0        ),
     .regceb              ( 1'b1        ),
     .rstb                ( io_rst_i    ),
     .sleep               ( 1'b0        ),
     .wea                 ( src_we_i    )
   );

 

0 Kudos
1 Reply
Moderator
Moderator
291 Views
Registered: ‎11-04-2010

Re: error message during hw_emu simulation when using XPM in design

Hi, @ntender ,

Could you provide RTL kernel's xo file and host code to reproduce the design?

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos