The chapters are readable here on GitHub, and make docs builds them into
two PDF manuals:
| Manual | File | Contents | Read it if |
|---|---|---|---|
| HORNET manual | build/docs/hornet-manual.pdf |
Part I | you want to get started quickly and do your job: set up, program, integrate, build for the FPGA |
| HORNET student's manual | build/docs/hornet-student-manual.pdf |
Part I and Part II | you are a student, or want to learn how every block works and why it is designed that way |
make docs-html builds the student's manual as HTML (build/docs/html/).
Repository: version 2 is on https://github.com/GSTL-ITU/HORNET-RV32IMF/tree/main, version 1 on https://github.com/GSTL-ITU/HORNET-RV32IMF/tree/legacy.
| Chapter | Contents |
|---|---|
| Introduction | what HORNET is, the three ISA configurations, the two manuals, conventions |
| Quick start | Vivado only, or Docker and Make: first bitstream, first program, first simulation |
| Repository and environment | directory layout, how make runs the tools in Docker, build directories, the tool image, flows, contribution rules |
| SoC | block diagram, memory map, interrupt sources, parameters, ports, clocking and reset |
| Core | stages, ISA configurations, the pipeline figure, latencies and penalties, memory ports, performance |
| Programmer's model | instructions, CSRs, traps, interrupts, floating-point behaviour |
| Peripherals | timer, UART, GPIO, system control, external AXI4-Lite port: registers; adding a peripheral |
| Software | build rules, memory layout, startup, C library, drivers, interrupts, tests, examples, bootloader |
| FPGA | board top, boards, Vivado flows, loading programs, Vivado IP, adding a board, results |
| Verification | the verification methods and the results of this release |
| Reference | parameters, make targets, RTL file index, abbreviations |
| References | the specifications, tools, vendor documents and books the manuals cite |
| Chapter | Contents |
|---|---|
| The SoC inside | how an access travels; memories, data router, AXI4-Lite bridge and interconnect; timer, UART and GPIO internals |
| The pipeline | the three configurations, an instruction through the pipeline, valid bits, hazards, forwarding, stalls, redirects, timing examples |
| Instruction fetch | fetch unit, redirects, buffer |
| Instruction decode | control unit, legality, register files, JAL, trap selection, interrupt carriers |
| Execute | operand capture, ALU, branches, divider algorithm, result selection |
| Memory access and write-back | load/store unit, multiplier, commit, load alignment, access faults, RVFI |
| CSRs, traps and interrupts | the CSR unit, where traps are detected and taken, interrupt arbitration |
| Floating-point unit | binary32 in short, FMA, divide/square root, rounding, conversions |
| Verification in depth | testbenches, TestFloat and directed vectors, co-simulation, random programs, RISCV-DV, formal |
| Design decisions | index of every design decision and its reasons |
| Update log: version 2 | history, what changed from version 1, bug fixes |
The figures are draw.io files in figures/ (edit them with
draw.io desktop or its VS Code extension, then make docs-figures).