~/talk

A Tour of the RISC V ISA Formal Specification

Talkat RISC-V Summit 2019 · 2019-12-09..12-12· [compilers-and-language-design]
links:none on file
slides:none on file

The RISC‑V ISA is encoded in the Sail language as executable, strongly typed AST + encode/decode + execute + assembly clauses and the team produces OCaml/C simulators via Sail→C→emulator. The repo runs the standard validation harness including 229 standard ISA tests and a compliance suite across RV32/RV64 configurations. Floating point uses Berkeley SoftFloat for arithmetic. Extensions are added by scattering AST, encoder and execute clauses. The model runs and compares signatures and is already used to validate ARMv8 translations.

AI-written summary · about

  1. 0:00Start
  2. 2:42Objectives
  3. 10:32What Is an Icy Formal Spec
  4. 11:48Readability
  5. 17:24Reading the Isis Spec
  6. 19:31Execute Semantics of One Class of Instructions
  7. 21:07Instruction Formats
  8. 25:05Virtual Memory
  9. 25:57Type Checking and Strong Types
  10. 29:21Syntax
  11. 34:34Reading from the Register
  12. 36:28Effects Declaration
  13. 51:11Right Function General Pattern
  14. 51:49Output Type
  15. 52:48Overloading
  16. 55:49Data Structure
  17. 1:00:55The Execute Function
  18. 1:03:35Six Encoding Types for Instructions
  19. 1:04:02Major Opcode
  20. 1:11:58The Execute Clause
  21. 1:16:35How Do You Know It's a Signed or Unsigned Addition
  22. 1:25:37Assembly Mapping
  23. 1:32:39Encode Decode Mapping
  24. 1:34:56Execute Clause
  25. 1:36:16Execute Clause
  26. 1:37:43Handle Memory Exception
  27. 1:39:28Load Instruction
  28. 1:42:52Translate Address
  29. 1:49:26handle mem exception
  30. 1:49:51Exception Handler
  31. 1:51:16Trap Handler
  32. 1:56:03Sequential Fetch Execute Loop
  33. 1:56:41Loop
  34. 1:58:06Dispatch Interrupt at Current Privilege
  35. 2:03:31What Made Us Choose the Sale Model
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.