Skip to content

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

Repository files navigation

HEEPokranios

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.

SoC overview

  • 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.

Getting started

  1. 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 least rv32imc), Verilator 4, Verible and GTKWave. See X-HEEP's prerequisites for details.

  2. Generate the RTL and software from the SoC configuration (only needed once, and after any change to config/cheep_configs.py or a .tpl template):

    make mcu-gen
  3. 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 with make verilator-waves. BOOT_MODE defaults to force (firmware loaded directly into SRAM); jtag and flash boot are also supported.

make help lists all targets (use make help WHICH=xheep for the vendored X-HEEP makefile).

Documentation

License

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.

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages