HEEPokranios is a RISC-V SoC based on the open-source X-HEEP platform, designed to record intracranial EEG. Its 5 recording channels can be configured by the on-chip CPU and streamed out via DMA and different transmission options.
- MCU — X-HEEP: Ibex CPU, 2× DMA with dispatching mode, SPI (also used to load programs into SRAM wirelessly), JTAG, UART, 32 kB RAM, interrupts and timers.
- Wireless power and data transfer — WPDT: power from a 433 MHz inductive link, Manchester-encoded downlink (forwarded to the SPI) and uplink (serialized from a register), and a 1 MHz clock usable as system clock.
- Power regulation — vREF, iREF and iMIRROR generate the supplies and bias currents for the analog blocks from the WPDT rectifier output.
- 5× recording channels — built as flavours of the channel-multipath skeleton, combining acquisition blocks such as a low-noise amplifier (LNA), ΔΣ ADC (DSM), VCO-based ADC (VCO), level-crossing ADC (LC, dLC), band-power extraction (BPE) and an impedance-monitoring current DAC (iDAC).
As a testing chip, most block inputs/outputs are exposed on pads, to be shorted at PCB level or at wire-bonding time.
-
Install the conda environment (Python tooling + fusesoc) and activate it:
make conda conda activate heepokranios
Make sure the following are also in your
PATH: a RISC-V toolchain (supporting at leastrv32imc), Verilator 4, Verible and GTKWave. See X-HEEP's prerequisites for details. -
Generate the RTL and software from the SoC configuration (only needed once, and after any change to
config/cheep_configs.pyor a.tpltemplate):make mcu-gen
-
Build an application and run it on the Verilator simulation:
make app PROJECT=hello_world make verilator-build make verilator-run
The UART log is written to
build/sim-common/uart.log, and waveforms can be inspected withmake verilator-waves.BOOT_MODEdefaults toforce(firmware loaded directly into SRAM);jtagandflashboot are also supported.
make help lists all targets (use make help WHICH=xheep for the vendored X-HEEP makefile).
- X-HEEP documentation — platform internals, configuration, programming and debugging.
- HEEPokranios documentation — analog front-end overview, digital back-end and LDO descriptions.
- How to add new peripherals.
- Analog library — structure and behavioral models of the analog blocks.
HEEPokranios is distributed under the Solderpad Hardware License v2.1 (Apache-2.0 WITH SHL-2.1). The vendored X-HEEP and the analog library carry their own license terms.
