MyHDL
Encyclopedia
MyHDL is a Python
based hardware description language
(HDL).
Features of MyHDL include:
MyHDL is developed by Jan Decaluwe.
A small combinatorial design
The example is a small combinatorial design, more specifically the binary to Gray code converter:
You can create an instance and convert to Verilog and VHDL as follows:
The generated Verilog code looks as follows:
The generated VHDL code looks as follows:
Python (programming language)
Python is a general-purpose, high-level programming language whose design philosophy emphasizes code readability. Python claims to "[combine] remarkable power with very clear syntax", and its standard library is large and comprehensive...
based hardware description language
Hardware description language
In electronics, a hardware description language or HDL is any language from a class of computer languages, specification languages, or modeling languages for formal description and design of electronic circuits, and most-commonly, digital logic...
(HDL).
Features of MyHDL include:
- The ability to generate VHDL and VerilogVerilogIn the semiconductor and electronic design industry, Verilog is a hardware description language used to model electronic systems. Verilog HDL, not to be confused with VHDL , is most commonly used in the design, verification, and implementation of digital logic chips at the register-transfer level...
code from a MyHDL design. - The ability to generate a testbench (Conversion of test benches) with test vectors in VHDL or Verilog, based on complex computations in Python.
- The ability to convert a lists of signals.
- The ability to convert output verification.
- The ability to do Co-simulation with Verilog.
- An advanced datatype system, independent of traditional datatypes. MyHDL's translator tool automatically writes conversion functions when the target language requires them.
MyHDL is developed by Jan Decaluwe.
Conversion Examples
Here, you can see some examples of conversions from MyHDL designs to VHDL and/or Verilog.A small combinatorial design
The example is a small combinatorial design, more specifically the binary to Gray code converter:
You can create an instance and convert to Verilog and VHDL as follows:
The generated Verilog code looks as follows:
The generated VHDL code looks as follows:
See also
- Comparison of Free EDA software
- Comparison of EDA SoftwareComparison of EDA softwareComparison of Electronic Design Automation software-Free and Open Source Software :-Proprietary software:-Comparison of EDA packages:Note: ODB++ support is drawn partly from lists by Artwork Conversion Software and Mentor Graphics...
- Electronic design automationElectronic design automationElectronic design automation is a category of software tools for designing electronic systems such as printed circuit boards and integrated circuits...
(EDA)