Skip to content
systemcoding.dev

Tag

intermediate

255 posts

Flat illustration of a debugger stopped at a breakpoint beside the register values, with the Arm, Linux and LLVM logos.
Performance

Find Hot Instructions With perf annotate

Use perf annotate to see which assembly instructions and source lines inside a hot function receive the most samples, and how to read skid correctly.

6 min read
Flat illustration of logic gates wired into a small circuit, with the Python, Haskell and SparkFun logos.
Hardware

Test HDL Designs in Python With cocotb

Write cocotb 1.9 tests in Python for a Verilog counter: drive a Clock, await RisingEdge and ReadOnly, assert outputs and run on Icarus Verilog from a Makefile.

7 min read