18 Commits (a4e8e4974c0d9ac995dc089a487b99c7d0d296da)

Author SHA1 Message Date
Jacob Young 77968f04d2 Implement various `adtf` features needed on ARM (#115)
* Fix test step not running tests

* Fix `error.Todo` causing a crash while outputting json

* Cleanup `@as` usage

* Implement count attribute for registers

* Add ad-hoc alignment to support an initial reserved region.

* Implement register group instances

* Add `build.zig.zon` paths
7 months ago
Matt Knight f3c994956b builtin type inference fix (#106) 7 months ago
Matt Knight e6b18653c7 update sort api (#103) 7 months ago
Matt Knight c48ca0e86b use new for loops over iterators (#95)
* use new for loops over iterators

* run github actions on every push
7 months ago
Matt Knight 137b50484a Snake case (#94)
* wip

* converted functions to snake case
7 months ago
Matt Knight b81760cd24 getMode() now generated as get_mode() (#90) 7 months ago
Matt Knight 060b6fbd5a update json tree api (#89)
* update json tree api

* sneak in namespacing of types into peripherals, registers, etc

* fix cache api usage, later try cache invalidation
7 months ago
Matt Knight 8c47254c9c SVD: peripheral derivation (#84)
* SVD: peripheral derivation
7 months ago
Matt Knight f42d279890 Fix build api breaks and morale (#85)
* fix build api breaks

* fix ci

* zig parser api update
7 months ago
Matt Knight 3d6cf928b3 initial vector table support for arm (#80)
When parsing ATDF or SVD files, seed the interrupts with known exception handlers for different architectures.
7 months ago
Matt Knight eb24365786 regzon (#79)
regzon is the name for the json output for reg'z data model. This PR includes a number of tests for serialization and deserialization. The intention of this format is to provide an accessible format for tooling, and to provide a medium for schema patching. Rather than errata, patching can be utilized to improve codegen such as type deduplication.

This format is subject to change.
7 months ago
Matt Knight ec84f7eebf svd field array (#77) 7 months ago
Matt Knight 83b4ee2a3d packed structs can have an explicit backing integer (#75) 7 months ago
Matt Knight 43ee9c8af0 vector table generation for ATDF (#74) 7 months ago
Matt Knight 66ac34e33b fix mmio array codegen (#72) 7 months ago
Matt Knight a34e4ef648 initial support for dimElementsGroup for SVD (#70) 7 months ago
Matt Knight 293f25e6c3 make distinct types for peripherals always (#69) 7 months ago
Matt Knight 9627d4196c Rearchitect Regz (#63) 7 months ago