Simple Logic Gates

This is an example of how the Tidy Kit can be used to create simple logic gates and glue logic. In this example, we’re using 2 push buttons to demonstrate the operations of OR and AND gates. The example consists of 2 steps:

  • Wiring the switches and LEDS on the bread board
  • Creating a bit file to configure the CPLD

With the prototype area, the Tidy board can be paired with any standard breadboard with 2.54mm pitch as shown in the video below with some simple soldering. The blue wires connect the rails to 3V3 and GND. All the connections to the CPLD (2 switches and 2 LEDs) are done underneath the breadboard.

The second step is to do schematic entry in Quartus. Designing with schematics is a very important step of getting to know electronics. To save you time, you can download the complete project here. TidyKit/example_logic_gates.qar. You can follow the comments in the schematic to gain more understanding of the tool as well as the circuit. Although it’s a simple design, but shows you how to create projects, describe your logic using schematics entry, perform pin assignment, compile design and finally download the bit stream to the device. This flow is applicable to almost all types of programmable logic, from simple to more complicated ones.

Quartus Schematics

If you’d like a more step by step of compilation process. You can have a look at my recording. Take aways:

  • Quartus Schematics Entry
  • Quartus Pin Assignment
  • Quartus Programmer bit file downloading


Leave a Reply

Your email address will not be published. Required fields are marked *

50 + = 54