Skip to content

Instantly share code, notes, and snippets.

View Gamrix's full-sized avatar

John Clow Gamrix

  • Canopy Servicing
  • San Francisco
View GitHub Profile
from __future__ import division
import pyrtl
a, b = pyrtl.Input(1, 'a'), pyrtl.Input(1, 'b')
out = pyrtl.Output(1, 'out')
def myor(a, b):
return ~((~a) & (~b))