Skip to content

Custom chip for wokwi (online simulator) that emulates the cd4068b IC

License

Notifications You must be signed in to change notification settings

wokwi-custom-chips/cd4068b

Repository files navigation

8-Input NAND/AND Gate

Custom chip for Wokwi.

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

DOCS

Chip functionalities and how to use it are explained in docs . Go-to-docs

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/logic/sketch.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.