Skip to content

While adding Smpmp extension, somehow PHYS_ADDR_WIDTH is undefined #65

@james-ball-qualcomm

Description

@james-ball-qualcomm

I looked at the changes I made to Sm.yaml (just removed PMP parameters) and the creation of the new Smpmp.yaml and don't see any obvious reason why PHYS_ADDR_WIDTH would now be undefined.

Generating arch/csr/I/pmpcfg8.yaml
Generating arch/csr/I/pmpcfg9.yaml

In file /github/riscv-unified-db/arch/isa/globals.isa
On line 186
In the code:

  184: 
  185: 
  186: struct TranslationResult {
  187:   Bits<PHYS_ADDR_WIDTH> paddr;
  188:   Pbmt pbmt;
  189:   PteFlags pte_flags;
  190: }

A type error occured
  no symbol named 'PHYS_ADDR_WIDTH' on line 186
/github/riscv-unified-db/lib/idl/ast.rb:279:in `type_error'
/github/riscv-unified-db/lib/idl/ast.rb:522:in `type_check'

Metadata

Metadata

Assignees

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