/quadra-demo

Implementation examples, unit tests, and simulations for quadra: https://github.com/float32/quadra

Primary LanguageCMIT LicenseMIT

quadra-demo

https://github.com/float32/quadra-demo

Implementation examples, unit tests, and simulations for quadra.


Implementation examples

There's currently a single implementation example, written for the STM32F4 Discovery board. See example/README.md.

Unit tests

A suite of unit tests for the decoder and encoder can be found in the unit_tests directory. They depend on:

Run the tests using these commands:

make check
make py-check

Simulation

There are simulations of the decoder, demodulator, and PLL under the sim directory. Run them with the commands:

make run-sim-decoder
make run-sim-demodulator
make run-sim-pll

You can view simulation traces using GTKWave, for which project files are provided.

Licensing

This project contains a few libraries with varying licenses.

  • quadra is licensed MIT, copyright Émilie Gillet and Tyler Coy.
  • boilermake is licensed GPL-3.0, copyright Dan Moulding, Alan T. DeKok
  • vcd-writer is licensed MIT, copyright Kirill Golikov.
  • CMSIS is licensed Apache-2.0, copyright Arm Limited.
  • STM32F4 HAL is licensed BSD-3-Clause, copyright STMicroelectronics.
  • Everything else is licensed MIT, copyright Tyler Coy.

Copyright 2023 Tyler Coy

https://www.alrightdevices.com

https://github.com/float32