Skip to content

Polyphony is Python based High-Level Synthesis compiler.

License

Notifications You must be signed in to change notification settings

jesseclin/polyphony

 
 

Repository files navigation

https://travis-ci.org/ktok07b6/polyphony.svg?branch=devel

polyphony

Polyphony is Python based High-Level Synthesis compiler.

Requirements

Python 3.6 or later

Installation

$ pip3 install polyphony

Usage

usage: polyphony [-h] [-o FILE] [-d DIR] [-c CONFIG] [-v] [-D] [-q] [-vd]
[-vm] [-V] source
positional arguments:
source Python source file
optional arguments:
-h, --help show this help message and exit
-o FILE, --output FILE
 output filename (default is "polyphony_out")
-d DIR, --dir DIR
 output directory
-c CONFIG, --config CONFIG
 set configration(json literal or file)
-v, --verbose verbose output
-D, --debug enable debug mode
-q, --quiet suppress warning/error messages
-vd, --verilog_dump
 output vcd file in testbench
-vm, --verilog_monitor
 enable $monitor in testbench
-V, --version print the Polyphony version number

Examples

see https://github.com/ktok07b6/polyphony/tree/master/tests

About

Polyphony is Python based High-Level Synthesis compiler.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 67.5%
  • C 31.3%
  • Objective-C 1.1%
  • C++ 0.1%