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

value += is not a member of String #95

Open
apaj opened this issue Jul 23, 2020 · 0 comments
Open

value += is not a member of String #95

apaj opened this issue Jul 23, 2020 · 0 comments

Comments

@apaj
Copy link

apaj commented Jul 23, 2020

Hi,

I've been playing around with chipyard successfully in a previous version (3a83cd0, March 14), but after the update I did two days ago, I get the following errors for running make inside chipyard/sims/verilator:

[error] /home/user/chipyard/generators/testchipip/src/main/scala/Dromajo.scala:25:19: value += is not a member of String
[error]     dromajoParams += "\n\n" + "#define DROMAJO_RESET_VECTOR " + "\"" + "0x" + f"${p(BootROMParams).hang}%X" + "\""
[error]                   ^
[error] /home/user/chipyard/generators/testchipip/src/main/scala/Dromajo.scala:26:19: value += is not a member of String
[error]     dromajoParams += "\n" + "#define DROMAJO_MMIO_START " + "\"" + "0x" + f"${p(BootROMParams).address + p(BootROMParams).size}%X" + "\""
[error]                   ^
[error] /home/user/chipyard/generators/testchipip/src/main/scala/TraceIO.scala:169:37: missing argument list for method apply in object BundleBridgeNexus
[error] Unapplied methods are only converted to functions when a function type is expected.
[error] You can make this conversion explicit by writing `apply _` or `apply(_,_,_,_)(_)` instead of `apply`.
[error]   val traceNexus = BundleBridgeNexus[Vec[TracedInstruction]]
[error]                                     ^
[error] /home/user/chipyard/generators/testchipip/src/main/scala/TraceIO.scala:175:40: missing argument list for method apply in object BundleBridgeNexus
[error] Unapplied methods are only converted to functions when a function type is expected.
[error] You can make this conversion explicit by writing `apply _` or `apply(_,_,_,_)(_)` instead of `apply`.
[error]   val extTraceNexus = BundleBridgeNexus[Vec[ExtendedTracedInstruction]]
[error]                                        ^
[error] four errors found

There seem to be two types of issues here, but somehow I am feeling that both might have the same cause - hence here together. Correct me if I am wrong, though...
I see that @abejgonzalez did all the work in Dromajo.scala and most of work in TraceIO.scala, so I dare mentioning here - kindly forgive me.
Please, do you have any ideas what might be causing this behavior?
Thanks,
Aleksandar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant