Skip to content

value += is not a member of String #95

@apaj

Description

@apaj

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions