chipsalliance / chipsalliance/rocket-chip

Cannot find *behav_srams.v` in generated verilog files

Open
#3,686 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Scala
Stars
3.9k
Forks
1.3k
Avg merge
5d 13m
Merged PRs (30d)
1

Description

I want to add a new CPU variant to the LiteX project, which requires a `*behav_srams.v` file based on the sample code already in LiteX, as well as a verilog file that includes all the CPU code.

However, when generating Verilog code with the current version of Rocket Chip, there is no `*behav_srams.v` file, and all RTL modules are located in separate files.

Maybe I can use the `cat` command to aggregate all the modules into a single file. But with the missing *behav_srams.v file, there's not much I can do.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing Verilog generation with the current Rocket Chip version and compare its separate RTL output with the LiteX sample code. Determine how the missing behav_srams.v file and combined CPU RTL are expected to be produced; done means the generated output supports the requested LiteX CPU variant.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
compilers, embedded-iot
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.