m-labs/migen
A Python toolbox for building complex digital hardware observed · 2026-08-28
Health v2 · maintenance only
10/100
- Activity 60
- Release rhythm 35
- Longevity 100
Flags: no_releases archived no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5386
- days_rel: n/a
- days_push: 240
- n_releases_24m: 0
Adoption not part of the score
1328 stars · 219 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Migen is a Python-based toolbox for building complex digital hardware, replacing the event-driven paradigm of Verilog/VHDL with combinatorial and synchronous statements while allowing logic to be generated by Python programs. It includes libraries for system-on-chip interconnect, dataflow programming, high-level synthesis, and Python-based simulation.
Use cases
- generate FPGA logic with Python instead of Verilog
- build a system-on-chip design programmatically
- write hardware test benches in Python
- synthesize Python routines into state machines with datapaths
- create reusable, parameterized hardware designs via metaprogramming
- design ASIC or FPGA circuits with sane integer arithmetic
When to choose
- you want to leverage Python's expressiveness for hardware design
- you are building synchronous digital circuits and find Verilog/VHDL tedious
- you need procedural generation of logic beyond HDL generate statements
- you are working on MiSoC or ARTIQ-related hardware
When to avoid
- you need an industry-standard HDL flow with existing Verilog/VHDL toolchain integration
- your design is primarily asynchronous or event-driven
- you need a large community and ecosystem like Chisel or SystemVerilog
- you require commercial vendor support
Facets
library · maturity maintenance
compiler simulation developer-tools hardware embedded-systems python cross-platform hdl fpga asic hardware-design fhdl misoc metaprogramming automation
7 sources
- readme: https://github.com/m-labs/migen · fetched 2026-08-28 · 83ab65f3226c
- homepage: https://m-labs.hk/migen · fetched 2026-08-29 · 6d37422fc88c
- site_page: https://m-labs.hk/about-us/company · fetched 2026-08-29 · f31a70a1511d
- site_page: https://m-labs.hk/about-us/faq · fetched 2026-08-29 · ba069a0211b7
- site_page: https://m-labs.hk/about-us/jobs · fetched 2026-08-29 · 5422d86c3e65
- site_page: https://m-labs.hk/about-us/office · fetched 2026-08-29 · 8d066ade5d43
- registry_pypi: https://pypi.org/pypi/migen/json · fetched 2026-08-29 · 55a6cbd911be
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| m-labs/migen | main | 10 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem