Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bump fork for version 0.48 #26

Merged
merged 254 commits into from
Dec 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
254 commits
Select commit Hold shift + click to select a range
b6ceff2
peepopt clockgateff: add testcase
georgerennie Aug 7, 2024
58af706
opt_demorgan: skip zero width cells
georgerennie Sep 24, 2024
e105cae
opt_demorgan: add test for zero width cell
georgerennie Sep 25, 2024
023f029
opt_reduce: keep at least one input to $reduce_or/and cells
georgerennie Sep 25, 2024
0572f88
opt_reduce: add test for constant $reduce_and/or not being zero width
georgerennie Sep 25, 2024
76c615b
Fix: handle VCD variable references with and without whitespace
RCoeurjoly Sep 30, 2024
5ea2c6e
Assume x values for missing signal data in FST
RCoeurjoly Oct 2, 2024
268926c
write_btor: don't emit undriven bits multiple times
georgerennie Oct 8, 2024
6ab3931
write_btor: only initialize array with const value when it is fully def
georgerennie Oct 9, 2024
2edb939
libs/fst: Update from upstream
KrystalDelusion Oct 16, 2024
c4a0845
libs/fst: Fix filename references
KrystalDelusion Oct 16, 2024
a54721a
libs/fst: Patch for zlib on windows
KrystalDelusion Oct 16, 2024
1055e8c
libs/fst: Add fst_win_unistd.h to srcfiles.txt
KrystalDelusion Oct 16, 2024
5f83d4d
libs/fst: Patch <io.h>
KrystalDelusion Oct 16, 2024
827e5ba
libs/fst: Update from upstream
KrystalDelusion Oct 16, 2024
2157f67
libs/fst: Patch more _MSC_VER checks
KrystalDelusion Oct 16, 2024
a370c11
libs/fst: Use unbuffered IO flag
KrystalDelusion Oct 17, 2024
ccd98d2
Start Tcl design inspection methods
povik Oct 16, 2024
f3213d5
README: tell macOS users to use brew clang with LTO
widlarizer Oct 22, 2024
b34e260
Makefile: add -rdynamic on macOS to fix plugins with LTO
widlarizer Oct 22, 2024
de728c9
pyosys generator: ignore attributes
georgerennie Nov 4, 2024
84ee345
pyosys: support ObjRange
georgerennie Nov 4, 2024
cba9460
Split off Tcl APIs into `tclapi.cc`
povik Nov 4, 2024
23922fa
Test new Tcl methods
povik Nov 4, 2024
f7400a0
Fix test
povik Nov 4, 2024
ee73a91
Remove references to ilang
KrystalDelusion Nov 4, 2024
b14a651
Docs: Mention verilator for linting
KrystalDelusion Nov 5, 2024
f2517f7
README: Add note on linting
KrystalDelusion Nov 5, 2024
e499455
Docs: Fix nested list
KrystalDelusion Nov 5, 2024
2425352
keep_hierarchy: Redo hierarchy traversal for `-min_cost`
povik Oct 16, 2024
cf79630
keep_hierarchy: Require size information on blackboxes
povik Oct 18, 2024
c8fffce
keep_hierarchy: Update messages
povik Nov 5, 2024
426ef53
Document `gate_cost_equivalent`
povik Nov 5, 2024
69a36ae
Add keep_hierarchy test
povik Nov 5, 2024
2de24dc
Bump version
github-actions[bot] Nov 6, 2024
387a235
functional, glift: use fold overload of IdString::in instead of pool …
widlarizer Nov 6, 2024
9068ec5
Merge pull request #4627 from RCoeurjoly/roland/assume_x
nakengelhardt Nov 6, 2024
2de9f00
Merge pull request #4620 from RCoeurjoly/fix-vcd-parsing-ghdl-var-spa…
nakengelhardt Nov 6, 2024
626dbbe
proc_dff: fix early return bug
georgerennie Nov 6, 2024
c23e64a
tests/proc: add proc_dff bug 4712 as testcase
georgerennie Nov 6, 2024
285fd5b
Include cstdlib for free()
hzeller Nov 7, 2024
7ed359f
add select option for write_json
AdamLee7 Nov 7, 2024
8f6058a
bufnorm: preserve constant bits driving wires
georgerennie Nov 7, 2024
a31c968
tests/bufnorm: add test for bufnorm of constant
georgerennie Nov 7, 2024
5c18896
Merge pull request #4720 from georgerennie/george/bufnorm_constants
povik Nov 7, 2024
3c30a9a
Merge pull request #4543 from YosysHQ/update_fst
KrystalDelusion Nov 7, 2024
4343c79
Merge pull request #4704 from YosysHQ/krys/drop_ilang
KrystalDelusion Nov 7, 2024
cef87cc
Bump version
github-actions[bot] Nov 8, 2024
d36a387
kernel/drivertools.h: avoid maybe-uninitialized compile warnings
ldoolitt Nov 8, 2024
df391f5
verific: fix blackbox regression and add test case
mmicko Nov 8, 2024
e82e5f8
rtlil: Adjust internal check for `$mem_v2` cells
povik Nov 8, 2024
0aa2f0e
Merge pull request #4715 from hzeller/feature-20241106-use-stdlib-for…
widlarizer Nov 8, 2024
792de6e
Merge pull request #4680 from YosysHQ/emil/fix-mac-lto-plugins
widlarizer Nov 8, 2024
f20f913
Merge pull request #4679 from YosysHQ/emil/readme-mac-lto
widlarizer Nov 8, 2024
3ae9ca7
drivertools.h: switch from log_assert(0) to log_abort() for new feature
ldoolitt Nov 8, 2024
1b1a6c4
Merge pull request #4525 from georgerennie/peepopt_clock_gate
povik Nov 11, 2024
261b447
Merge pull request #4641 from georgerennie/george/btor_undriven_wires
jix Nov 11, 2024
014cb53
Merge pull request #4645 from georgerennie/george/btor_undef_array_init
jix Nov 11, 2024
558b2f9
Merge pull request #3953 from georgerennie/bug_3769
jix Nov 11, 2024
7cfc497
Merge pull request #4703 from georgerennie/george/pyosys_objrange
povik Nov 11, 2024
8bc4bd8
cxxrtl, fmt: escape double quotes in c strings
rroohhh Nov 11, 2024
ff6c944
bufnorm: preserve constant bits when mapping back to connections
georgerennie Nov 12, 2024
3afb772
Bump version
github-actions[bot] Nov 12, 2024
49e1597
filterlib: preserve value quotes
widlarizer Nov 12, 2024
1476eab
Docs: Add fallback for missing furo_ys
KrystalDelusion Nov 12, 2024
d0e5677
Docs: Less exaggeration
KrystalDelusion Nov 8, 2024
915df16
Merge pull request #4728 from YosysHQ/emil/fix-filterlib-roundtrip
povik Nov 12, 2024
c7e8d41
read_liberty: Set `area` `capacitance` attributes
povik Oct 16, 2024
0e96e47
read_liberty: Defer handling of re-definitions
povik Oct 21, 2024
28aa7b0
read_liberty: Start an `-ignore_busses` option
povik Oct 21, 2024
5a0cb5d
Check in filtered samples of IHP's Liberty data for tests
povik Oct 23, 2024
56a9202
Add read_liberty tests of new options
povik Oct 23, 2024
0d5c412
read_liberty: s/busses/buses/
povik Nov 12, 2024
6d4f056
cxxrtl: use debug attrs of alias not aliasee
rroohhh Nov 12, 2024
06e3ac4
Fix bug when setting Verific runtime string flags.
mikesinouye Nov 12, 2024
8d0bf3f
Bump version
github-actions[bot] Nov 13, 2024
96c526d
Print a note about finding attribute (* top *) in hierarchy
nakengelhardt Nov 13, 2024
9da7341
Merge pull request #4727 from georgerennie/george/bufnorm_constants2
povik Nov 13, 2024
4ce8c7a
Merge pull request #4709 from YosysHQ/emil/idstring-in-fold
povik Nov 13, 2024
2dba345
portarcs: New command to derive propagation arcs
povik Nov 13, 2024
08ed2c7
dfflibmap: enable inference
Ravenslofty Nov 3, 2024
4f40187
dfflibmap: move expression code into libparse
Ravenslofty Nov 7, 2024
6694d1c
Merge pull request #4736 from povik/portarcs
Ravenslofty Nov 13, 2024
d9ef388
Merge pull request #4698 from YosysHQ/lofty/dfflibmap-enable
Ravenslofty Nov 13, 2024
a750c94
Include stdlib.h for `abort()`
hzeller Nov 13, 2024
a22ff47
Bump version
github-actions[bot] Nov 14, 2024
bbb6bbd
Merge pull request #4734 from mikesinouye/verific
povik Nov 14, 2024
45880ea
clockgate: add -liberty
widlarizer Nov 14, 2024
77e1f74
gatemate: run `simplemap` after `muxcover` to prevent unmapped multip…
pu-cc Nov 15, 2024
9fa9a2b
Merge pull request #4746 from pu-cc/gatemate-mux-fix
mmicko Nov 15, 2024
81011ad
Bump version
github-actions[bot] Nov 16, 2024
8f9a0b6
Fix O(N^2) port dump down to O(N)
akashlevy Nov 17, 2024
3a32729
Remove keep_running variable (unused)
akashlevy Nov 17, 2024
56f841d
Fix editline
akashlevy Nov 17, 2024
b8329df
add GW2A and GW5A cells
pepijndevos Nov 17, 2024
ace558e
Simplify using module->ports, which is apparently sorted
akashlevy Nov 17, 2024
020dd0a
Merge pull request #4753 from akashlevy/write_verilog_port_dump_fix
povik Nov 17, 2024
532d599
Bump version
github-actions[bot] Nov 18, 2024
47a2a09
Enforce mutual exclusion on readline/editline
akashlevy Nov 18, 2024
bd40805
Merge pull request #4754 from akashlevy/editline-fixes
mmicko Nov 18, 2024
c921d85
clockgate: fix test comments
widlarizer Nov 18, 2024
1e3f8cc
clockgate: add test liberty file
widlarizer Nov 18, 2024
b08441d
clockgate: shuffle test liberty to exercise comparison better
widlarizer Nov 18, 2024
e6793da
clockgate: refactor
widlarizer Nov 18, 2024
a5bc36f
clockgate: add -dont_use
widlarizer Nov 18, 2024
983c54c
clockgate: help string add -dont_use and -liberty
widlarizer Nov 18, 2024
1cb5fd0
Merge pull request #4682 from povik/read_liberty-extensions
povik Nov 18, 2024
270846a
Merge pull request #4723 from povik/memv2-nordports
povik Nov 18, 2024
22e214e
Merge pull request #4705 from YosysHQ/docs-preview-lintonly
KrystalDelusion Nov 18, 2024
4d96cbe
clockgate: reduce errors to warnings
widlarizer Nov 18, 2024
dcff8b0
Merge pull request #4719 from AdamLee7/main
KrystalDelusion Nov 18, 2024
b89bd02
Bump version
github-actions[bot] Nov 19, 2024
44b68fb
Docs: Add check for envvar to disable todos
KrystalDelusion Nov 19, 2024
e649c1a
Docs: Accept empty string for release envvar
KrystalDelusion Nov 19, 2024
1184418
Merge pull request #4739 from hzeller/feature-20241113-stdlib-for-abort
povik Nov 20, 2024
7ebe451
Merge pull request #4714 from georgerennie/george/proc_dff_bug_multip…
povik Nov 20, 2024
88abc4c
Merge pull request #4755 from pepijndevos/cells_xtra
widlarizer Nov 20, 2024
18459b4
Merge pull request #4614 from georgerennie/george/opt_reduce_cell_width
widlarizer Nov 20, 2024
cc17d5b
Merge pull request #4612 from georgerennie/george/opt_demorgan_zero_w…
widlarizer Nov 20, 2024
da8c8b4
Merge pull request #4701 from georgerennie/george/pyosys_noreturn_attrs
widlarizer Nov 20, 2024
56b80bd
Merge pull request #4448 from georgerennie/shiftadd_gating
widlarizer Nov 20, 2024
9043dc0
tests: replace read_ilang with read_rtlil
georgerennie Nov 20, 2024
53a4ec3
Merge pull request #4762 from georgerennie/george/fix_read_ilang_test
povik Nov 20, 2024
5b6baa3
Merge pull request #4744 from YosysHQ/emil/clockgate-liberty
widlarizer Nov 20, 2024
18b6165
pyosys: catch boost::python::error_already_set
georgerennie Nov 4, 2024
4b3c03d
Bump version
github-actions[bot] Nov 21, 2024
d6bd521
verific : VHDL assert DFF initial value set on Verific library patch …
mmicko Nov 21, 2024
4a057b3
read_rtlil: warn on assigns after switches in case rules
georgerennie Nov 21, 2024
8148ebd
docs: document that assigns must come before switches in case rules
georgerennie Nov 21, 2024
9512ec4
Merge pull request #4764 from YosysHQ/micko/verific_vhdl_assert
mmicko Nov 25, 2024
29e8812
Merge pull request #4724 from YosysHQ/micko/blackbox_verific
mmicko Nov 25, 2024
6ff5823
test-compile: Use clang-18 and gcc-14
KrystalDelusion Nov 25, 2024
1e0e367
test-compile: Drop back to gcc-13
KrystalDelusion Nov 25, 2024
98b4aff
Bump version
github-actions[bot] Nov 26, 2024
65146e3
driver: add --autoidx
widlarizer Nov 26, 2024
be836f4
gowin: split cells_xtra by family
pepijndevos Nov 26, 2024
79e9258
wrapcell: Add new command
povik Nov 27, 2024
2962f8f
techmap: Add `-dont_map` for selective disabling of rules
povik Nov 27, 2024
f428163
Move get_blackbox_attribute method to Module instead of AttrObject
KrystalDelusion Nov 27, 2024
698c464
Merge pull request #4767 from YosysHQ/krys/latest-compilers
KrystalDelusion Nov 27, 2024
3bab837
Merge pull request #4765 from georgerennie/george/rtlil_case_rule
povik Nov 27, 2024
956313e
Merge pull request #4742 from YosysHQ/hierarchy_notify_top_attr
povik Nov 27, 2024
1717a0b
Merge pull request #4721 from ldoolitt/main
povik Nov 27, 2024
646c5a1
Merge pull request #4776 from YosysHQ/krys/get_blackbox_attribute
povik Nov 27, 2024
87742fa
Bump version
github-actions[bot] Nov 28, 2024
6f3376c
Merge pull request #4730 from YosysHQ/krys/downstream-docs
KrystalDelusion Nov 28, 2024
6c78bd3
techmap: add a Han-Carlson option for `$lcu` mapping
widlarizer Nov 28, 2024
289673a
tests: add support for tcl tests
widlarizer Nov 28, 2024
1a562f9
techmap: add TCL test for Han-Carlson adder
widlarizer Nov 28, 2024
3f078d9
tests: rework Kogge-Stone test consistently with Han-Carlson
widlarizer Nov 28, 2024
4bf3677
techmap: set Han-Carlson adder priority consistent with Kogge-Stone
widlarizer Nov 28, 2024
a41ef02
techmap: remove ppa.nomatch by purging internal signals
widlarizer Nov 28, 2024
9184496
techmap: wrap builtin $lcu as golden module in PPA tests
widlarizer Nov 28, 2024
3ebc714
techmap: test consistently with other equiv_make tests
widlarizer Nov 28, 2024
1de5d98
Reduce comparisons of size_t and int
KrystalDelusion Nov 28, 2024
e436cc0
Merge pull request #4779 from YosysHQ/emil/han-carlson-adder
widlarizer Nov 29, 2024
f04b899
Bump version
github-actions[bot] Nov 30, 2024
1ded817
booth: Map simple `$macc` instances too
povik Dec 1, 2024
ebd7f2b
techlibs: add _TECHMAP_DO_ to Han-Carlson adder
widlarizer Dec 2, 2024
6b006e5
clockgate: reduce build warnings
widlarizer Dec 2, 2024
fe64a71
techmap: add a Sklansky option for `$lcu` mapping
widlarizer Dec 2, 2024
3c67d9f
Merge pull request #4788 from YosysHQ/emil/han-carlson-proc
povik Dec 2, 2024
fd05f73
dfflibmap: demote some warnings to debug
Ravenslofty Dec 2, 2024
912b38e
verific: Handle crash when using empty box option
mmicko Dec 2, 2024
a8a65db
Merge pull request #4791 from YosysHQ/lofty/demote-dfflibmap-warnings
povik Dec 2, 2024
c26966e
tests: fix blockrom.v driver conflict
widlarizer Dec 2, 2024
f0704b6
Redo integer passing on top of bignum
povik Dec 2, 2024
16a5950
libs/fst: Fix Cygwin compat
KrystalDelusion Dec 2, 2024
7d8140d
kernel/mem: Fix Cygwin compat
KrystalDelusion Dec 3, 2024
889894a
Merge pull request #4790 from YosysHQ/emil/clockgate-warnings
KrystalDelusion Dec 3, 2024
e634e9c
aiger2: Resolve warnings
KrystalDelusion Dec 3, 2024
f81dbf2
Update `gate_cost_equivalent` help
povik Dec 3, 2024
c33f7b9
Fix typo
povik Dec 3, 2024
6ad4918
Account for pre-existing `keep_hierarchy` in cost sum
povik Dec 3, 2024
61a6567
Merge pull request #4789 from YosysHQ/emil/sklansky-adder
widlarizer Dec 3, 2024
109d97b
Merge pull request #4706 from povik/keep_hierarchy-adjustalgo
povik Dec 3, 2024
5233636
Merge pull request #4783 from YosysHQ/emil/blockrom-driver-conflict
widlarizer Dec 3, 2024
60fb241
clockgate: clean up argument parsing
widlarizer Dec 3, 2024
6edf9c8
libparse: add LibertyMergedCells, enable multiple -liberty args for d…
widlarizer Dec 3, 2024
cac6dd9
tclapi: Use older bignum API and handle external tommath for mac os
jix Dec 3, 2024
81de54f
tclapi: Remove unused -bool flag from get_param and document -[su]int
jix Dec 3, 2024
1c7bb70
techmap: Rephrase help
povik Dec 3, 2024
384c191
Merge pull request #4775 from povik/dont_map
povik Dec 3, 2024
3b8e8ee
Merge pull request #4797 from YosysHQ/emil/multiple-liberty
widlarizer Dec 4, 2024
14ee5ce
Merge pull request #4787 from povik/booth-macc
povik Dec 4, 2024
59a9647
Merge pull request #4773 from povik/wrapcell
povik Dec 4, 2024
d780864
Merge pull request #4770 from YosysHQ/emil/autoidx-option
widlarizer Dec 4, 2024
c96d02b
Merge pull request #4784 from YosysHQ/krys/reduce_warnings
KrystalDelusion Dec 4, 2024
c61b2bc
Merge pull request #4794 from YosysHQ/krys/cygwin_compat
KrystalDelusion Dec 4, 2024
f0da1cc
Start removing guidelines folder
KrystalDelusion Dec 4, 2024
9925b27
Goodbye guidelines (except GettingStarted)
KrystalDelusion Dec 4, 2024
c1f42f7
Docs: Formatting recent md -> rst converts
KrystalDelusion Dec 4, 2024
1f87885
Add updated CODE_OF_CONDUCT
KrystalDelusion Dec 4, 2024
9ee98c5
README: Drop the license from the top
KrystalDelusion Dec 4, 2024
6577e91
CODE_OF_CONDUCT now explicitly .md
KrystalDelusion Dec 4, 2024
2bd5339
README: Some updating of web site section
KrystalDelusion Dec 4, 2024
0aef782
Moving primary build instructions to docs
KrystalDelusion Dec 4, 2024
a7ea375
Docs/installation: Fix code indentation
KrystalDelusion Dec 4, 2024
b9d73d0
Docs: Note on releases
KrystalDelusion Dec 4, 2024
6b3f2fd
Docs: Installation instructions
KrystalDelusion Dec 4, 2024
40af327
Docs/installation: Drop resolved todos
KrystalDelusion Dec 4, 2024
4418f92
Merge pull request #4731 from YosysHQ/docs-preview-noguidelines
KrystalDelusion Dec 4, 2024
66734f5
Bump version
github-actions[bot] Dec 5, 2024
d57d21e
wrapcell: Optionally track unused outputs
povik Dec 5, 2024
2c66557
portarcs: Fix for case of unused gates
povik Dec 5, 2024
f4f6549
portarcs: Fix confusing disconnected and zero-delay case
povik Dec 5, 2024
e7b21d2
write_verilog: Use assign for `$buf`
povik Dec 5, 2024
5dffdd2
read_liberty: Redo unit delay; add `simple_comb_cell` attr
povik Dec 5, 2024
481d596
abc9_ops -prep_box: Adjust for repeated invocation
povik Dec 5, 2024
f3f8037
abc9_ops: Allow no arcs on box w/o inputs or w/o outputs
povik Dec 5, 2024
cf0a583
read_xaiger2: Rm debug print
povik Dec 5, 2024
4cdca66
Merge pull request #4801 from povik/aiger2-rm-print
povik Dec 5, 2024
b66897e
Bump version
github-actions[bot] Dec 6, 2024
2a744b4
add hash method to scopeindex cursor
nakengelhardt Dec 6, 2024
8b0f665
add setenv pass
nakengelhardt Nov 28, 2024
1b403b8
Handle setting environment on Windows
mmicko Nov 28, 2024
8557455
handle quotes and check return value
nakengelhardt Nov 28, 2024
4a755f5
Merge pull request #4805 from YosysHQ/hash_scopeindex
mmicko Dec 6, 2024
2ca611b
Merge pull request #4778 from YosysHQ/setenv_pass
mmicko Dec 6, 2024
7d4aff6
verific: Disable module existence check during static elaboration
mmicko Dec 6, 2024
0539888
Add verific verilog test cases for blackboxes
mmicko Dec 6, 2024
fa0c311
Bump version
github-actions[bot] Dec 7, 2024
f4ddbc3
Merge pull request #4771 from pepijndevos/famxtra
mmicko Dec 8, 2024
681b678
dfflibmap: cover enable inference with test
widlarizer Dec 9, 2024
481162b
Merge pull request #4800 from povik/portarcs-fix
povik Dec 9, 2024
d0f239a
Merge pull request #4806 from YosysHQ/micko/verific_blackbox
mmicko Dec 9, 2024
9161377
wrapcell: Fix help
povik Dec 9, 2024
a353b8f
read_liberty: Directly set `abc9_box` on fitting cells
povik Dec 9, 2024
b0708a3
Merge pull request #4678 from povik/tcl-rtlil-api
povik Dec 9, 2024
87736a2
Merge pull request #4807 from YosysHQ/emil/dfflibmap-test-dffe
widlarizer Dec 10, 2024
1f718e3
kernel: Remove global `tcl.h` include
povik Dec 10, 2024
495a780
aiger2: Support `$extern:` hierarchy
povik Nov 13, 2024
285f24d
abc_new: Support per-module script override
povik Nov 13, 2024
2a3f60b
abc_new: Support `abc9_box` mode on ordinary design hierarchy
povik Nov 13, 2024
559209c
abc_new: Fix PI confusion in whitebox model export
povik Nov 13, 2024
6b343c2
aiger2: Clean debug print
povik Nov 13, 2024
0bb139d
abc_new: Fix help crash
povik Nov 13, 2024
3cd01a5
wrapcell: Add comments, const qualifier
povik Dec 10, 2024
48c8d70
wrapcell: Test `check -assert` post wrapping
povik Dec 10, 2024
55dcf0e
tests: fix dfflibmap test - false negative conflict multiple -liberty…
widlarizer Dec 10, 2024
aed32a1
Merge pull request #4810 from YosysHQ/emil/fix-dfflibmap-test
widlarizer Dec 10, 2024
e9c7967
Merge pull request #4804 from povik/read_liberty-comb-cells
povik Dec 10, 2024
ea38fcc
Merge pull request #4737 from povik/abc_new-design-boxes
povik Dec 10, 2024
f7ad003
Merge pull request #4802 from povik/abc9-box-repeat
povik Dec 10, 2024
86fad8f
Merge pull request #4803 from povik/write_verilog-buf
povik Dec 10, 2024
3ce7283
Merge pull request #4809 from povik/rm-global-tcl-h
povik Dec 10, 2024
4bd6061
Merge pull request #4799 from povik/wrapcell-unused
povik Dec 10, 2024
1f6153a
Bump version
github-actions[bot] Dec 11, 2024
aaa5347
Release version 0.48
mmicko Dec 11, 2024
e91e95f
Next dev cycle
mmicko Dec 11, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/test-compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ jobs:
# oldest supported
- 'clang-14'
- 'gcc-10'
# newest
- 'clang'
- 'gcc'
# newest, make sure to update maximum standard step to match
- 'clang-18'
- 'gcc-13'
include:
# macOS
- os: macos-13
Expand Down Expand Up @@ -72,7 +72,7 @@ jobs:

# maximum standard, only on newest compilers
- name: Build C++20
if: ${{ matrix.compiler == 'clang' || matrix.compiler == 'gcc'}}
if: ${{ matrix.compiler == 'clang-18' || matrix.compiler == 'gcc-13' }}
shell: bash
run: |
make config-$CC_SHORT
Expand Down
29 changes: 28 additions & 1 deletion CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,36 @@
List of major changes and improvements between releases
=======================================================

Yosys 0.47 .. Yosys 0.48-dev
Yosys 0.48 .. Yosys 0.49-dev
--------------------------

Yosys 0.47 .. Yosys 0.48
--------------------------
* Various
- Removed "read_ilang" deprecated pass.
- Enhanced boxing features in the experimental "abc_new" command.
- Added new Tcl methods for design inspection.
- Added clock enable inference to "dfflibmap".
- Added a Han-Carlson and Sklansky option for $lcu mapping.

* New commands and options
- Added "-nopeepopt" option to "clk2fflogic" pass.
- Added "-liberty" and "-dont_use" options to "clockgate" pass.
- Added "-ignore_buses" option to "read_liberty" pass.
- Added "-dont_map" option to "techmap" pass.
- Added "-selected" option to "write_json" pass.
- Added "wrapcell" command for creating wrapper modules
around selected cells.
- Added "portarcs" command for deriving propagation timing arcs.
- Added "setenv" command for setting environment variables.

* Gowin support
- Added "-family" option to "synth_gowin" pass.
- Cell definitions split by family.

* Verific support
- Improved blackbox support.

Yosys 0.46 .. Yosys 0.47
--------------------------
* Various
Expand Down
128 changes: 128 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
# Contributor Covenant Code of Conduct

## Our Pledge

We as members, contributors, and leaders pledge to make participation in our
community a harassment-free experience for everyone, regardless of age, body
size, visible or invisible disability, ethnicity, sex characteristics, gender
identity and expression, level of experience, education, socio-economic status,
nationality, personal appearance, race, religion, or sexual identity
and orientation.

We pledge to act and interact in ways that contribute to an open, welcoming,
diverse, inclusive, and healthy community.

## Our Standards

Examples of behavior that contributes to a positive environment for our
community include:

* Demonstrating empathy and kindness toward other people
* Being respectful of differing opinions, viewpoints, and experiences
* Giving and gracefully accepting constructive feedback
* Accepting responsibility and apologizing to those affected by our mistakes,
and learning from the experience
* Focusing on what is best not just for us as individuals, but for the
overall community

Examples of unacceptable behavior include:

* The use of sexualized language or imagery, and sexual attention or
advances of any kind
* Trolling, insulting or derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or email
address, without their explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting

## Enforcement Responsibilities

Community leaders are responsible for clarifying and enforcing our standards of
acceptable behavior and will take appropriate and fair corrective action in
response to any behavior that they deem inappropriate, threatening, offensive,
or harmful.

Community leaders have the right and responsibility to remove, edit, or reject
comments, commits, code, wiki edits, issues, and other contributions that are
not aligned to this Code of Conduct, and will communicate reasons for moderation
decisions when appropriate.

## Scope

This Code of Conduct applies within all community spaces, and also applies when
an individual is officially representing the community in public spaces.
Examples of representing our community include using an official e-mail address,
posting via an official social media account, or acting as an appointed
representative at an online or offline event.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported by contacting the project team at [email protected] and/or
[email protected].
All complaints will be reviewed and investigated promptly and fairly.

All community leaders are obligated to respect the privacy and security of the
reporter of any incident.

## Enforcement Guidelines

Community leaders will follow these Community Impact Guidelines in determining
the consequences for any action they deem in violation of this Code of Conduct:

### 1. Correction

**Community Impact**: Use of inappropriate language or other behavior deemed
unprofessional or unwelcome in the community.

**Consequence**: A private, written warning from community leaders, providing
clarity around the nature of the violation and an explanation of why the
behavior was inappropriate. A public apology may be requested.

### 2. Warning

**Community Impact**: A violation through a single incident or series
of actions.

**Consequence**: A warning with consequences for continued behavior. No
interaction with the people involved, including unsolicited interaction with
those enforcing the Code of Conduct, for a specified period of time. This
includes avoiding interactions in community spaces as well as external channels
like social media. Violating these terms may lead to a temporary or
permanent ban.

### 3. Temporary Ban

**Community Impact**: A serious violation of community standards, including
sustained inappropriate behavior.

**Consequence**: A temporary ban from any sort of interaction or public
communication with the community for a specified period of time. No public or
private interaction with the people involved, including unsolicited interaction
with those enforcing the Code of Conduct, is allowed during this period.
Violating these terms may lead to a permanent ban.

### 4. Permanent Ban

**Community Impact**: Demonstrating a pattern of violation of community
standards, including sustained inappropriate behavior, harassment of an
individual, or aggression toward or disparagement of classes of individuals.

**Consequence**: A permanent ban from any sort of public interaction within
the community.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage],
version 2.0, available at
https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.

Community Impact Guidelines were inspired by [Mozilla's code of conduct
enforcement ladder](https://github.com/mozilla/diversity).

[homepage]: https://www.contributor-covenant.org

For answers to common questions about this code of conduct, see the FAQ at
https://www.contributor-covenant.org/faq. Translations are available at
https://www.contributor-covenant.org/translations.
27 changes: 14 additions & 13 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ AWK ?= awk

ifeq ($(OS), Darwin)
PLUGIN_LINKFLAGS += -undefined dynamic_lookup
LINKFLAGS += -rdynamic

# homebrew search paths
ifneq ($(shell :; command -v brew),)
Expand Down Expand Up @@ -154,7 +155,7 @@ ifeq ($(OS), Haiku)
CXXFLAGS += -D_DEFAULT_SOURCE
endif

YOSYS_VER := 0.47+0
YOSYS_VER := 0.48+0

# Note: We arrange for .gitcommit to contain the (short) commit hash in
# tarballs generated with git-archive(1) using .gitattributes. The git repo
Expand All @@ -170,7 +171,7 @@ endif
OBJS = kernel/version_$(GIT_REV).o

bumpversion:
sed -i "/^YOSYS_VER := / s/+[0-9][0-9]*$$/+`git log --oneline 647d61d.. | wc -l`/;" Makefile
sed -i "/^YOSYS_VER := / s/+[0-9][0-9]*$$/+`git log --oneline aaa5347.. | wc -l`/;" Makefile

ABCMKARGS = CC="$(CXX)" CXX="$(CXX)" ABC_USE_LIBSTDCXX=1 ABC_USE_NAMESPACE=abc VERBOSE=$(Q)

Expand Down Expand Up @@ -304,7 +305,7 @@ endif
else ifeq ($(CONFIG),mxe)
PKG_CONFIG = /usr/local/src/mxe/usr/bin/i686-w64-mingw32.static-pkg-config
CXX = /usr/local/src/mxe/usr/bin/i686-w64-mingw32.static-g++
CXXFLAGS += -std=$(CXXSTD) $(OPT_LEVEL) -D_POSIX_SOURCE -DYOSYS_MXE_HACKS -Wno-attributes
CXXFLAGS += -std=$(CXXSTD) $(OPT_LEVEL) -D_POSIX_SOURCE -Wno-attributes
CXXFLAGS := $(filter-out -fPIC,$(CXXFLAGS))
LINKFLAGS := $(filter-out -rdynamic,$(LINKFLAGS)) -s
LIBS := $(filter-out -lrt,$(LIBS))
Expand Down Expand Up @@ -397,10 +398,9 @@ endif
else
ifeq ($(ENABLE_EDITLINE),1)
CXXFLAGS += -DYOSYS_ENABLE_EDITLINE
LIBS += -ledit -ltinfo -lbsd
else
ABCMKARGS += "ABC_USE_NO_READLINE=1"
LIBS += -ledit
endif
ABCMKARGS += "ABC_USE_NO_READLINE=1"
endif

ifeq ($(DISABLE_ABC_THREADS),1)
Expand Down Expand Up @@ -449,6 +449,9 @@ LIBS += -ltcl86 -lwsock32 -lws2_32 -lnetapi32 -lz -luserenv
else
CXXFLAGS += $(shell PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) $(PKG_CONFIG) --silence-errors --cflags tcl || echo -I$(TCL_INCLUDE)) -DYOSYS_ENABLE_TCL
LIBS += $(shell PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) $(PKG_CONFIG) --silence-errors --libs tcl || echo $(TCL_LIBS))
ifneq (,$(findstring TCL_WITH_EXTERNAL_TOMMATH,$(CXXFLAGS)))
LIBS += $(shell PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) $(PKG_CONFIG) --silence-errors --libs libtommath || echo)
endif
endif
endif

Expand Down Expand Up @@ -639,7 +642,7 @@ $(eval $(call add_include_file,frontends/blif/blifparse.h))
$(eval $(call add_include_file,backends/rtlil/rtlil_backend.h))

OBJS += kernel/driver.o kernel/register.o kernel/rtlil.o kernel/log.o kernel/calc.o kernel/yosys.o
OBJS += kernel/binding.o
OBJS += kernel/binding.o kernel/tclapi.o
OBJS += kernel/cellaigs.o kernel/celledges.o kernel/cost.o kernel/satgen.o kernel/scopeinfo.o kernel/qcsat.o kernel/mem.o kernel/ffmerge.o kernel/ff.o kernel/yw.o kernel/json.o kernel/fmt.o kernel/sexpr.o
OBJS += kernel/drivertools.o kernel/functional.o
ifeq ($(ENABLE_ZLIB),1)
Expand Down Expand Up @@ -996,15 +999,12 @@ docs/source/cell/word_add.rst: $(TARGETS) $(EXTRA_TARGETS)
docs/source/generated/cells.json: docs/source/generated $(TARGETS) $(EXTRA_TARGETS)
$(Q) ./$(PROGRAM_PREFIX)yosys -p 'help -dump-cells-json $@'

PHONY: docs/gen docs/guidelines docs/usage docs/reqs
PHONY: docs/gen docs/usage docs/reqs
docs/gen: $(TARGETS)
$(Q) $(MAKE) -C docs gen

DOCS_GUIDELINE_FILES := GettingStarted CodingStyle
DOCS_GUIDELINE_SOURCE := $(addprefix guidelines/,$(DOCS_GUIDELINE_FILES))
docs/guidelines docs/source/generated: $(DOCS_GUIDELINE_SOURCE)
docs/source/generated:
$(Q) mkdir -p docs/source/generated
$(Q) cp -f $(DOCS_GUIDELINE_SOURCE) docs/source/generated

# some commands return an error and print the usage text to stderr
define DOC_USAGE_STDERR
Expand Down Expand Up @@ -1034,7 +1034,7 @@ docs/reqs:
$(Q) $(MAKE) -C docs reqs

.PHONY: docs/prep
docs/prep: docs/source/cmd/abc.rst docs/source/generated/cells.json docs/gen docs/guidelines docs/usage
docs/prep: docs/source/cmd/abc.rst docs/source/generated/cells.json docs/gen docs/usage

DOC_TARGET ?= html
docs: docs/prep
Expand Down Expand Up @@ -1094,6 +1094,7 @@ vcxsrc: $(GENFILES) $(EXTRA_TARGETS)
rm -rf yosys-win32-vcxsrc-$(YOSYS_VER){,.zip}
set -e; for f in `ls $(filter %.cc %.cpp,$(GENFILES)) $(addsuffix .cc,$(basename $(OBJS))) $(addsuffix .cpp,$(basename $(OBJS))) 2> /dev/null`; do \
echo "Analyse: $$f" >&2; cpp -std=c++17 -MM -I. -D_YOSYS_ $$f; done | sed 's,.*:,,; s,//*,/,g; s,/[^/]*/\.\./,/,g; y, \\,\n\n,;' | grep '^[^/]' | sort -u | grep -v kernel/version_ > srcfiles.txt
echo "libs/fst/fst_win_unistd.h" >> srcfiles.txt
bash misc/create_vcxsrc.sh yosys-win32-vcxsrc $(YOSYS_VER) $(GIT_REV)
echo "namespace Yosys { extern const char *yosys_version_str; const char *yosys_version_str=\"Yosys (Version Information Unavailable)\"; }" > kernel/version.cc
zip yosys-win32-vcxsrc-$(YOSYS_VER)/genfiles.zip $(GENFILES) kernel/version.cc
Expand Down
Loading
Loading