|
MyHDL〔http://www.myhdl.org〕 is a Python based hardware description language (HDL). Features of MyHDL include: * The ability to generate VHDL and Verilog code from a MyHDL design.〔http://www.myhdl.org/doc/current/manual/conversion.html〕 * The ability to generate a testbench (Conversion of test benches〔http://www.myhdl.org/doc/current/whatsnew/0.6.html#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.〔http://www.myhdl.org/doc/current/whatsnew/0.6.html#conversion-of-lists-of-signals〕 * The ability to convert output verification.〔http://www.myhdl.org/doc/current/whatsnew/0.6.html#conversion-output-verification〕 * The ability to do Co-simulation with Verilog.〔http://www.myhdl.org/doc/current/manual/cosimulation.html〕 * 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.〔http://www.linuxjournal.com/article/7542〕 == Conversion Examples == Here, you can see some examples of conversions from MyHDL designs to VHDL and/or Verilog.〔http://www.myhdl.org/doc/current/manual/conversion_examples.html〕 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: 抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)』 ■ウィキペディアで「MyHDL」の詳細全文を読む スポンサード リンク
|