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

[pull] master from YosysHQ:master #706

Open
wants to merge 2,431 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2431 commits
Select commit Hold shift + click to select a range
e10d9b1
Remove python dep from test-docs
KrystalDelusion Jan 24, 2024
57a7532
Docs: add test-examples target
KrystalDelusion Jan 24, 2024
bb4d690
Docs: can we re-use build artifacts?
KrystalDelusion Jan 24, 2024
4ac983e
test-docs: Checkout Yosys
KrystalDelusion Jan 24, 2024
2a14c72
test-docs: target examples directly
KrystalDelusion Jan 24, 2024
62d2f89
Revert artifact reuse
KrystalDelusion Jan 24, 2024
6e38848
Docs: updating makefiles
KrystalDelusion Jan 24, 2024
80511ce
Bump version
github-actions[bot] Jan 25, 2024
efe4d6d
SigSpec/SigChunk::extract(): assert offset/length are not out of range
nakengelhardt Jan 25, 2024
7c818d3
sim: Bring $print trigger/sampling semantics in line with FFs
jix Jan 25, 2024
d2a04cc
write_verilog: Making sure BUF cells are converted to expressions.
QuantamHD Jan 25, 2024
33fe2e4
fixes char* to string conversion issue
QuantamHD Jan 25, 2024
4582ab5
Docs: intro to memory_libmap
KrystalDelusion Jan 25, 2024
e2e7065
Docs: some restructure of advanced section
KrystalDelusion Jan 26, 2024
22808e0
Docs: work on selections.rst
KrystalDelusion Jan 26, 2024
68a9aa7
peepopt: handle offset too large in `shiftadd`
Jan 26, 2024
7e524e0
Update workflows to Node.js 20
KrystalDelusion Jan 26, 2024
a7e1c6e
codeowners: adopting docs folder
KrystalDelusion Jan 26, 2024
a5fdf3f
gowin: Change BYTE ENABLE handling.
yrabbit Jan 27, 2024
54c5431
Merge pull request #4167 from yrabbit/wip-byte-enable
mmicko Jan 27, 2024
887c905
Merge pull request #4166 from YosysHQ/update-workflows
mmicko Jan 27, 2024
4585d60
Bump version
github-actions[bot] Jan 28, 2024
d6600fb
rtlil: Fix handling of connections on wire deletion
povik Jan 8, 2024
c035289
rtlil: Do not create dummy wires when deleting wires in connections
povik Jan 9, 2024
ea3dc7c
rtlil: Add wire deletion test
povik Jan 22, 2024
ec06518
opt_clean: Add commentary around wire cleaning, NFC
povik Jan 9, 2024
7afc069
opt_clean: Assert an impossible path isn't taken
povik Jan 9, 2024
2282351
Merge pull request #4118 from povik/fix-conn-on-wire-delete
nakengelhardt Jan 29, 2024
fd838a9
Merge pull request #4140 from jix/writer_aiger_sccs
jix Jan 29, 2024
a9fe85c
Merge pull request #4141 from YosysHQ/small_build
nakengelhardt Jan 29, 2024
2f4dd99
Merge pull request #4162 from jix/sim-print-sampling
povik Jan 29, 2024
027cb31
Merge pull request #4161 from YosysHQ/nak/add_sig_extract_asserts
nakengelhardt Jan 29, 2024
112bcb0
Bump version
github-actions[bot] Jan 30, 2024
9878e69
Docs: tidying
KrystalDelusion Jan 30, 2024
fd0c574
Docs: changes/todos from JF
KrystalDelusion Jan 30, 2024
fae35fe
Docs: example_synth fifo update
KrystalDelusion Jan 30, 2024
3076875
removing call to dump_attributes to remove possibility of generating …
QuantamHD Jan 30, 2024
79c5a06
gowin: Fix SDP write enable port.
yrabbit Jan 30, 2024
b572e1a
Merge pull request #4171 from yrabbit/sdp-wre
mmicko Jan 30, 2024
7f8b6dd
peepopt: delete unnecessary comment in shiftadd
Jan 30, 2024
3537976
Merge pull request #4163 from QuantamHD/fix_write_verilog
povik Jan 30, 2024
db1de5f
verific: add option to skip simplifying complex ports
mmicko Jan 30, 2024
4fa314c
Add API to overwrite existing pass from plugin
clairexen Jan 30, 2024
039634d
feat: mkdir with tree
hakan-demirli Jan 30, 2024
8c73165
Merge branch 'YosysHQ:master' into master
hakan-demirli Jan 30, 2024
3bc83c6
Bump version
github-actions[bot] Jan 31, 2024
cbdf9b2
peepopt: handle empty src-attribute in shiftadd
Jan 31, 2024
6c4bc5a
Merge pull request #4165 from phsauter/shiftadd-offset-fix
povik Jan 31, 2024
820232e
fix: function naming and locations
hakan-demirli Jan 31, 2024
dd5dc06
fix: save history file on windows
hakan-demirli Jan 31, 2024
bbb8ad5
Bump version
github-actions[bot] Feb 1, 2024
a84fa0a
connect: Do interpret selection arguments
povik Feb 1, 2024
9f27923
Merge pull request #4173 from YosysHQ/verific_complex
nakengelhardt Feb 1, 2024
2baa578
Remove too fragile smtlib2_module test
jix Jan 22, 2024
331ac52
tests: Run async2sync before sat and/or sim to handle $check cells
jix Jan 22, 2024
6c49023
chformal: Support $check cells and add chformal -lower
jix Jan 22, 2024
e1a59ba
async2sync, clk2fflogic: Add support for $check and $print cells
jix Jan 22, 2024
c7bf0e3
Add new `$check` cell to represent assertions with a message.
whitequark Jan 11, 2024
c1d3288
chore: use similar variable/function names
hakan-demirli Feb 1, 2024
7dbe288
fix: descriptive logs
hakan-demirli Feb 1, 2024
ffb82df
Additional tests for FV $check compatibility
jix Feb 1, 2024
3caac53
Merge pull request #4128 from whitequark/check-cell
whitequark Feb 3, 2024
f5420d7
Bump version
github-actions[bot] Feb 4, 2024
3f457f2
ci: Fix CXXSTD typo
povik Feb 4, 2024
97b8ee5
ci: Get a dump of yosys-config into the build log
povik Feb 4, 2024
9eed04d
Docs: Note on debug for memory_libmap
KrystalDelusion Feb 5, 2024
0cdd427
ci: ignore yosys-config return code
KrystalDelusion Feb 5, 2024
bc66dfd
verific: Fixes incorrect aldff inference in verific importer
QuantamHD Feb 5, 2024
ff578ec
fix formatting
QuantamHD Feb 5, 2024
f96e27a
Merge pull request #4123 from povik/clean-opt_clean
nakengelhardt Feb 5, 2024
2422dd6
Merge pull request #4153 from Coloquinte/blif_delay_constraints
nakengelhardt Feb 5, 2024
57db87c
py_wrap_generator: Handle const-qualified callbacks
povik Feb 5, 2024
1b73b5b
Merge pull request #4174 from YosysHQ/claire/overwrite
clairexen Feb 5, 2024
1df2a20
Bump version
github-actions[bot] Feb 6, 2024
5d3e4c5
Merge pull request #4182 from QuantamHD/fix_aldff
mmicko Feb 6, 2024
0470cbb
hierarchy: Without a known top module, derive all deferred modules
jix Jan 12, 2024
d00843d
Add -nordff to test
mmicko Feb 6, 2024
269c50f
Merge pull request #4130 from jix/hierarchy-defer-notop
mmicko Feb 6, 2024
f728927
Add builtin celltype $scopeinfo
jix Dec 19, 2023
8902fc9
Suport $scopeinfo in flatten and opt_clean
jix Dec 19, 2023
9288107
Test flatten and opt_clean's $scopeinfo handling
jix Dec 19, 2023
bfd9cf6
Ignore $scopeinfo in opt_merge
jix Jan 11, 2024
10d5d35
Ignore $scopeinfo in write_aiger
jix Jan 11, 2024
5cfbc16
Ignore $scopeinfo in write_edif
jix Jan 11, 2024
59a60c7
Ignore $scopeinfo in write_blif
jix Jan 11, 2024
55d8425
Ignore $scopeinfo in write_firrtl
jix Jan 11, 2024
418bf61
Ignore $scopeinfo in write_smv
jix Jan 11, 2024
5ee8beb
Ignore $scopeinfo in write_spice
jix Jan 11, 2024
f31fb95
Ignore $scopeinfo in write_verilog
jix Jan 11, 2024
bbe3976
Ignore $scopeinfo in write_json
jix Jan 12, 2024
0d5b48d
Add scopeinfo index/lookup utils
jix Jan 29, 2024
364bcfb
Example pass for the scopeinfo index/lookup utils
jix Jan 29, 2024
16ff3e0
Bump version
github-actions[bot] Feb 7, 2024
a98d363
synth: Run script in full in help mode
povik Feb 7, 2024
7a3316d
synth: Tweak phrasing of `-booth` help
povik Feb 7, 2024
862f2fd
proc_dlatch: Include `$bwmux` among considered mux cells
povik Feb 7, 2024
f785eef
Merge branch 'master' of github.com:hakan-demirli/yosys into xdg
mmicko Feb 8, 2024
2797d67
Move block and change message to debug
mmicko Feb 8, 2024
a1824ba
Merge pull request #4187 from povik/synth-help
povik Feb 8, 2024
a38273c
add log_suppressed and fixed formatting
mmicko Feb 8, 2024
675b8a7
Merge pull request #4190 from YosysHQ/xdg
mmicko Feb 8, 2024
1236bb6
read_verilog: don't include empty `opt_sva_label` in span.
whitequark Feb 8, 2024
66479a2
hashlib: Add missing `stdint.h` include
povik Feb 8, 2024
af1a5cf
Address `SigBit`/`SigSpec` confusion issues under c++20
povik Feb 8, 2024
043f1e2
opt_lut: Remove leftover `-dlogic` help
povik Feb 8, 2024
d808258
Merge pull request #4193 from povik/opt_lut-help
mmicko Feb 8, 2024
2f4c917
Merge pull request #4181 from povik/ci-cxxstd-fix
mmicko Feb 8, 2024
8e3a718
Bump version
github-actions[bot] Feb 9, 2024
543faed
Release version 0.38
mmicko Feb 9, 2024
4683817
Next dev cycle
mmicko Feb 9, 2024
8566489
stat: Add sequential area output to stat -liberty
QuantamHD Feb 9, 2024
31dbd91
Bump version
github-actions[bot] Feb 10, 2024
2b89a5c
Update CHAPTER_Basics.rst
passingglance Feb 10, 2024
b1f8308
tests/various/clk2fflogic_effects.sh: fix tail invocation
tpwrules Feb 10, 2024
10e06f9
tests/various/clk2fflogic_effects.sh: remove /tmp use
tpwrules Feb 10, 2024
c46ebf2
Merge pull request #4198 from passingglance/patch-1
povik Feb 10, 2024
0b835f2
Bump version
github-actions[bot] Feb 11, 2024
ac0fb2e
Merge pull request #4199 from tpwrules/test-fix
jix Feb 11, 2024
39fea32
Add support for packed multidimensional arrays
daglem Jan 25, 2024
a32d9b6
Fix test of memory vs. memory converted to registers
daglem Jan 25, 2024
88d9e21
Decoding of a few more AST nodes in dumpVlog
daglem Dec 27, 2023
2125357
Add support for $increment
daglem Dec 27, 2023
e0d3977
Add support for $dimensions and $unpacked_dimensions
daglem Dec 27, 2023
03f35c3
Resolve multiple dimensions defined in stages with typedef
daglem Jan 1, 2024
a4ae773
Added test for multidimensional packed arrays
daglem Jan 1, 2024
fab326d
Add multidimensional arrays to SystemVerilog features in README
daglem Jan 4, 2024
f09ea16
Resolve struct member multiple dimensions defined in stages with typedef
daglem Jan 5, 2024
cd8e6cb
Bump version
github-actions[bot] Feb 12, 2024
5226d07
Update CHAPTER_CellLib.rst
passingglance Feb 12, 2024
1029712
fix test for verific
mmicko Feb 12, 2024
edb95c6
Merge pull request #4084 from jix/scopeinfo
mmicko Feb 12, 2024
ae7daf9
Verific: Add attributes to module instantiation
mmicko Feb 12, 2024
353ccc9
do not override existing shell variable
mmicko Feb 12, 2024
54a97f8
driver: Fix crashes on missing cli arguments
povik Feb 12, 2024
3473b6d
Merge pull request #4206 from povik/cli-crashes
jix Feb 12, 2024
606bbef
Bump version
github-actions[bot] Feb 13, 2024
ae1a67b
cxxrtl: fix debug information for zero-width items.
whitequark Feb 13, 2024
c3c4422
cxxrtl: document some `module` invariants. NFC
whitequark Feb 13, 2024
42920c9
cxxrtl: rationalize `debug_items` accessors.
whitequark Feb 13, 2024
d8ce26a
read_verilog: correctly format `hdlname` attribute value.
whitequark Feb 13, 2024
b16f490
ast/simplify: Interpret hdlname w/o expecting backslash
povik Feb 13, 2024
9168535
Bump version
github-actions[bot] Feb 14, 2024
834276a
show: Add option to add cell/wire "src" attribute into graphviz attri…
mmicko Feb 14, 2024
bbdfcfd
clk2fflogic: Fix handling of $check cells
jix Feb 14, 2024
149c1a7
tests: Support running `make test` with YOSYS_NOVERIFIC=1
jix Feb 14, 2024
18a5989
Merge pull request #4211 from jix/fix-check-clk2fflogic
povik Feb 14, 2024
f04bb10
Merge pull request #4212 from jix/make-test-noverific
mmicko Feb 14, 2024
074b50e
Bump version
github-actions[bot] Feb 15, 2024
2d8343d
update type and variable names
QuantamHD Feb 15, 2024
f0df0e3
update type and variable names
QuantamHD Feb 16, 2024
5a05344
tests: Fix initialization race in xprop tests
povik Feb 16, 2024
e51c774
tests: Comment on `A[0]`
povik Feb 16, 2024
fdda501
ci: Stop pinning iverilog revision
povik Feb 16, 2024
811b7b5
Merge pull request #4204 from YosysHQ/micko/gen_test
jix Feb 16, 2024
b8a1009
Update passes/cmds/stat.cc
QuantamHD Feb 16, 2024
61b3b9b
Merge pull request #4197 from QuantamHD/sequential_area
nakengelhardt Feb 16, 2024
f8d4d71
Bump version
github-actions[bot] Feb 17, 2024
bf4a46c
proc_rom: don't assert on big actionless switch.
kivikakk Feb 17, 2024
67e7f38
Merge branch 'YosysHQ:master' into master
passingglance Feb 17, 2024
aebb7a0
Merge pull request #4188 from povik/dlatch-bwmux
nakengelhardt Feb 19, 2024
4b99db0
Merge pull request #4177 from povik/connect-extra_args
nakengelhardt Feb 19, 2024
f5013d0
rtlil: Fix `Const` hashing omission
povik Feb 6, 2024
edd154e
Merge pull request #4215 from povik/xprop-race
nakengelhardt Feb 19, 2024
83a3058
Merge pull request #4202 from passingglance/master
nakengelhardt Feb 19, 2024
db947e4
Merge pull request #4218 from kivikakk/proc_rom-actionless-switch
povik Feb 19, 2024
78b0697
Merge pull request #4210 from whitequark/fix-read_verilog-hdlname
povik Feb 19, 2024
63d256d
Merge pull request #4221 from povik/const-hash-fix
nakengelhardt Feb 19, 2024
689feed
dfflibmap: Add a -dont_use flag to ignore cells
rovinski Feb 19, 2024
5059bb1
dfflibmap: force PathMatchSpecA on WIN32
rovinski Feb 19, 2024
a3c81f4
Merge pull request #4216 from YosysHQ/show_href
mmicko Feb 19, 2024
01d6c12
Bump version
github-actions[bot] Feb 20, 2024
bc8a3a5
Merge pull request #4219 from rovinski/master
mmicko Feb 20, 2024
20dbc86
Add shlwapi lib for mingw builds
mmicko Feb 20, 2024
c734b2b
Merge pull request #3519 from ekliptik/master
clairexen Feb 20, 2024
03cadf6
dfflibmap: use patmatch() from kernel/yosys.cc
rovinski Feb 20, 2024
d593435
Bump version
github-actions[bot] Feb 21, 2024
4c96546
equiv_simple: Take FFs into account for driver map
povik Feb 21, 2024
6e06723
Merge pull request #4223 from rovinski/master
mmicko Feb 21, 2024
38f1b0b
Revert "Add shlwapi lib for mingw builds"
mmicko Feb 21, 2024
84116c9
Bump version
github-actions[bot] Feb 22, 2024
d77b792
synth: Put in missing bounds check for `-lut`
povik Feb 22, 2024
ba07cba
synth: Introduce `-inject` for amending techmap
povik Feb 22, 2024
53ca7b4
techmap: Fix help message wording
povik Feb 22, 2024
173f4b5
Bump Claire's notices
povik Feb 22, 2024
f7737a1
Cut down startup banner
povik Feb 22, 2024
b5b737d
Shrink a bit more
povik Feb 22, 2024
975517b
memory_memx: Fix log header
povik Feb 23, 2024
030d639
opt_mem, memory_*: Refuse to operate in presence of processes
povik Feb 23, 2024
fe34aba
´Use g++ and clang++ instead of gcc and clang as C++ compilers
RCoeurjoly Feb 23, 2024
a69a89f
LD is removed, we use CXX instead
RCoeurjoly Feb 25, 2024
033fa10
We use CXX instead of LD for linking yosys-filterlib
RCoeurjoly Feb 25, 2024
dea4aea
LDLIBS -> LIBS. LDFLAGS -> LINKFLAGS
RCoeurjoly Feb 25, 2024
4a2fb18
Changes in libs, passes and tests Makefiles. LDLIBS -> LIBS. LDFLAGS …
RCoeurjoly Feb 25, 2024
cf7b6c6
Changes in misc/yosys-config.in. LDLIBS -> LIBS. LDFLAGS -> LINKFLAGS.
RCoeurjoly Feb 25, 2024
5fa609b
Fix help of yosys-config.in and provide backward compatibility
RCoeurjoly Feb 25, 2024
569a6d7
cxxrtl: make blackbox `commit()` possible to override.
whitequark Feb 26, 2024
d903f47
write_cxxrtl: don't assert on `-noflatten` with `-g4`.
whitequark Feb 13, 2024
1a44645
cxxrtl: expose scope information in the C++ API.
whitequark Feb 13, 2024
639a8d8
Merge pull request #4234 from RCoeurjoly/master
whitequark Feb 26, 2024
6dc5da3
Merge pull request #4232 from povik/mem-ui-fixes
nakengelhardt Feb 26, 2024
dd11a5a
Shrink further
povik Feb 26, 2024
1fb7165
Merge pull request #4229 from povik/cut-notice
povik Feb 26, 2024
da2e938
cxxrtl: install `cxxrtl_time.h` and `cxxrtl_replay.h`.
whitequark Feb 26, 2024
91fbd58
Bump version
github-actions[bot] Feb 27, 2024
d2a7ce0
synth: Rename `-inject` to `-extra-map`
povik Mar 1, 2024
a02d4e7
Tweak the FreeBSD version of proc_self_dirname() to work on NetBSD us…
thorpej Mar 3, 2024
9b47f32
Makefile: Fix emcc build
KrystalDelusion Mar 3, 2024
7a83a27
Merge pull request #4255 from YosysHQ/emcc_fix
povik Mar 4, 2024
8d00466
Merge pull request #4254 from thorpej/dev/pkgsrc-patch-NetBSD-1
povik Mar 4, 2024
16f6386
Merge pull request #4224 from povik/equiv_simple-fix
jix Mar 4, 2024
6469d90
write_aiger: Include `$assert` and `$assume` cells in -ywmap output
jix Feb 7, 2024
d8cdc21
rename -witness: Bug fix and rename formal cells
jix Feb 27, 2024
d03c5e2
smtbmc: Break dependency recursion during unrolling
jix Feb 21, 2024
97db1cb
smtbmc: Cache hierarchy for loading multiple yw files
jix Feb 21, 2024
ff6c29a
Update abc revision
jix Mar 4, 2024
3596025
docs: Remove TODOs from output
KrystalDelusion Mar 4, 2024
1455941
Merge branch 'master' into krys/docs
KrystalDelusion Mar 4, 2024
3635f91
Docs: Updates from @povik comments
KrystalDelusion Mar 4, 2024
1e42b4f
Bump version
github-actions[bot] Mar 5, 2024
0db76c6
tests/sva: Skip sva tests that use SBY until SBY is compatible again
jix Mar 5, 2024
04ecabd
Merge pull request #4222 from jix/pdr-X
jix Mar 5, 2024
f60b77a
cxxrtl: add ability to record/replay diagnostics.
whitequark Mar 5, 2024
e9cd6ca
Bump version
github-actions[bot] Mar 6, 2024
570a8f1
synth: Fix out-of-sync help message
povik Mar 6, 2024
b4da6b8
ci: Fix mac builds
KrystalDelusion Mar 7, 2024
d70113a
Merge pull request #3972 from nakengelhardt/celledges_shift_ops
nakengelhardt Mar 8, 2024
6d528ef
Merge pull request #4271 from YosysHQ/macos-fix
mmicko Mar 8, 2024
078b876
Bump version
github-actions[bot] Mar 9, 2024
5e05300
fix compile warning
mmicko Mar 11, 2024
d42c04b
Merge pull request #4274 from YosysHQ/fix_warning
povik Mar 11, 2024
e4f11eb
Merge pull request #4228 from povik/synth-inject
nakengelhardt Mar 11, 2024
42122e2
smtbmc: Add --track-assumes and --minimize-assumes options
jix Mar 7, 2024
0909c2e
Merge pull request #4268 from jix/smtbmc-track-assumes
nakengelhardt Mar 11, 2024
0944664
Bump version
github-actions[bot] Mar 12, 2024
0033808
Release version 0.39
mmicko Mar 12, 2024
18cec2d
Next dev cycle
mmicko Mar 12, 2024
b3124f3
Bump version
github-actions[bot] Mar 13, 2024
29e3e10
Add WebAssembly as a platform to ISSUE_TEMPLATE/bug_report.yml.
whitequark Mar 13, 2024
584692d
Merge pull request #4281 from YosysHQ/cat/issue-template-wasm
nakengelhardt Mar 15, 2024
3231c1c
Bump version
github-actions[bot] Mar 16, 2024
bc9ccca
docs: Move fifo localparams into module def
KrystalDelusion Mar 17, 2024
2832034
docs: Clarify install instructions
KrystalDelusion Mar 17, 2024
d2bf5a8
Merge branch 'origin/master' into krys/docs
KrystalDelusion Mar 17, 2024
b6ffdec
docs: Update OSS CAD suite info
KrystalDelusion Mar 17, 2024
49f1bea
docs: Add synth_ice40 to macro checks
KrystalDelusion Mar 17, 2024
3f54bf1
Merge pull request #3907 from YosysHQ/krys/docs
nakengelhardt Mar 18, 2024
29c8a3b
docs: Fix splice.v in verific
KrystalDelusion Mar 18, 2024
f72ddfb
docs: Fix repo file links
KrystalDelusion Mar 18, 2024
c6795ce
docs: Install python requirements
KrystalDelusion Mar 18, 2024
d73f71e
Bump version
github-actions[bot] Mar 19, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
*.v linguist-language=Verilog
/.gitcommit export-subst
1 change: 1 addition & 0 deletions .gitcommit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
$Format:%h$
76 changes: 76 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
name: Bug Report
description: Report an issue or regression with Yosys
labels: ["pending-verification"]
body:
- type: markdown
attributes:
value: >

If you have a general question, please ask it in the [Discussions](https://github.com/YosysHQ/yosys/discussions) area
or join our [IRC Channel](https://web.libera.chat/#yosys) or [Community Slack](https://join.slack.com/t/yosyshq/shared_invite/zt-1aopkns2q-EiQ97BeQDt_pwvE41sGSuA).


If you have a feature request, please fill out the appropriate issue form, this form is for bugs and/or regressions.


Please contact [YosysHQ GmbH](https://www.yosyshq.com/) if you need
commercial support for Yosys.

- type: input
id: yosys_version
attributes:
label: Version
description: "The version of yosys this bug was encountered on."
placeholder: "The output of `yosys --version`"
validations:
required: true

- type: dropdown
id: os
attributes:
label: On which OS did this happen?
options:
- Linux
- macOS
- Windows
- BSD
- WebAssembly
multiple: true
validations:
required: true

- type: markdown
attributes:
value: >
When providing steps to reproduce the issue, please ensure that the issue
is reproducible in the current git master of Yosys. Also ensure to
provide all necessary source files needed.


Please see [https://stackoverflow.com/help/mcve](https://stackoverflow.com/help/mcve)
for information on how to create a Minimal, Complete, and Verifiable Example
(MCVE).

- type: textarea
id: reproduction_steps
attributes:
label: Reproduction Steps
description: "Please provide clear and concise steps to reproduce the issue."
validations:
required: true

- type: textarea
id: expected_behavior
attributes:
label: Expected Behavior
description: "Please describe the behavior you would have expected from the tool."
validations:
required: true

- type: textarea
id: actual_behavior
attributes:
label: Actual Behavior
description: "Please describe how the behavior you see differs from the expected behavior."
validations:
required: true
11 changes: 11 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
contact_links:
- name: Discussions
url: https://github.com/YosysHQ/yosys/discussions
about: "Have a question? Ask it on our discussions page!"
- name: Community Slack
url: https://join.slack.com/t/yosyshq/shared_invite/zt-1aopkns2q-EiQ97BeQDt_pwvE41sGSuA
about: "Yosys Community Slack"
- name: IRC Channel
url: https://web.libera.chat/#yosys
about: "#yosys on irc.libera.chat"

26 changes: 26 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Feature Request
description: "Submit a feature request for Yosys"
labels: ["feature-request"]
body:
- type: markdown
attributes:
value: >

If you have a general question, please ask it in the [Discussions](https://github.com/YosysHQ/yosys/discussions) area
or join our [IRC Channel](https://web.libera.chat/#yosys) or [Community Slack](https://join.slack.com/t/yosyshq/shared_invite/zt-1aopkns2q-EiQ97BeQDt_pwvE41sGSuA).


If you have a bug report, please fill out the appropriate issue form, this form is for feature requests.


Please contact [YosysHQ GmbH](https://www.yosyshq.com/) if you need
commercial support or work done for Yosys.

- type: textarea
id: feature_description
attributes:
label: Feature Description
description: "A clear and detailed description of the feature."
validations:
required: true

24 changes: 0 additions & 24 deletions .github/issue_template.md

This file was deleted.

29 changes: 29 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: "CodeQL"

on:
workflow_dispatch:
schedule:
- cron: '0 3 * * *'

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
steps:
- name: Install deps
run: sudo apt-get install bison flex libreadline-dev tcl-dev libffi-dev

- name: Checkout repository
uses: actions/checkout@v4

- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: cpp
queries: security-extended,security-and-quality

- name: Build
run: make yosys -j6

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
18 changes: 18 additions & 0 deletions .github/workflows/emcc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Emscripten Build

on: [push, pull_request]

jobs:
emcc:
runs-on: ubuntu-latest
steps:
- uses: mymindstorm/setup-emsdk@v14
- uses: actions/checkout@v4
- name: Build
run: |
make config-emcc
make YOSYS_VER=latest
- uses: actions/upload-artifact@v4
with:
name: yosysjs
path: yosysjs-latest.zip
42 changes: 42 additions & 0 deletions .github/workflows/test-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Build and test doc code samples

on:
pull_request:
branches:
- master

jobs:
test-docs:
runs-on: ubuntu-latest
steps:
- name: Install Dependencies
shell: bash
run: |
sudo apt-get update
sudo apt-get install gperf build-essential bison flex libreadline-dev gawk tcl-dev libffi-dev git graphviz xdot pkg-config python3 libboost-system-dev libboost-python-dev libboost-filesystem-dev zlib1g-dev

- name: Setup GCC
uses: Dup4/actions-setup-gcc@v1

- name: Runtime environment
shell: bash
env:
WORKSPACE: ${{ github.workspace }}
run: |
echo "GITHUB_WORKSPACE=`pwd`" >> $GITHUB_ENV
echo "$GITHUB_WORKSPACE/.local/bin" >> $GITHUB_PATH
echo "procs=$(nproc)" >> $GITHUB_ENV

- name: Checkout Yosys
uses: actions/checkout@v3

- name: Build yosys
shell: bash
run: |
make config-gcc
make -j${{ env.procs }}

- name: Run tests
shell: bash
run: |
make -C docs test -j${{ env.procs }}
130 changes: 130 additions & 0 deletions .github/workflows/test-linux.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@
name: Build and run tests (Linux)

on: [push, pull_request]

jobs:
test-linux:
runs-on: ${{ matrix.os.id }}
strategy:
matrix:
os:
- { id: ubuntu-20.04, name: focal }
compiler:
- 'clang-12'
- 'gcc-11'
cpp_std:
- 'c++11'
- 'c++14'
- 'c++17'
- 'c++20'
include:
# Limit the older compilers to C++11 mode
- os: { id: ubuntu-20.04, name: focal }
compiler: 'clang-11'
cpp_std: 'c++11'
- os: { id: ubuntu-20.04, name: focal }
compiler: 'gcc-10'
cpp_std: 'c++11'
fail-fast: false
steps:
- name: Install Dependencies
shell: bash
run: |
sudo apt-get update
sudo apt-get install gperf build-essential bison flex libreadline-dev gawk tcl-dev libffi-dev git graphviz xdot pkg-config python python3 libboost-system-dev libboost-python-dev libboost-filesystem-dev zlib1g-dev

- name: Setup GCC
if: startsWith(matrix.compiler, 'gcc')
shell: bash
run: |
CXX=${CC/#gcc/g++}
sudo apt-add-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install $CC $CXX
echo "CC=$CC" >> $GITHUB_ENV
echo "CXX=$CXX" >> $GITHUB_ENV
echo "CXXFLAGS=-Wp,-D_GLIBCXX_ASSERTIONS" >> $GITHUB_ENV
env:
CC: ${{ matrix.compiler }}

- name: Setup Clang
if: startsWith(matrix.compiler, 'clang')
shell: bash
run: |
wget https://apt.llvm.org/llvm-snapshot.gpg.key
sudo apt-key add llvm-snapshot.gpg.key
rm llvm-snapshot.gpg.key
sudo apt-add-repository "deb https://apt.llvm.org/${{ matrix.os.name }}/ llvm-toolchain-${{ matrix.os.name }} main"
sudo apt-get update
CXX=${CC/#clang/clang++}
sudo apt-get install $CC $CXX
echo "CC=$CC" >> $GITHUB_ENV
echo "CXX=$CXX" >> $GITHUB_ENV
env:
CC: ${{ matrix.compiler }}

- name: Runtime environment
shell: bash
env:
WORKSPACE: ${{ github.workspace }}
run: |
echo "GITHUB_WORKSPACE=`pwd`" >> $GITHUB_ENV
echo "$GITHUB_WORKSPACE/.local/bin" >> $GITHUB_PATH
echo "procs=$(nproc)" >> $GITHUB_ENV

- name: Tool versions
shell: bash
run: |
$CC --version
$CXX --version

- name: Checkout Yosys
uses: actions/checkout@v4

- name: Get iverilog
shell: bash
run: |
git clone https://github.com/steveicarus/iverilog.git
cd iverilog
echo "IVERILOG_GIT=$(git rev-parse HEAD)" >> $GITHUB_ENV

- name: Cache iverilog
id: cache-iverilog
uses: actions/cache@v4
with:
path: .local/
key: ${{ matrix.os.id }}-${{ env.IVERILOG_GIT }}

- name: Build iverilog
if: steps.cache-iverilog.outputs.cache-hit != 'true'
shell: bash
run: |
mkdir -p $GITHUB_WORKSPACE/.local/
cd iverilog
autoconf
CC=gcc CXX=g++ ./configure --prefix=$GITHUB_WORKSPACE/.local
make -j${{ env.procs }}
make install

- name: Build yosys
shell: bash
run: |
make config-${CC%%-*}
make -j${{ env.procs }} CXXSTD=${{ matrix.cpp_std }} CC=$CC CXX=$CC LD=$CC

- name: Store build artifact
if: (matrix.cpp_std == 'c++11') && (matrix.compiler == 'gcc-11')
uses: actions/upload-artifact@v4
with:
name: compiled-yosys
path: yosys

- name: Run tests
if: (matrix.cpp_std == 'c++11') && (matrix.compiler == 'gcc-11')
shell: bash
run: |
make -j${{ env.procs }} test CXXSTD=${{ matrix.cpp_std }} CC=$CC CXX=$CC LD=$CC

- name: Log yosys-config output
run: |
./yosys-config || true
Loading