1
0
mirror of https://github.com/cclassic/model-ghdl synced 2024-11-29 09:13:28 +01:00
Modelsim to GHDL converter
Go to file
Makise Kurisu 4f7478b8c1 Added doc
2016-04-29 20:38:30 +02:00
.gitignore Rewrite in plain C and gtk 2015-10-22 20:23:24 +02:00
CMakeLists.txt Rewrite in plain C and gtk 2015-10-22 20:23:24 +02:00
gui.c Invoked compiler, simtime and error dialog 2015-10-23 20:47:21 +02:00
gui.h Invoked compiler, simtime and error dialog 2015-10-23 20:47:21 +02:00
LICENSE Init commit 2015-01-18 20:40:39 +01:00
main.c vcom: Space added for -ghdl param 2016-04-29 20:38:22 +02:00
README.md Added doc 2016-04-29 20:38:30 +02:00

model-ghdl

A wrapper for GHDL to make it look like Mentor's ModelSim. Helpful for use with programs like Sigasi.

VCOM

Original commands

  • -work : Set top level
  • -workdir : 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)

Notes

  • cwd is expected to be the compile directory

VSIM

Original commands

  • -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

Notes

  • cwd is expected to be the source directory (used for .gtkw save path)