$ bag generate files/lite_ss.ir.yaml -o out
lite_ss.ir.yaml (checked as the workbook it converts to): 0 error(s), 0 warning(s)
wrote 55 file(s) to out (top lite_ss_top)
$ ls out/doc
memmap.html
memmap.md
port_map.md
reset.md
tieoffs.md
$ cat out/doc/memmap.md
<!--
// ----------------------------------------------------------------------------
// Generated by hdl-bag <version> (bag). DO NOT EDIT.
// Project: lite_ss   Revision: r1
// IR sha256: a12637ad1db5de5f2453ecc79e13deacad8b7537f87755c232e0936247c34c75
// ----------------------------------------------------------------------------
-->

# lite_ss memory map

Revision r1. System addresses; End is inclusive.

## bus

AXI4-Lite shared-bus, 32-bit data, 32-bit address, D_SYS

| Slave | Region | Base | End | Size | Access | Secure only |
|---|---|---|---|---|---|---|
| sram | mem | 0x1000_0000 | 0x1000_3FFF | 0x0000_4000 | RW | N |
| uart | regs | 0x2000_0000 | 0x2000_0FFF | 0x0000_1000 | RW | N |

- cpu: unmapped or blocked accesses get DECERR.
