aws / aws/aws-fpga

C_TEST not working

Open
#781 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
SystemVerilog
Stars
1.7k
Forks
538
PR merge metrics
No merged PRs in 30d

Description

In the cl_dram_hbm_dma I am trying to run the cosimulation by itself so I run:
make all C_TEST=test_dram_dma_hwsw_cosim TEST=test_null.
it would error saying the file doesn't exist so I copy it into the source folder.

When I run it again I get the following error:

xsim.dir/tb/xsimk: symbol lookup error: ./xsim.dir/work/xsc/dpi.so: undefined symbol: init_ddr

Command failed: Simulator command interrupted.

I can not firgure out why this is the case. Help will be much appreciated.

Contributor guide

Open the contributing guide

Research direction

Start with the cl_dram_hbm_dma make invocation and the source-folder copy mentioned in the report. Trace how C_TEST=test_dram_dma_hwsw_cosim builds xsim.dir/work/xsc/dpi.so, then inspect whether the library inputs provide init_ddr. Done means the standalone cosimulation runs without the undefined-symbol error.

Written by the indexing model from the issue text.

Assessment

Domain
testing, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.