Emil J. Tywoniak
49abdc8d3a
fixup! CI: sneak FlexLexer.h into the WASI sysroot
2025-08-08 15:36:43 +02:00
Emil J. Tywoniak
5fcc7aa51a
CI: bump flex and bison on Windows
2025-08-08 15:36:43 +02:00
Emil J. Tywoniak
dde790fa40
CI: sneak FlexLexer.h into the WASI sysroot
2025-08-08 15:36:43 +02:00
Emil J. Tywoniak
b0e3e99766
verilog: fix build dependency graph
2025-08-08 15:36:43 +02:00
Gary Wong
9f022f01da
verilog: add support for SystemVerilog string literals.
...
Differences are new escape sequences (including escaped newline
continuations and hex escapes) and triple-quoted literals.
2025-08-08 15:36:43 +02:00
garytwong
5240a63353
verilog: fix string literal regular expression ( #5187 )
...
* verilog: fix string literal regular expression.
A backslash was improperly quoted, causing string literal matching
to fail when the final token before a closing quote was an escaped
backslash.
* verilog: add regression test for string literal regex bug.
Test for bug triggered by escaped backslash immediately before
closing quote (introduced in ca7d94af
and fixed by 40aa7eaf
).
2025-08-08 15:36:43 +02:00
Emil J. Tywoniak
221547a41e
docs: fix verilog frontend internals
2025-08-08 15:36:43 +02:00
Emil J. Tywoniak
9630663459
read_verilog, ast: use unified locations in errors and simplify dependencies
2025-08-08 15:36:43 +02:00
Emil J. Tywoniak
e090db4ebc
readme, verilog_parser: bison 3.8 and ubuntu 22.04 example
2025-08-08 15:36:43 +02:00
Krystine Sherwin
3aa1c1abe6
dpicall.cc: Fix sans-plugin function call
2025-08-08 15:36:43 +02:00
Krystine Sherwin
408a992d54
Makefile: Add flex lib/include for brew
2025-08-08 15:36:43 +02:00
Krystine Sherwin
a7c80ffe5f
preproc.cc: Use full path for generated file
...
Fixes out-of-tree builds.
2025-08-08 15:36:43 +02:00
Krystine Sherwin
3712900e6a
docs/verilog_frontend.rst: Fix indentation
2025-08-08 15:36:43 +02:00
Krystine Sherwin
fc0be83d7f
preproc depends on parser
2025-08-08 15:36:43 +02:00
Krystine Sherwin
889436f8bb
Add libfl-dev
...
Should fix the missing `<FlexLexer.h>` error.
2025-08-08 15:36:43 +02:00
Emil J. Tywoniak
e3fd310830
fixup! fixup! ast, read_verilog: unify location types, reduce filename copying
2025-08-08 15:36:43 +02:00
Emil J. Tywoniak
4509446c72
fixup! ast, read_verilog: unify location types, reduce filename copying
2025-08-08 15:36:43 +02:00
Emil J. Tywoniak
2a9102565f
ast, read_verilog: unify location types, reduce filename copying
2025-08-08 15:36:43 +02:00
Emil J. Tywoniak
041599b7d9
neater errors, lost in the sauce of source
2025-08-08 15:36:43 +02:00
Emil J. Tywoniak
a6293df781
ast, read_verilog: refactoring
2025-08-08 15:36:43 +02:00
Emil J. Tywoniak
51fc94cf2d
ast: fix new memory safety bugs from rebase
2025-08-08 15:36:43 +02:00
Emil J. Tywoniak
b7b3caa475
ast: ownership for string values
2025-08-08 15:36:43 +02:00
Emil J. Tywoniak
dfcef88310
ast, read_verilog: ownership in AST, use C++ styles for parser and lexer
2025-08-08 15:36:42 +02:00
Emil J. Tywoniak
070a758248
Revert "verilog: fix string literal regular expression ( #5187 )"
...
This reverts commit 834a7294b7
.
2025-08-08 15:35:08 +02:00
Emil J. Tywoniak
5ae0120134
Revert "verilog: add support for SystemVerilog string literals."
...
This reverts commit 5feb1a1752
.
2025-08-08 15:35:08 +02:00
Emil J. Tywoniak
8a76eba891
Revert "verilog: fix parser "if" memory errors."
...
This reverts commit 34a2abeddb
.
2025-08-08 15:35:08 +02:00
Emil J
d68d28d05e
Merge pull request #5183 from YosysHQ/emil/test-diagnostics
...
logger: add -expect types prefix-log, prefix-warning, prefix-error
2025-08-08 14:46:25 +02:00
github-actions[bot]
c9558b3d4f
Bump version
2025-08-08 00:26:50 +00:00
KrystalDelusion
7f0e864d44
Merge pull request #5265 from bhagwat-rahul/fix-package-import
...
Support package import
2025-08-08 09:32:54 +12:00
Emil J
21b9c8e4c6
Merge pull request #5236 from rocallahan/const-lookup
...
Make `dict` and `pool` const lookup methods never rehash the hashtable
2025-08-07 11:43:39 +02:00
Emil J
1e58443397
Merge pull request #5264 from YosysHQ/krys/raise_error_always
...
raise_error: Add -always
2025-08-07 11:43:04 +02:00
Miodrag Milanovic
e6059d042d
Next dev cycle
2025-08-07 09:20:45 +02:00
Miodrag Milanovic
9c447ad9d4
Release version 0.56
2025-08-07 07:59:29 +02:00
github-actions[bot]
ab66d8b814
Bump version
2025-08-07 00:27:08 +00:00
KrystalDelusion
4230c2712f
Merge pull request #5269 from georgerennie/george/pyosys_source_location
...
pyosys: support trailing defaulted source_location arguments
2025-08-07 11:50:06 +12:00
Rahul Bhagwat
5cc1365b32
add newline - whitespace
2025-08-06 19:00:11 -04:00
Lofty
2298a2aa86
Merge pull request #4750 from georgerennie/george/pyosys_dereference
...
pyosys: dereference cpp objects when constructing a tuple
2025-08-06 22:03:03 +01:00
George Rennie
46a711d566
py_wrap_generator.py: support srd::source_location as trailing default argument
2025-08-06 21:38:03 +01:00
George Rennie
b610afbc1b
py_wrap_generator.py: whitespace
2025-08-06 21:37:28 +01:00
George Rennie
96108ad8b4
kernel/register.h: whitespace
2025-08-06 21:34:37 +01:00
Rahul Bhagwat
f12055d3e0
rm debug logs
2025-08-06 15:39:36 -04:00
Rahul Bhagwat
d3c8e6c14c
use more standard naming conventions
2025-08-06 15:39:30 -04:00
Rahul Bhagwat
7e0157ba2b
fix whitespace issues
2025-08-06 15:32:36 -04:00
Emil J
8576d2d147
Merge pull request #5263 from rocallahan/stringf-width
...
Making `stringf()` use the format conversion specs as-is without widening them
2025-08-06 11:36:28 +02:00
KrystalDelusion
bc0f70563a
Merge pull request #5255 from YosysHQ/krys/re-cmdref
...
Reapply "Add groups to command reference"
2025-08-06 15:25:03 +12:00
Krystine Sherwin
20a51742f4
Docs: Fix cmd links from bugpoint docs
2025-08-06 13:52:13 +12:00
Krystine Sherwin
ab403635e3
CI: Enable source tracking for reusable build
...
The `test-docs-build` jobs require source tracking enabled to prevent warnings-as-errors.
Also add an extra note to the readme in case users run into the same.
2025-08-06 13:52:13 +12:00
Krystine Sherwin
891a907a30
Add and use ENABLE_HELP_SOURCE
...
Conditionally include help source tracking to preserve ABI.
Docs builds can (and should) use `ENABLE_HELP_SOURCE` so that the generated sphinx docs can perform default grouping and link to source files.
Regular user-builds don't need the source tracking.
2025-08-06 13:52:13 +12:00
Krystine Sherwin
7fe4ae45fd
log_help: Fix mem leaks
...
`_content` vector owns elements so that when the `ContentListing` is deleted so is the content.
Remove `get_content()` method in favour of `begin()` and `end()` const iterators.
More `const` in general, and iterations over `ContentListing` use `&content` to avoid copying data.
2025-08-06 13:52:12 +12:00
Krystine Sherwin
3959d19291
Reapply "Add groups to command reference"
...
This reverts commit 81f87ce6ed
.
2025-08-06 13:52:12 +12:00