Seal5 architecture diagrams =========================== These figures describe the registered passes and wrapper flow in this source checkout. Vector PDFs are suitable for a dissertation; SVGs remain editable. The pass inventory is best placed on a landscape page or in an appendix. Stage sequence -------------- .. figure:: figures/seal5/01-stages.svg :alt: Sequential numbered stage boxes grouped into preparation, construction, validation, and delivery. :width: 100% Sequential stages for a fresh run with PatternGen, grouped by lifecycle role. :download:`Vector PDF ` LLVM patch phases ----------------- The patch phases are provided as a separate TeX table with an independently compiled PDF preview. The table lists default assignments for phases zero through five; these phase numbers are distinct from the lifecycle steps above. Load ``booktabs`` and ``tabularx`` and include the TeX file with ``\input``. :download:`TeX table ` | :download:`PDF preview ` Pass order and scope -------------------- .. figure:: figures/seal5/02-passes.svg :alt: All 38 transformation passes, 12 generation passes, and four nested PatternGen passes, in order with model or global scope. :width: 100% Registered pass order and scope. M denotes per-model execution; G denotes global execution. The final generation pass expands into four nested passes. :download:`Vector PDF ` | :download:`Pass catalog (CSV) ` Full compiler-generation flow ----------------------------- .. figure:: figures/seal5/03-full-flow.svg :alt: Full Seal5 flow including bootstrap, model transformations, repeated builds, pattern generation, validation, and delivery. :width: 100% Fresh-run flow with integrated PatternGen. The inset distinguishes pass order from artifact dependencies during pattern extraction. :download:`Vector PDF ` Reproduction and source provenance --------------------------------- :download:`Figure notes, captions and LaTeX examples ` include execution controls, inactive handlers, and regeneration instructions. The :download:`generator ` reads the pass registration lists from Python syntax trees without importing Seal5 or running any builds. The :download:`source manifest ` records fingerprints of the implementation files used for these figures.