aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl
Commit message (Collapse)AuthorAgeFilesLines
* Add support for PSL onehot/onehot0 functions (#1633)T. Meissner2021-02-0915-119/+246
| | | | | | | | | | | | | | | * 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>
* vhdl-sem_expr: remove assertion and change comment. Fix #1631Tristan Gingold2021-02-061-3/+4
|
* Update copyright headers for vhdl-elocations*Tristan Gingold2021-02-046-39/+33
|
* vhdl: recognize to_stdlogicvector. For #1628Tristan Gingold2021-02-042-6/+26
|
* trans-chap7.adb: handle universal integer/real multiplication. Fix #1624Tristan Gingold2021-01-291-0/+4
|
* trans-chap5: use value mode to get object bounds. Fix #1612Tristan Gingold2021-01-191-1/+1
|
* vhdl-sem_names: avoid duplicate messages for -fsynopsysTristan Gingold2021-01-161-0/+9
|
* update license headersumarcor2021-01-14165-1815/+1485
|
* vhdl-formatters: add realignmentTristan Gingold2021-01-114-6/+234
|
* Typo fixes in Ada code.Patrick Lehmann2021-01-102-46/+46
|
* vhdl: rework formatter engine, add 'ghdl fmt' commandTristan Gingold2021-01-097-459/+688
|
* src/vhd: remove use of chapter sign in comment to have on ASCII charactersTristan Gingold2021-01-0911-36/+36
| | | | (except for vhdl-scanner)
* vhdl-parse_psl.adb: handle n_paren_prop in Psl_To_VhdlTristan Gingold2021-01-051-0/+4
|
* vhdl-parse.adb: improve diagnostic messagesTristan Gingold2021-01-051-1/+2
|
* vhdl: fix reprint of vhdl08 array element constraints.Tristan Gingold2021-01-057-271/+362
|
* vhdl-prints: avoid assertion on empty hbox for simple loopTristan Gingold2021-01-041-7/+16
|
* vhdl: recognize ieee.numeric_std_unsigned. For #1572Tristan Gingold2021-01-014-1/+136
|
* trans-chap3: also compute the size of record constraints for unbounded subtypesTristan Gingold2020-12-311-2/+23
|
* vhdl: improve error message for invalid record element constraint.Tristan Gingold2020-12-311-1/+1
|
* Rework initialization and finalization.Tristan Gingold2020-12-304-4/+16
| | | | libghdl can now be re-initialized.
* trans-chap3: compute size of subelements for unconstrained parent subtypesTristan Gingold2020-12-291-8/+39
| | | | Fix #1549
* scripts: move 'pyGHDL/xtools' to 'scripts', update Makefiles and docs ↵umarcor2020-12-281-15/+20
| | | | accordingly
* libraries: Load_Std_Library: now return a status.Tristan Gingold2020-12-263-6/+34
| | | | | | Propagate this change to libghdl and python binding to avoid abort. For #1551
* vhdl: handle locally static attributes on entity/architecture/configurationsTristan Gingold2020-12-088-279/+348
| | | | | | | | | | | | | Attributes of entity/architecture/configurations are expected to be locally static so that they can be referenced from outside (so on the non-instantiated entity). But many designs break this assumption. In relaxed mode, non-locally static attributes are allowed but now cannot be referenced outside the entity. Locally static attributes can be referenced from outside. Fix #1528
* vhdl: recognize logica vec/log and log/vec operators. For #1520Tristan Gingold2020-12-032-0/+96
|
* vhdl-sem_stmts: fix typo (#1518)Douwe den Blanken2020-11-201-1/+1
| | | | | "time must be **greather** than previous transaction" -> "time must be **greater** than previous transaction" (h was in the word 'greater')
* vhdl-parse: improve error recovery on extra right parenthesisTristan Gingold2020-11-041-7/+21
|
* vhdl-parse: improve error recovery on tick.Tristan Gingold2020-11-041-0/+5
|
* vhdl-parse: do not skip token in case of error. Fix #1500Tristan Gingold2020-10-291-1/+1
|
* vhdl-sem_scopes: avoid a crash on invalid selected name. Fix #1490Tristan Gingold2020-10-101-0/+4
|
* vhdl-parse: improve error message for extra '('.Tristan Gingold2020-10-091-1/+5
|
* vhdl-sem_specs: avoid noisy error messageTristan Gingold2020-10-071-3/+6
| | | | for attribute specification with invalid entity class.
* vhdl-sem_decls: avoid a crash after a parse error.Tristan Gingold2020-10-071-4/+11
| | | | For both declarations list and missing attribute type.
* vhdl-sem_types: improve error handling on index subtypes. Fix #1473Tristan Gingold2020-09-291-3/+7
|
* vhdl-sem_psl: fix crash in case of error in assert statement. Fix #1480Tristan Gingold2020-09-281-2/+5
|
* vhdl-canon: canon generic associations for subprogram instantiations.Tristan Gingold2020-09-281-1/+6
|
* vhdl-sem_expr: evaluate operands only if the operator result is not static.Tristan Gingold2020-09-281-5/+13
|
* vhdl-evaluation: minor rewrite.Tristan Gingold2020-09-281-5/+5
|
* vhdl: evaluate operands of operators, check bounds. For #1475Tristan Gingold2020-09-262-14/+30
|
* vhdl: analyze subprogram instantiations. WIP. For #1470Tristan Gingold2020-09-2611-217/+390
|
* vhdl: parse subprogram instantiations. For #1470Tristan Gingold2020-09-249-287/+495
|
* vhdl-sem_types: fix staticness of 'open' array constraint. Fix #1469Tristan Gingold2020-09-211-0/+1
|
* vhdl: recognize find_leftmost/find_rightmost. For #1460Tristan Gingold2020-09-162-0/+36
|
* vhdl: recognize reduce operations from numeric_std.Tristan Gingold2020-09-142-0/+68
| | | | Handle them in synthesis.
* vhdl: allow conflict design unit name with -frelaxedTristan Gingold2020-09-122-17/+43
| | | | | | Fix #1461 Allow a design unit (package or entity) to have the same name as a library.
* sem_parenthesis_name: handle more error cases.Tristan Gingold2020-09-061-1/+5
|
* vhdl: sem_parenthesis_name: do not crash on any type attribute. Fix #1456Tristan Gingold2020-09-061-18/+19
|
* trans-rtis: adjust max_depth of records. For #1404Tristan Gingold2020-08-261-3/+7
|
* vhdl/translate: handle vhdl-93 'last_value. Fix #1440Tristan Gingold2020-08-266-75/+207
|
* vhdl-evaluation: make eval_dyadic_bit_array_operator more generic.Tristan Gingold2020-08-251-42/+71
| | | | Handle any form of static expressions. Fix #1429