📄️ Overview
A ChipLib YAML file represents a single integrated circuit (IC) or IP block. The file is structured into four primary sections:
📄️ Metadata
These top level fields identify the device and provide context for documentation generators.
📄️ Defaults
The defaults block defines properties that apply to all registers unless explicitly overridden at the register or
📄️ Enums
Enumerations (enums) define named states for bit-fields. They are defined globally to allow reuse across multiple
📄️ Registers
The registers list defines the memory map.
📄️ Fields
Fields define the bit-packing layout within a register.
📄️ Best Practices
1. Naming: Use Title Case for name fields (e.g., "Conversion Rate"). Use UPPER\_CASE for symbol fields representing registers or enums.