ucb-bar / chipyard

An Agile RISC-V SoC Design Framework with in-order cores, out-of-order cores, accelerators, and more
https://chipyard.readthedocs.io/en/stable/
BSD 3-Clause "New" or "Revised" License
1.58k stars 625 forks source link

Can't get vpd file when running Boom in verilator #1715

Closed zhangkanqi closed 8 months ago

zhangkanqi commented 9 months ago

Background Work

Chipyard Version and Hash

Release: 1.10.0 Chipyard Hash: b7644b2455cc4bae190e811a5d8085f3aad85b87 Boom Hash: 1a153d4974977a2d5f8baa9b4de51b3337d230fe

OS Setup

Linux 5.15.0-89-generic #99~20.04.1-Ubuntu SMP Thu Nov 2 15:16:47 UTC 2023 x86_64 GNU/Linux LSB Version: core-11.1.0ubuntu2-noarch:security-11.1.0ubuntu2-noarch

Current Behavior

I modified Makefile in verilator to: image

Then I run a binary file with boom-debug using verilator, as shown in the following figure: image

However, it doesn't generate vpd file after runing. Do you know why this happened and how to fix this?

Expected Behavior

Generate vpd file after runing binary file in Boom using verilator.

jerryz123 commented 8 months ago

Verilator generates VCDs, not VPDs. This is expected behavior.

If you want to convert to VPD, you can use the Synopsys vcd2vpd tool, if you have that available.