/litex:litex-bringupfrom litex
Brings up a LiteX SoC on new or unfamiliar boards layer by layer: clock, UART/BIOS, host bridge, DRAM, Ethernet, then peripherals. Use when a board does not boot or when adding a board target.
Ships in litex. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Add one thing at a time and get a visible result for each before the next: a BIOS prompt, a register read from the host, a DRAM memtest, a ping.
litex_sim --cpu-type=vexriscv # BIOS prompt in the terminal
litex_sim --uart-name=crossover+uartbone --uart-tcp --uart-tcp-port=2345 --output-dir=build/sim
litex_server --uart --uart-port=socket://localhost:2345 --bind-port=1240
litex_cli --csr-csv=build/sim/csr.csv --port=1240 --ident
With litex_mcp: litex_sim_start(args, output_dir), litex_job_wait(job, pattern="litex>"),
litex_server_start(["--uart", "--uart-port=socket://localhost:2345", "--bind-port=1240"]),
litex_connect(port=1240, csr_csv=...), litex_check(). With a crossover UART,
litex_console_read() returns what the SoC printed.
simple target or the board target
with no extras: --build --load, then litex_term /dev/ttyUSBx.--uart-baudrate, litex_term --speed), the UART pins and the
clock frequency the PLL receives (--sys-clk-freq and the platform's default clock period).--with-uartbone (a second UART) or --uart-name=crossover+uartbone (console and bridge on one
port), --with-jtagbone, or --with-etherbone on Ethernet boards.litex_server --uart --uart-port=/dev/ttyUSBx (or --jtag, --udp --udp-ip=...), then
litex_cli --csr-csv=build/<board>/csr.csv --ident and --regs --filter=ctrl.litex_term crossover --csr-csv=build/<board>/csr.csv.litex-csr-debug skill) and
LiteScope (litescope-capture skill).add_sdram in the target; the BIOS calibrates and runs the memtest at boot.--sys-clk-freq, then use the BIOS commands sdram_cal,
sdram_test, sdram_bist (via litex_console_command through MCP, with --allow-write).--with-ethernet: ping <host-ip> and netboot from the BIOS (eth_local_ip/eth_remote_ip
set the addresses); or --with-etherbone and litex_server --udp --udp-ip=<board-ip>.help lists them).--ident before reading
anything (a server on the default port 1234 may be another board).--bind-port for litex_server when another one may be running.litex_sim --with-ethernet/--with-etherbone need a TAP interface and sudo; the crossover +
TCP UART above does not.--load is enough and is reverted by a power cycle.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub enjoy-digital/litex --plugin litex6 skills in this plugin
/litescope-captureCapture internal signals of a running LiteX SoC with the LiteScope logic analyzer (add a narrow probe to the target, rebuild, trigger, read the capture as data or VCD) through litescope_cli --json or the litex_mcp scope tools. Use when a question about timing, a handshake or a state sequence cannot be answered by polling registers./litex-build-and-loadBuild a LiteX SoC (a LiteX-Boards target or a target script), check what it generates, read the build result and load the bitstream on the board. Use when asked to build, elaborate, compile, load or flash a LiteX design, or to find the command line for a board, a CPU and a set of cores./litex-csr-debugObserve and debug a running LiteX SoC through its CSRs (control/status registers) and bus from the host, with litex_server, litex_cli --json or the litex_mcp tools, and add the status registers or counters that answer the next question. Use when a LiteX design misbehaves on a board or in simulation and you need to read or write registers, check the host link, or decide what to instrument./litex-timing-triageTriage a LiteX build that fails timing or fails in the toolchain: read the parsed reports (WNS/TNS, per-clock results, failing paths, utilization, errors), classify the failing paths (logic depth, clock crossing, I/O, congestion) and pick the fix in the Python design. Use after a Vivado, Quartus, Gowin, Efinity or nextpnr build of a LiteX design reports negative slack or errors, or when a design works at a lower clock only./litex-upstream-a-fixTurn a fix or an addition made for a project (a patched LiteX file, a copied core, a board target change, a workaround subclass) into a clean pull request against the LiteX repository it belongs to, with a test and a verification report. Use when a project needed to change LiteX, LiteX-Boards or a Lite* core, when asked to "upstream", "send back" or "contribute" a change, or before ending a task that left a local patch of the framework.Other plugins' skills for the same job