Skip to content

wokwi/inverter-chip

Repository files navigation

Inverter Chip example

Example of a basic custom chip for Wokwi.

The actual source code for the chip lives in src/main.c, and the pins are described in chip.json.

Building

The easiest way to build the project is to open it inside a Visual Studio Code dev container, and then run the make command.

Testing

You can test this project using the Wokwi extension for VS Code. Open the project with Visual Studio Code, press "F1" and select "Wokwi: Start Simulator".

If you want to make changes to the test project firmware, edit test/blink/blink.ino, and then run make test to rebuild the .hex file. You'll need the arduino-cli, which is already installed in the dev container.

License

This project is licensed under the MIT license. See the LICENSE file for more details.