Skip to content

Repository files navigation

PyWire is an easy-to-use Python library for generating VHDL, designed for use with FPGAs.

Features:

  • Simple and complex functions
  • BRAM
  • Import components
  • Generate timing files

Does not support:

  • More than one clock

To install:

pip install pywire

Example:

from pywire import *

x = Signal(1, io=out”, port=P7”)
y = Signal(1, io=in”, port=P42”)

def inverter(x):
	return 1-x

x.drive(inverter, y)
print(vhdl(globals()))

See /examples for more functionality

About

An easy-to-use Python library for generating VHDL, designed for use with FPGAs.

Topics

Resources

Stars

7 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages