Commit Graph

14330 Commits

Author SHA1 Message Date
Emil J. Tywoniak 37e61b993a yosys: fix pyosys initialization segfault 2024-10-18 11:56:13 +02:00
Emil J 799497ebba
Merge pull request #4671 from YosysHQ/emil/const-deref-pyosys
py_wrap: implement nested class definitions
2024-10-18 11:46:12 +02:00
Emil J. Tywoniak 49d8a35c2e rtlil: appease py_wrap 2024-10-18 11:31:20 +02:00
Emil J. Tywoniak d5aadeae3b py_wrap: remove some debug statements 2024-10-18 11:18:34 +02:00
Miodrag Milanović 67e5c4b1f6
Merge pull request #4676 from YosysHQ/micko/fix_macos_ci
CI: make CI continue even if brew objects
2024-10-18 09:31:35 +02:00
Miodrag Milanovic be8c75a3a5 CI: make CI continue even if brew objects 2024-10-18 08:38:36 +02:00
github-actions[bot] 0d9c59e4e6 Bump version 2024-10-18 00:20:28 +00:00
Krystine Sherwin a370c116d5
libs/fst: Use unbuffered IO flag 2024-10-18 07:25:29 +13:00
Krystine Sherwin f881ba6200
test-docs-build: Install docs prereqs 2024-10-18 05:38:49 +13:00
KrystalDelusion 38dae1d7e0
Merge pull request #4376 from YosysHQ/krys/docs_cmd_ref
Docs: Use formatted cmd ref in pdf
2024-10-18 04:53:43 +13:00
github-actions[bot] a54f632258 Bump version 2024-10-17 00:20:44 +00:00
Emil J. Tywoniak d29499a10f actions: vendor sources with submodules for releases 2024-10-17 00:11:10 +02:00
Emil J. Tywoniak 0341265e64 driver: fix special args passing to tcl and python 2024-10-16 23:56:45 +02:00
Emil J. Tywoniak e9e67f381c rtlil: remove trailing comma as pyosys workaround 2024-10-16 23:15:06 +02:00
Emil J. Tywoniak f219bb357f py_wrap: kinda fixed 2024-10-16 23:12:41 +02:00
Emil J. Tywoniak 86630bba08 py_wrap: nested classes 2024-10-16 22:55:17 +02:00
Emil J. Tywoniak 4b9c135098 py_wrap: refactor nesting_delta 2024-10-16 22:46:23 +02:00
Krystine Sherwin d1c6699125
test-docs-build: Use fast runner 2024-10-17 07:15:11 +13:00
Krystine Sherwin e5da0e341e
Makefile: Combine gen_images and gen_examples
gen_images and gen_examples are never called on their own, CI scripts call make -C docs directly. Since calling them both in parallel seems to cause issues, let's not do that, and instead combine them into a singular `make docs/gen`.  This should resolve the parallelism problems by making them sequential while still retaining the -j support.
2024-10-17 07:12:34 +13:00
Krystine Sherwin 2157f67184
libs/fst: Patch more _MSC_VER checks 2024-10-17 07:05:24 +13:00
Krystine Sherwin 827e5baca7
libs/fst: Update from upstream 2024-10-17 07:05:23 +13:00
Krystine Sherwin 5f83d4d9da
libs/fst: Patch <io.h>
I think what's happening here is that the _WIN64 fix is correct for 64bit windows, but (for whatever reason) the visual studio build is targeting 32bit windows, so the fix is unnecessary, but the upstream fix doesn't expect to be targeting 32bit windows and assumes all windows builds are 64bit... so fix that.
2024-10-17 07:05:23 +13:00
Krystine Sherwin 1055e8ce51
libs/fst: Add fst_win_unistd.h to srcfiles.txt 2024-10-17 07:05:23 +13:00
Krystine Sherwin a54721aa39
libs/fst: Patch for zlib on windows 2024-10-17 07:05:23 +13:00
Krystine Sherwin c4a0845207
libs/fst: Fix filename references 2024-10-17 07:05:23 +13:00
Krystine Sherwin 2edb9397c3
libs/fst: Update from upstream
Add shell script (based on minisat lib) to clone and copy relevant files.
Unclear if there are any changes lost that we need to patch back in.
2024-10-17 07:05:23 +13:00
Krystine Sherwin 5d14c3017e
test-build.yml: Add test-docs-build
Try use self hosted linux runner to build html and latexpdf to check for errors.
Trying to use the build artifact didn't seem to work, so just run it on its own.
Upload docs/build folder as artifact to enable review without having to build
locally.  Note: doesn't include verific, so will differ slightly from final
published docs.
2024-10-17 06:10:12 +13:00
Krystine Sherwin 4ea6119734
cmdref: Move html only section inside cmd:def
Fixes missing links in body and `??` in tag/command index.
Update synth.rst to match.
2024-10-17 06:06:57 +13:00
KrystalDelusion f137509505
Merge pull request #4332 from YosysHQ/krys/help_docs
Add docs generation from cells help output
2024-10-17 05:01:35 +13:00
Krystine Sherwin e9d9e92804
Docs: Make code_examples/extensions parallel safe 2024-10-17 04:40:21 +13:00
Martin Povišer 9432e972f7
Merge pull request #4626 from povik/select-t-at
select: Add new `t:@<name>` syntax
2024-10-16 10:18:05 +02:00
github-actions[bot] 11e94cc97c Bump version 2024-10-16 00:20:45 +00:00
Emil J. Tywoniak f9f509bc25 select: add t:@<name> test 2024-10-15 21:06:06 +02:00
Emil J. Tywoniak 81bbde62ca verilog_parser: silence yynerrs warning 2024-10-15 08:32:55 -04:00
Martin Povišer 09be0351ce select: Add new `t:@<name>` syntax 2024-10-15 12:22:02 +02:00
github-actions[bot] adb6cdb167 Bump version 2024-10-15 00:20:48 +00:00
Jason Thorpe f75b1e838c misc/yosys-config.in: don't use the non-portable '==' operator with
test(1).
2024-10-14 16:06:34 -07:00
Krystine Sherwin bc77575c22
Docs: Fix word_logic.rst
It somehow got lost in the rebase.
2024-10-15 11:46:21 +13:00
Krystine Sherwin c93fd54e43
ci: Install docs/reqs (namely, furo-ys) 2024-10-15 11:37:52 +13:00
Krystine Sherwin 27b8b4e81e
Docs: Fix missing groups
$lut and $sop were missed in the rebase, and $buf is new to main since the last rebase.
2024-10-15 11:08:30 +13:00
Krystine Sherwin 1513366f21
Docs: Adding mux cell descriptions
Also making ver2 cell descriptions consistently spaced.
2024-10-15 07:37:34 +13:00
Krystine Sherwin dfe803b5c6
Docs: Comments from @jix
- Unswap shift/shiftx
- Add brief overview to cell lib
- Clarify $div cell B input
- Clarify unary operators
- What is $modfloor
2024-10-15 07:37:20 +13:00
Krystine Sherwin 927dc445dd
Docs: Render cell titles
Also put property lists *after* cell description.
2024-10-15 07:35:42 +13:00
Krystine Sherwin 7216f07691
Docs: Define is_evaluable 2024-10-15 07:35:41 +13:00
Krystine Sherwin 9d808caba6
Docs: Add note on $check 2024-10-15 07:35:41 +13:00
Krystine Sherwin e40134c856
Docs: Update for properties
Add properties page, move cell_gate and cell_word under a singular cell_index along with properties.  Fix links accordingly.

Also drop x-aware and x-output todos since they are resolved.
2024-10-15 07:35:41 +13:00
Krystine Sherwin 4d84d7e69f
simlib.v: Add x-output tag
Also a few extra cell help texts.
2024-10-15 07:35:41 +13:00
Krystine Sherwin ce6a7fe4fc
docs/util: Cells now have properties
Properties are both an option:
```
.. cell:def:: $add
   :properties: is_evaluable
```
and a field:
```
.. cell:def:: $eqx

   :property x-aware:
   :property is_evaluable:
```

Properties as an option appear in the property index: linking a given property to all cells with that property; while properties as a field display with the cell.
2024-10-15 07:35:41 +13:00
Krystine Sherwin e3d939b719
Docs: Drop fifo.out and fifo.stat
These two files can now be safely .gitignore'd.
2024-10-15 07:35:41 +13:00
Krystine Sherwin 1a2401816a
Docs: Add cell title TODO 2024-10-15 07:35:41 +13:00