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'