GHDL 在 Windows 中的安裝

GHDL

安裝

執行

處理器範例

訊息

相關網站

參考文獻

最新修改

簡體版

English

下載點

安裝過程

筆者點選上述網頁的 GHDL installer for Windows latest version 連結,下載了 http://ghdl.free.fr/site/uploads/Main/ghdl-win-installer-latest.exe 這個執行檔,啟動後一直按下一步就安裝完成了。

執行過程

安裝時允許讓安裝程式修改 %PATH% 路徑,如此在安裝完後就可在命令列下執行 GHDL 指令,以下是筆者的執行範例:

Microsoft Windows XP [版本 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\ccc>ghdl
C:\Program Files\Ghdl\Bin\ghdl.exe: missing command, try C:\Program Files\Ghdl\B
in\ghdl.exe --help

C:\Documents and Settings\ccc>ghdl --help
usage: C:\Program Files\Ghdl\Bin\ghdl.exe COMMAND [OPTIONS] ...
COMMAND is one of:
-a [OPTS] FILEs    Analyze FILEs
-e [OPTS] UNIT [ARCH]  Elaborate UNIT
-r,--elab-run [OPTS] UNIT [ARCH] [RUNOPTS]  Run UNIT
-c [OPTS] FILEs -r UNIT [ARCH] [RUNOPTS]  Compile, elaborate and run UNIT
-m [OPTS] UNIT [ARCH]  Make UNIT
--gen-makefile [OPTS] UNIT [ARCH]  Generate a Makefile for UNIT
--dispconfig       Disp tools path
--run-help         Disp help for RUNOPTS options
-i [OPTS] FILEs    Import units of FILEs
-s [OPTS] FILEs    Check syntax of FILEs
-d or --dir        Disp contents of the work library
-f FILEs           Disp units in FILES
--clean            Remove generated files
--remove           Remove generated files and library file
--copy             Copy work library to current directory
--disp-standard    Disp std.standard in pseudo-vhdl
--chop [OPTS] FILEs  Chop FILEs
--lines FILEs      Precede line with its number
--pp-html FILEs    Pretty-print FILEs in HTML
--xref-html FILEs  Display FILEs in HTML with xrefs
--xref FILEs  Generate xrefs
-h or --help [CMD] Disp this help or [help on CMD]
-v or --version    Disp ghdl version
--options-help     Disp help for analyzer options

To display the options of a GHDL program,
  run your programm with the --help option.
Also see --options-help for analyzer options.

Please, refer to the GHDL manual for more information.
Report bugs on http://gna.org/projects/ghdl

C:\Documents and Settings\ccc>

Facebook

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License