3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-22 16:45:32 +00:00
Commit graph

14670 commits

Author SHA1 Message Date
Emil J. Tywoniak
6685f92c93 quicklogic: ql_dsp_simd remove unused MODE_BITS packing 2025-03-06 12:54:36 +01:00
Emil J. Tywoniak
7514c4738a quicklogic: update dspv2_sim.v to v1.1 Feb21 2025-03-06 11:25:01 +01:00
Emil J. Tywoniak
a8c10eea03 quicklogic: ql_dsp_simd add dspv2 support, fix dspv1 2025-03-06 11:25:01 +01:00
Emil J. Tywoniak
434334ba63 ql_dsp_macc: whitespace. NFC 2025-02-27 17:41:57 +01:00
Emil J. Tywoniak
c1d2107fe0 ql_dsp_macc: dspv2 2025-02-27 17:41:57 +01:00
Emil J. Tywoniak
30473c4899 synth_quicklogic: enable dspv2 tests, fix -dspv2 2025-02-27 17:41:57 +01:00
Emil J. Tywoniak
402ca82503 synth_quicklogic: add -dspv2 to opt into v2 DSP blocks 2025-02-27 17:41:57 +01:00
Martin Povišer
fa8fc08621 qlf_k6n10f: Start tests 2025-02-20 11:30:29 +01:00
Martin Povišer
9035abdcd6 qlf_k6n10f: Fix DSPV2 models 2025-02-20 11:30:24 +01:00
Martin Povišer
d600245ccf qlf_k6n10f: New ql_dsp pass, move to DSPV2 2025-02-20 11:30:17 +01:00
Martin Povišer
92afe26d6b
Merge pull request #4879 from YosysHQ/krys/ub_fixes
Fixing undefined behaviours
2025-02-03 09:56:48 +01:00
github-actions[bot]
18a7c00382 Bump version 2025-01-31 00:20:35 +00:00
KrystalDelusion
cf52cf3009
nowrshmsk: Check for stride==0
log2(0) returns -inf, which gives undefined behaviour when casting to an int.  So catch the case when it's 0 just set the width to 0.
2025-01-31 12:15:53 +13:00
KrystalDelusion
31b00b4c72
celledges: Use b_width_capped for left shifts
`b_width_capped` already exists for preventing arithmetic overflow, limiting the value of `b_width` to 30.  This just changes the left shifts to also use it.
The caveat of incorrect results for extremely large values of `a_width` still applies, as does the improbability of that actually happening.
This fixes #4844 (or at least, the floating point exception; the circuit still isn't valid but I think that's fine).
2025-01-31 11:03:33 +13:00
Emil J
f445479374
Merge pull request #4878 from YosysHQ/emil/fix-wreduce-warning-in-pool
wreduce: fix warning for deprecated IdString::in(pool<IdString>)
2025-01-30 15:53:46 +01:00
Robin Ole Heinemann
0ab13924a5 write_verilog: log_abort on unhandled $check flavor 2025-01-30 14:18:02 +00:00
Robin Ole Heinemann
2f11dc87c9 write_verilog: emit $check cell names as labels 2025-01-30 14:18:02 +00:00
Emil J. Tywoniak
c2691207df wreduce: fix warning for deprecated IdString::in(pool<IdString>) 2025-01-30 12:01:30 +01:00
github-actions[bot]
954250d1df Bump version 2025-01-30 00:20:17 +00:00
Wanda
9d4630484f mailmap: fix up some identities. 2025-01-29 01:39:09 +01:00
github-actions[bot]
3d35f367cf Bump version 2025-01-24 00:20:25 +00:00
Catherine
3076803c9e
write_json: missing \n in help text. 2025-01-23 05:17:52 +00:00
github-actions[bot]
4a27d93b06 Bump version 2025-01-22 00:20:51 +00:00
Miodrag Milanovic
e456f2e972 Next dev cycle 2025-01-21 15:26:22 +01:00
Miodrag Milanovic
427b5a251b Release version 0.49 2025-01-21 14:59:09 +01:00
Emil J
da5c20dcfb
Merge pull request #4849 from YosysHQ/emil/hashlib-merge-top-ops
hashlib: merge hash_ops with hash_top_ops for plugin compat
2025-01-21 12:09:27 +01:00
Miodrag Milanovic
d50849ea83 Copyright year update 2025-01-21 08:48:29 +01:00
github-actions[bot]
3f4f6c17d6 Bump version 2025-01-21 00:20:11 +00:00
Martin Povišer
0c95a76c97
Merge pull request #4856 from gadfort/synth-flatten
add support for passing flatten -separator to flatten in synth
2025-01-20 19:38:25 +01:00
Peter Gadfort
66545caa1b Merge branch 'main' into synth-flatten 2025-01-20 10:24:38 -07:00
N. Engelhardt
f6517a5931
Merge pull request #4859 from YosysHQ/docs-preview-git_links
Fix links for view/edit source
2025-01-20 15:39:34 +00:00
Miodrag Milanović
2c6dc1ac83
Merge pull request #4858 from YosysHQ/update_latest-24.04
Update workflow(s) for ubuntu-latest == ubuntu-24.04
2025-01-20 16:34:46 +01:00
Emil J. Tywoniak
a2c26a00f2 hashlib: document merged hash_top_ops with hash_ops 2025-01-20 16:25:52 +01:00
Emil J. Tywoniak
aa01ef3312 hashlib: simplify loopback. NFC 2025-01-20 16:15:48 +01:00
Miodrag Milanovic
6b449970ef test-build: Fix missing bzlib.h 2025-01-20 16:08:42 +01:00
N. Engelhardt
398024e813
Merge pull request #4851 from YosysHQ/nak/scopeindex_private_hdlname
handle some cases of hdlname attribute on private objects
2025-01-20 14:12:25 +00:00
KrystalDelusion
0c61f1a9a8
conf.py: Fix source_directory 2025-01-20 16:30:30 +13:00
KrystalDelusion
ab4bda8ae2
Docs: Fix links for view/edit source 2025-01-20 16:19:36 +13:00
KrystalDelusion
90b1ccf67b
test-compile: Set oldest clang to 10
clang-11 through clang-16 fail under 24.04, but clang-10 works, so we can move that up to the oldest supported and drop the extra target for ubuntu-20.04
2025-01-20 11:57:47 +13:00
KrystalDelusion
2403c406fb
test-compile: Update latest clang
Use clang-19 as latest
2025-01-20 11:21:17 +13:00
KrystalDelusion
37acfce8c4
test-compile: Update oldest clang for 24.04
Oldest clang on 24.04 appears to be 16.
2025-01-20 11:07:40 +13:00
Peter Gadfort
f0860459ac add support for using scratchpad value for flatten.separator in flatten command 2025-01-18 10:45:19 -07:00
Peter Gadfort
c4f90693aa Revert "add support for passing flatten -separator to flatten in synth"
This reverts commit 63074ccb89.
2025-01-18 10:37:56 -07:00
Peter Gadfort
63074ccb89 add support for passing flatten -separator to flatten in synth 2025-01-18 10:27:10 -07:00
github-actions[bot]
76d85fefac Bump version 2025-01-18 00:19:38 +00:00
Martin Povišer
4f0dae17ad
Merge pull request #4852 from gsomlo/gls-tcl9-json11cpp-cstdint
Fix undefined type error
2025-01-17 09:43:49 +01:00
Gabriel Somlo
fe79a77e39 Fix undefined type error in libs/json11/json11.cpp
Under certain conditions, compilation errors out with
the following message:

    "error: ‘uint8_t’ does not name a type"

Explicitly including <cstdint> prevents that situation.

Signed-off-by: Gabriel Somlo <gsomlo@gmail.com>
2025-01-16 20:09:58 -05:00
N. Engelhardt
a5ba1d2eba fix bugs in handling last id in hdlname to scopename conversion 2025-01-16 12:57:08 +01:00
N. Engelhardt
d640157ec4 fix some cases of hdlname being added to objects with private names 2025-01-15 15:56:42 +01:00
N. Engelhardt
17d45796a6 ModuleHdlnameIndex: handle objects with private name and hdlname attribute 2025-01-15 15:50:10 +01:00