lowRISC / lowRISC/ibex

Report a bug in Ibex

Open
#2,167 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Type:Bug
Dominant language
SystemVerilog
Stars
2.1k
Forks
810
Avg merge
5d 23h
Merged PRs (30d)
9

Description

##Observed Behavior
<
In Makefile, line 43: ISA := rv32imcb
Error: cannot find default versions of the ISA extension b' Error:unrecognized opcode zicsr. out/seed-31356/instr_gen/asm_test/riscv_arithmetic_basic_test_0.S:5853: Error: unrecognized opcode csrrsi t0,0x340,24', extension zicsr' required out/seed-31356/instr_gen/asm_test/riscv_arithmetic_basic_test_0.S:5870: Error: unrecognized opcode csrrs sp,0x340,t6', extension zicsr' required out/seed-31356/instr_gen/asm_test/riscv_arithmetic_basic_test_0.S:5872: Error: unrecognized opcode csrrs sp,0x340,t6', extension `zicsr' required
But when I include in Makefile, line 43:ISA := rv32imc_zicsr
image (5)
image (4)

##Expected Behavior

To get all Infos and resolve the zicsr issue and get the pass results

Steps to reproduce the issue

My Environment

EDA tool and version:

Operating system:

Version of the Ibex source code:

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with Makefile line 43 and the reported assembler errors in the generated riscv_arithmetic_basic_test_0.S file. Reproduce the build with the stated ISA settings and identify the toolchain or ISA configuration involved; done means the reported zicsr and B-extension errors are resolved and the tests pass.

Written by the indexing model from the issue text.

Assessment

Domain
build-system, compilers, embedded-iot
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.