From 9bf6c625f4bf31048aed62d328d227b1aa6a1908 Mon Sep 17 00:00:00 2001 From: Makise Kurisu Date: Fri, 29 Apr 2016 20:49:51 +0200 Subject: [PATCH] More doc --- README.md | 43 +++++++++++++++++++++++++++++++++++-------- 1 file changed, 35 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 861012f..8f2cff5 100644 --- a/README.md +++ b/README.md @@ -3,29 +3,56 @@ model-ghdl A wrapper for GHDL to make it look like Mentor's ModelSim. Helpful for use with programs like Sigasi. +Compiling and use +----------------- +First install ghdl from [ghdl-updates](https://sourceforge.net/projects/ghdl-updates/). Model-ghdl expects to find the ghdl executable in the $PATH. + +Then, to compile the wrapper, simply do the following: +``` +git clone +cmake . +make +``` +The five modelsim applications should now be present in the current folder as symlinks along with a model-ghdl binary. Either install these into your path or point your IDE to the location of the files. + VCOM ---- ### Original commands -* -work : Set top level -* -workdir : Set working directory +* -work *top*: Set top level +* -workdir *dir*: Set working directory * -87, -93, -93c, -2000, -2002, -2008: Set VHDL version ### Additional commands -* -ghdl : Supply these arguments directly to GHDL (can be used multiple times) +* -ghdl *param*: Supply these arguments directly to GHDL (can be used multiple times) ### Notes -* cwd is expected to be the compile directory +* *cwd* is expected to be the compile directory VSIM ---- ### Original commands -* -gui work.toplevel(RTL): Set toplevel and work library +* -gui *work.toplevel(RTL)*: Set toplevel and work library ### Additional commands -* -ghdl : Supply these arguments directly to GHDL (can be used multiple times) -* -gtkwprefix: Prefix for the .gtkw save file. Path will be $cwd/$prefix$toplevel.gtkw +* -ghdl *param*: Supply these arguments directly to GHDL (can be used multiple times) +* -gtkwprefix *prefix*: Prefix for the .gtkw save file. Path will be $cwd/$prefix$toplevel.gtkw ### Notes -* cwd is expected to be the source directory (used for .gtkw save path) +* *cwd* is expected to be the source directory (used for .gtkw save path) + + +VMAP +---- +No function. + + +VLIB +---- +No function. + + +VDEL +---- +No function.