Skip to content
#

gates

Here are 8 public repositories matching this topic...

The-general-logic-gate-based-on-a-map

This example implements a general logic gate in Python by merging multiple logical operations into a single function. Two binary 3×3 matrices are processed element-wise with an operation code to produce results using a lookup table. Supported operations include AND, NAND, OR, NOR, XOR, and XNOR.

  • Updated Aug 30, 2025
  • JavaScript

Add this topic to your repo

To associate your repository with the gates topic, visit your repo's landing page and select "manage topics."

Learn more