Skip to content

Makefile: patch does not apply #5

@craig-coburn

Description

@craig-coburn

Hi, I'm really impressed with your work. I've been trying to run the verilator C test cases for the kernel accelerator as you have in the READme but I keep coming across an error when I try and apply the kernel patch.

The command I am using:
pushd ../fpga-zynq/rocket-chip/riscv-tools/riscv-tests/isa/
git apply ../../../../../verilator-tests/kernel_tests.patch

and I receive the error:
rose@e21de37a57d6:~/berkeley-hardfloat/project/deca/fpga-zynq/rocket-chip/riscv-tools
/riscv-tests/isa$ git apply ../../../../../verilator-tests/kernel_tests.patch
error: patch failed: isa/Makefile:2
error: isa/Makefile: patch does not apply

I have modified the Makefile in the fpga-zynq/rocket-chip/riscv-tools/isa folder so it has "kernel" everywhere in place of "mult" but it still doesn't work. How would I solve this?

Many thanks

Craig

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions