Skip to content

The segmentation fault is encountered when running the RTL simulation #2238

@zhangkanqi

Description

@zhangkanqi

Background Work

Chipyard Version and Hash

Release: 1.11.0
Hash: ac58f38

OS Setup

Linux hwfuzz 5.15.0-91-generic #101~20.04.1-Ubuntu SMP Thu Nov 16 14:22:28 UTC 2023 x86_64 GNU/Linux

Other Setup

verilator --version: Verilator 5.002 2022-10-29 rev v5.002

Current Behavior

After ran the following commands, i successfully got the executable binary simulator-chipyard.harness-SmallBoomConfig-debug.

(/home/zhangkanqi/chipyard/.conda-env) zhangkanqi@hwfuzz:~/chipyard/sims/verilator$ time make  debug CONFIG=SmallBoomConfig

However, when run simulator-chipyard.harness-SmallBoomConfig-debug, it report Segmentation fault.

(/home/zhangkanqi/chipyard/.conda-env) zhangkanqi@hwfuzz:~/chipyard/sims/verilator$ ./simulator-chipyard.harness-SmallBoomConfig-debug --help
Segmentation fault (core dumped)

Expected Behavior

When run ./simulator-chipyard.harness-SmallBoomConfig-debug --help, the help message is expected to be displayed.

Other Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions