HDL converter, based on GHDL, Yosys, and the plugins ghdl-yosys-plugin and yosys-slang
Project description
HDLconv
HDL converter (between VHDL, SystemVerilog and/or Verilog), based on GHDL, Yosys, Synlig and the plugins ghdl-yosys-plugin and yosys-slang. It relies on Docker and PyFPGA containers.
vhdl2vhdl: converts from a newer VHDL to VHDL'93 (usingghdl).vhdl2vlog: converts from VHDL to Verilog (backends:ghdloryosys).slog2vlog: converts from SystemVerilog to Verilog (frontends:slang,synligoryosys).
Documentation
usage: vhdl2vhdl [-h] [-v] [-g GENERIC VALUE] [-a ARCH] [-f FILENAME]
[-o PATH] [-t TOPNAME]
FILE[,LIBRARY] [FILE[,LIBRARY] ...]
VHDL to VHDL
positional arguments:
FILE[,LIBRARY] VHDL file/s (with an optional LIBRARY specification)
optional arguments:
-h, --help show this help message and exit
-v, --version show program's version number and exit
-g GENERIC VALUE, --generic GENERIC VALUE
specify a top-level Generic (can be specified multiple
times)
-a ARCH, --arch ARCH specify a top-level Architecture
-f FILENAME, --filename FILENAME
resulting file name [<TOPNAME>.vhdl]
-o PATH, --odir PATH output directory [results]
-t TOPNAME, --top TOPNAME
specify the top-level of the design
usage: vhdl2vlog [-h] [-v] [--backend TOOL] [-g GENERIC VALUE] [-a ARCH]
[-f FILENAME] [-o PATH] [-t TOPNAME]
FILE[,LIBRARY] [FILE[,LIBRARY] ...]
VHDL to Verilog
positional arguments:
FILE[,LIBRARY] VHDL file/s (with an optional LIBRARY specification)
optional arguments:
-h, --help show this help message and exit
-v, --version show program's version number and exit
--backend TOOL backend tool [ghdl]
-g GENERIC VALUE, --generic GENERIC VALUE
specify a top-level Generic (can be specified multiple
times)
-a ARCH, --arch ARCH specify a top-level Architecture
-f FILENAME, --filename FILENAME
resulting file name [<TOPNAME>.v]
-o PATH, --odir PATH output directory [results]
-t TOPNAME, --top TOPNAME
specify the top-level of the design
usage: slog2vlog [-h] [-v] [--frontend TOOL] [-p PARAM VALUE]
[-d DEFINE VALUE] [-i PATH] [-f FILENAME] [-o PATH]
[-t TOPNAME]
FILE [FILE ...]
SystemVerilog to Verilog
positional arguments:
FILE System Verilog file/s
optional arguments:
-h, --help show this help message and exit
-v, --version show program's version number and exit
--frontend TOOL frontend tool [slang]
-p PARAM VALUE, --param PARAM VALUE
specify a top-level Parameter (can be specified
multiple times)
-d DEFINE VALUE, --define DEFINE VALUE
specify a Define (can be specified multiple times)
-i PATH, --include PATH
specify an Include Path (can be specified multiple
times)
-f FILENAME, --filename FILENAME
resulting file name [<TOPNAME>.v]
-o PATH, --odir PATH output directory [results]
-t TOPNAME, --top TOPNAME
specify the top-level of the design
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
hdlconv-0.1.0.tar.gz
(19.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
HDLconv-0.1.0-py3-none-any.whl
(20.9 kB
view details)
File details
Details for the file hdlconv-0.1.0.tar.gz.
File metadata
- Download URL: hdlconv-0.1.0.tar.gz
- Upload date:
- Size: 19.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b8879f5bfaeac513994735008783dcedf0522640fed08880db080dc5e1dfefb4
|
|
| MD5 |
f64f005890ab22798a9619350d4a351e
|
|
| BLAKE2b-256 |
98645aa86c1efeb33d8f7992a45b47d01679883baacdafe2e74b3f6deacbd0d2
|
File details
Details for the file HDLconv-0.1.0-py3-none-any.whl.
File metadata
- Download URL: HDLconv-0.1.0-py3-none-any.whl
- Upload date:
- Size: 20.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8be985de8ef6056e2d679d1425c516e1be5e8a9205aa706030276c2dfb6b091a
|
|
| MD5 |
4cd274f5eb1de900f418b1da40a5af18
|
|
| BLAKE2b-256 |
29872114e80e220458728dd252010d01269e017e036eeb4b7a80e301125ce3df
|