Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Taken Out the reset_vector pin out of the TestHarness Top module File #1791

Closed
3 tasks done
cygwin24 opened this issue Feb 13, 2024 · 0 comments
Closed
3 tasks done
Labels

Comments

@cygwin24
Copy link

cygwin24 commented Feb 13, 2024

Background Work

Chipyard Version and Hash

Release: 1.5.0
Hash: a6a6a6

OS Setup

Ex: Output of uname -a + lsb_release -a + printenv + conda list

Other Setup

Ex: Prior steps taken / Documentation Followed / etc...

Current Behavior

Hi,
I want to take the reset_vector pin out of the Testharness top module file as I don't want to use the default bottom. I found that in the FlatTestHarness.scala, which is the top hierarchy file, and tried to invoke this signal here.

image

Expected Behavior

In the compilation it is giving me error that

[error] /home/ssddls1/ashutosh/florence_project/official_florence/generators/chipyard/src/main/scala/example/FlatTestHarness.scala:50:7: value reset_vector is not a member of FlatTestHarness.this.lazyDut.FlatChipTopImpl
[error]   dut.reset_vector.foreach(_ := x"1000_0000".U)
[error]       ^
[error] one error found

I also passed import freechips.rocketchip.subsystem.{HasTilesModuleImp}
because the definition of reset_vector is in the HasTilesModuleImp but still facing the same issue.

Looks like In the FlatTestHarness.scala , it is invoking FlatChipTop.scala which is hard-coded already,
Should I have to change the Chiptop File ?

Other Information

No response

@cygwin24 cygwin24 added the bug label Feb 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant