Commit Graph

14455 Commits

Author SHA1 Message Date
Martin Povišer 915df16c84
Merge pull request #4728 from YosysHQ/emil/fix-filterlib-roundtrip
filterlib: preserve value quotes
2024-11-12 10:54:35 +01:00
Krystine Sherwin d0e5677760
Docs: Less exaggeration 2024-11-12 16:33:47 +13:00
Krystine Sherwin 1476eaba00
Docs: Add fallback for missing furo_ys
This is mainly intended for (latex)pdf builds which do not use the furo-ys html theme, where the yosys script syntax highlighting can safely fallback to plaintext.  This effectively makes `furo-ys` an optional dependency to simplify distro-package maintainability.
See also #4725.
2024-11-12 16:23:12 +13:00
Emil J. Tywoniak 49e1597ea4 filterlib: preserve value quotes 2024-11-12 01:21:07 +01:00
github-actions[bot] 3afb7725f1 Bump version 2024-11-12 00:20:17 +00:00
George Rennie ff6c9446c0 bufnorm: preserve constant bits when mapping back to connections 2024-11-12 01:05:15 +01:00
Robin Ole Heinemann 8bc4bd8a20 cxxrtl, fmt: escape double quotes in c strings 2024-11-11 18:49:05 +00:00
Martin Povišer 7cfc49791f
Merge pull request #4703 from georgerennie/george/pyosys_objrange
pyosys: support ObjRange
2024-11-11 17:07:28 +01:00
Jannis Harder 558b2f9ae9
Merge pull request #3953 from georgerennie/bug_3769
write_smt2: Check for constant bool after fully resolving signal
2024-11-11 16:23:35 +01:00
Jannis Harder 014cb531aa
Merge pull request #4645 from georgerennie/george/btor_undef_array_init
write_btor: only initialize array with const value when it is fully def
2024-11-11 16:18:57 +01:00
Jannis Harder 261b44718d
Merge pull request #4641 from georgerennie/george/btor_undriven_wires
write_btor: don't emit undriven bits multiple times
2024-11-11 16:17:25 +01:00
Martin Povišer 1b1a6c4aed
Merge pull request #4525 from georgerennie/peepopt_clock_gate
peepopt: Add formal opt to rewrite latches to ffs in clock gates
2024-11-11 14:49:09 +01:00
Larry Doolittle 3ae9ca7c2b drivertools.h: switch from log_assert(0) to log_abort() for new feature 2024-11-08 10:30:11 -08:00
Emil J f20f913223
Merge pull request #4679 from YosysHQ/emil/readme-mac-lto
readme: tell macOS users to use brew clang with LTO
2024-11-08 19:26:28 +01:00
Emil J 792de6e2eb
Merge pull request #4680 from YosysHQ/emil/fix-mac-lto-plugins
Makefile: add -rdynamic on macOS to fix plugins with LTO
2024-11-08 19:24:48 +01:00
Emil J 0aa2f0efdf
Merge pull request #4715 from hzeller/feature-20241106-use-stdlib-for-free
Include cstdlib for free()
2024-11-08 19:07:42 +01:00
Martin Povišer e82e5f8b13 rtlil: Adjust internal check for `$mem_v2` cells
There's a mismatch between what `kernel/mem.cc` emits for memories
with no read ports and what the internal RTLIL check expects.

The point of dispute it whether some of the parameters relating to read
ports have a zero-width value in this case. The `mem.cc` code says no,
the internal checker says yes.

Surveying the other `$mem_v2` parameters, and internal cell parameters
in general, I am inclined to side with the `mem.cc` code.

This breaks RTLIL compatibility but for an obscure edge case.
2024-11-08 15:18:43 +01:00
Miodrag Milanovic df391f5816 verific: fix blackbox regression and add test case 2024-11-08 14:57:04 +01:00
Larry Doolittle d36a387aca kernel/drivertools.h: avoid maybe-uninitialized compile warnings
Initialize "unsigned int inner" in hash() functions
Includes a log_assert() that might help catch corrupted data structures
or future incomplete modification of DriveType definition
2024-11-07 19:49:25 -08:00
github-actions[bot] cef87cc179 Bump version 2024-11-08 00:20:23 +00:00
KrystalDelusion 4343c791cb
Merge pull request #4704 from YosysHQ/krys/drop_ilang
Remove references to ilang
2024-11-08 11:28:06 +13:00
KrystalDelusion 3c30a9a108
Merge pull request #4543 from YosysHQ/update_fst
libs/fst: Update from upstream
2024-11-08 05:36:25 +13:00
Martin Povišer 5c1889634d
Merge pull request #4720 from georgerennie/george/bufnorm_constants
bufnorm: preserve constant bits driving wires
2024-11-07 13:56:53 +01:00
George Rennie a31c968340 tests/bufnorm: add test for bufnorm of constant 2024-11-07 12:55:50 +01:00
George Rennie 8f6058a7d6 bufnorm: preserve constant bits driving wires 2024-11-07 11:48:48 +01:00
AdamLee7 7ed359fa7b add select option for write_json 2024-11-07 17:48:06 +08:00
Henner Zeller 285fd5b83a Include cstdlib for free() 2024-11-06 17:35:00 -08:00
George Rennie c23e64a236 tests/proc: add proc_dff bug 4712 as testcase 2024-11-07 00:10:17 +01:00
George Rennie 626dbbe1e0 proc_dff: fix early return bug
* early return caused proc_dff to stop considering rules after seeing
  one async rule - this is because continue should have been used to
  continue to procecssing the next rule instead of returning from the
  function
2024-11-07 00:06:03 +01:00
N. Engelhardt 2de9f00368
Merge pull request #4620 from RCoeurjoly/fix-vcd-parsing-ghdl-var-spacing 2024-11-06 16:29:07 +01:00
N. Engelhardt 9068ec5566
Merge pull request #4627 from RCoeurjoly/roland/assume_x 2024-11-06 16:27:30 +01:00
Emil J. Tywoniak 387a235158 functional, glift: use fold overload of IdString::in instead of pool literals 2024-11-06 12:48:32 +01:00
github-actions[bot] 2de24dc1c2 Bump version 2024-11-06 00:20:20 +00:00
Martin Povišer 29af057430
Merge pull request #4707 from povik/stat-unused
stat: Drop unused field
2024-11-05 09:38:29 +01:00
Martin Povišer 4df3a5d7ec stat: Drop unused field 2024-11-05 09:37:35 +01:00
Martin Povišer 69a36aec3b Add keep_hierarchy test 2024-11-05 09:28:45 +01:00
Martin Povišer 426ef53c20 Document `gate_cost_equivalent` 2024-11-05 09:14:23 +01:00
Martin Povišer c8fffce2b5 keep_hierarchy: Update messages 2024-11-05 09:03:01 +01:00
Martin Povišer cf79630be0 keep_hierarchy: Require size information on blackboxes 2024-11-05 09:02:36 +01:00
Martin Povišer 2425352551 keep_hierarchy: Redo hierarchy traversal for `-min_cost` 2024-11-05 09:02:36 +01:00
Miodrag Milanovic 0dd1e43dff Next dev cycle 2024-11-05 08:23:13 +01:00
Miodrag Milanovic 647d61dd92 Release version 0.47 2024-11-05 07:59:25 +01:00
Krystine Sherwin e4994554fd
Docs: Fix nested list 2024-11-05 13:48:48 +13:00
Krystine Sherwin f2517f7599
README: Add note on linting 2024-11-05 13:42:16 +13:00
Krystine Sherwin b14a651142
Docs: Mention verilator for linting
Link to verilator in the introduction.
Include `verilator --lint-only fifo.v` in the example synth doc.
Fix linter warnings in fifo.v.
2024-11-05 13:29:45 +13:00
github-actions[bot] 2999f5589c Bump version 2024-11-05 00:20:31 +00:00
Krystine Sherwin ee73a91f44
Remove references to ilang 2024-11-05 12:36:31 +13:00
Lofty 52c231dd64
Merge pull request #4697 from georgerennie/george/zero_width_string
frontends/ast.cc: special-case zero width strings as "\0"
2024-11-04 15:40:04 +00:00
Lofty 3250f2b82b
Merge pull request #4700 from povik/select-list-mod
Add `select -list-mod`
2024-11-04 15:38:42 +00:00
Lofty 2610ccb8fa
Merge pull request #4702 from povik/cellmatch-derive-luts
Document `cellmatch -derive_luts` option
2024-11-04 15:38:04 +00:00