~/talk

Clash: Haskell as an HDL

Talkat ORConf 2018 · 2018-09-21..09-23· [compilers-and-language-design]
links:none on file
slides:none on file

Clash compiles Haskell to Verilog/VHDL and demonstrates that real hardware can be written as pure Haskell: a tiny parametric CPU is implemented (register count and numeric type are type parameters), expressed as a Mealy-machine that executes one instruction per cycle, with pattern-matched instruction enums, undefined values avoided by laziness, and a working REPL simulation that prints the expected arithmetic stream. Current 0.99 features include co-simulation, bidirectional ports, VCD dumps and user-definable bit representations.

AI-written summary · about

  1. 0:00Introduction
  2. 2:55Instruction Memory
  3. 5:42Decoder
  4. 9:16Program Counter
  5. 10:38Mealy Machine
  6. 13:06Simulation
  7. 15:08Console
  8. 18:08Conclusion
~/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.