aboutsummaryrefslogtreecommitdiffstats
path: root/src/ghdldrv
Commit message (Collapse)AuthorAgeFilesLines
* Fix include-dir paths returned by cmdline _again_Daniel Gröber2022-03-141-1/+2
| | | | | | --libghdl-include-dir should point at a directory containing a ghdl/ subdirectory while --vpi-include-dir should point right at the ghdl/ subdir.
* Fix hardcoded values in gcc backend's default_pathsDaniel Gröber2022-03-131-44/+0
| | | | | | | | | | The gcc backend's Make-lang.in still had hardcoded install paths. Since this is copied to the gcc build system we don't have access to our configure variables, so just treat it as a subst_file in the configure script. While we're at it we get rid of the separate sed invocation for default_paths and have that go through config.status instead.
* mk: Introduce configure options for inc/libdirsuffixDaniel Gröber2022-03-115-15/+18
| | | | | | | | This patch is based on one from the Debian ghdl packaging. We use it to support coinstallability of the different ghdl backend executables. Force prepending ghdl/ to the include path really doesn't help us with that any. Note this effectively reverts 786ca17ce.
* Fix --libghdl-include-dir ghdl/ suffixDaniel Gröber2022-03-111-1/+3
| | | | | | Commit 66cd5e0aa ("Include directory structure proposal.") added a ghdl/ subdir to the include directory. This wasn't properly reflected in ghdlsynth.
* Add --std=19Xiretza2022-02-281-0/+2
| | | | | | Currently, all behaviour is the same as for --std=08, except for the standard library search path. No standard libraries exist yet, so running ghdl with --std=19 will fail.
* Prepare for release 2.0.0Tristan Gingold2022-02-281-1/+1
|
* ghdldrv: fix crash due to double initializationTristan Gingold2021-12-191-0/+3
|
* ghdldrv: handle generic overrides on foreign unitsTristan Gingold2021-12-132-29/+21
|
* synth: add --latches option to enable latches. Fix #938Tristan Gingold2021-12-061-0/+3
|
* synth: adjustments for foreign_moduleTristan Gingold2021-11-281-3/+10
|
* synth: add a hook to resolve foreign instantiation namesTristan Gingold2021-11-282-0/+8
|
* ghdlcomp: exit with error status in case of error. For #1908Tristan Gingold2021-11-051-0/+4
|
* synth: do full elaboration before synthesisTristan Gingold2021-11-011-13/+15
|
* elab-order command: add an option to display libraries. Fix #1736Tristan Gingold2021-10-041-4/+27
|
* ghdldrv: use environment variable CC to set the default compiler. For #1629Tristan Gingold2021-09-231-3/+6
|
* Add explicit ?>= and ?> functions for translation.Brian Padalino2021-09-221-0/+4
| | | | | | Instead of swapping L/R arguments to try to create ?>= and ?>, create a function for each which performs the not operation of ?< and ?<= as defined by the LRM.
* ghdllocal: generalize top level unit extractionTristan Gingold2021-09-075-38/+59
|
* vhdl and psl: parse sync_abort and async_abort. For #1654Tristan Gingold2021-08-301-0/+2
|
* ghdlsynth: add debug option for elaborationTristan Gingold2021-08-281-1/+5
|
* ghdlsynth.adb: fix a typoTristan Gingold2021-08-261-1/+1
|
* ghdldrv: handle auxbase option in ortho/gcc. Fix #1845Tristan Gingold2021-08-241-10/+0
| | | | | Remove additional option in ghdldrv.adb, automatically set aux_base_name in ortho-lang-9.c
* ghdldrv.adb: use cc (instead of gcc) as linker driver. Fix #1629Tristan Gingold2021-08-011-1/+1
|
* ghdldrv.adb: factorize code (for #1817)Tristan Gingold2021-07-231-68/+57
|
* ghdldrv.adb: pass option -auxbase to ghdl1. For #1817Tristan Gingold2021-07-231-1/+14
|
* ghdllocal.adb: do not set Exec_Prefix if already set (by libghdl)Tristan Gingold2021-07-051-1/+4
|
* Fix warnings from gnatgpl 2021Tristan Gingold2021-05-301-1/+1
|
* ghdlsynth: never display a foreign module as pure vhdlTristan Gingold2021-04-281-2/+7
| | | | (do not try to display the original entity when this is none)
* synth: add verilog outputTristan Gingold2021-04-281-0/+6
|
* synth: rename synth-context to synth-vhdl_contextTristan Gingold2021-04-161-2/+2
|
* ghdldrv,configure: allow LIB.UNIT name for -e/-r commands. Fix #1718Tristan Gingold2021-04-105-27/+91
|
* ghdlsynth.adb: fix a previous commitTristan Gingold2021-04-051-1/+1
|
* vhdl and libraries: add support for binding to a foreign moduleTristan Gingold2021-04-051-12/+14
|
* ghdldrv/: initial support for foreign modulesTristan Gingold2021-04-053-8/+25
|
* ghdlsynth: add --out=raw-vhdl. For #1702Tristan Gingold2021-03-291-7/+7
|
* ghdlsynth.adb: also allow .psl files without any warningTristan Gingold2021-03-271-6/+10
|
* ghdlvpi.adb: use Directory_Separator.Tristan Gingold2021-03-071-1/+3
|
* Include directory structure proposal.Michał Kruszewski2021-03-071-1/+1
|
* VHPI: add initial minimal implementationMarlon James2021-03-042-9/+9
| | | | | | | | Minimal implementation of VHPI provides library loading and error support. Calling most vhpi_* functions will raise a VHPI error condition. Incorporates VHPI thunks into libghdlvpi for linking.
* ghdlsynth.adb: unknown vendor library is now an error. Fix #1650Tristan Gingold2021-02-191-1/+6
|
* Makefile: put libraries in lib/. For #1642Tristan Gingold2021-02-131-2/+1
|
* Add support for PSL onehot/onehot0 functions (#1633)T. Meissner2021-02-091-1/+3
| | | | | | | | | | | | | | | * vhdl: parse PSL onehot/onehot0 builtin calls. For #662 * update pyGHDL bindings * Synthesis of PSL built-in onehot/onehot0 function. * testsuite/synth: add tests of PSL built-in functions onehot()/onehot0() for #662 * doc: add info about PSL built-in functions onehot()/onehot0() for #662 * synth: refactor synthesis of onehot/onehot0 functions Co-authored-by: eine <eine@users.noreply.github.com>
* src/ghdldrv: fix regression for ghdl-yosys-pluginTristan Gingold2021-01-203-4/+12
| | | | Allow to do multiple synthesis
* ghdlsynth: check filename extensionTristan Gingold2021-01-191-0/+8
|
* update version/copyright yearumarcor2021-01-161-1/+1
|
* update license headersumarcor2021-01-1428-308/+252
|
* vhdl-formatters: add realignmentTristan Gingold2021-01-111-0/+5
|
* vhdl: rework formatter engine, add 'ghdl fmt' commandTristan Gingold2021-01-091-23/+104
|
* cli: support '[--]version --ref' and '[--]version --hash' tooumarcor2021-01-051-2/+2
|
* cli: add 'version ref' and 'version hash'umarcor2021-01-051-3/+13
|
* synth: add option to treat asserts as assumes and vice-versatmeissner2021-01-021-0/+8
|