You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use verilator to compile the code, I can see gcd module in device tree.
I can access the SOC , can run easy binary such as helloworld, but fail to run GCD progam(segmentation fault).
Expected Behavior
Successful access the GCD module .
Other Information
No response
The text was updated successfully, but these errors were encountered:
Background Work
Chipyard Version and Hash
Release: 1.8.1
OS Setup
uname -a
Linux ip-192-168-0-135.us-west-2.compute.internal 3.10.0-1160.81.1.el7.x86_64 #1 SMP Fri Dec 16 17:29:43 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
lsb_release -a
LSB Version: :core-4.1-amd64:core-4.1-noarch
Distributor ID: CentOS
Description: CentOS Linux release 7.9.2009 (Core)
Release: 7.9.2009
Codename: Core
Other Setup
I follow the GCD example, using GCDRocketConfig in firesim to generate bitstream.
REF:https://chipyard.readthedocs.io/en/1.8.1/Customization/MMIO-Peripherals.html#constructing-the-digitaltop-and-config
I add
with chipyard.example.CanHavePeripheryGCDModuleImp
to enable GCD Peripheral.I use
riscv64-unknown-linux-gnu-gcc -O3 -std=gnu99 -o GCD GCD.c
to generate riscv binary file.I use marshal to generate linux image.
Current Behavior
When I use verilator to compile the code, I can see gcd module in device tree.
I can access the SOC , can run easy binary such as helloworld, but fail to run GCD progam(segmentation fault).
Expected Behavior
Successful access the GCD module .
Other Information
No response
The text was updated successfully, but these errors were encountered: