Open james-ball-qualcomm opened 2 weeks ago
I don't think I've ever seen the schema for CSRs - where is it?
On Fri, Oct 4, 2024 at 8:08 AM dhower-qc @.***> wrote:
Assigned #66 https://github.com/riscv-software-src/riscv-unified-db/issues/66 to @allenjbaum https://github.com/allenjbaum.
— Reply to this email directly, view it on GitHub https://github.com/riscv-software-src/riscv-unified-db/issues/66#event-14520733375, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHPXVJVEQ3MCF26CZ6F6BQLZZ2VQPAVCNFSM6AAAAABPI2MJSSVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJUGUZDANZTGMZTONI . You are receiving this because you were assigned.Message ID: <riscv-software-src/riscv-unified-db/issue/66/issue_event/14520733375@ github.com>
The enforced schema is here:
https://github.com/riscv-software-src/riscv-unified-db/blob/main/schemas/csr_schema.json
Examples are under arch/csr:
https://github.com/riscv-software-src/riscv-unified-db/tree/main/arch/csr
See https://riscv-config.readthedocs.io/en/latest/yaml-specs.html#csr-template