-
Notifications
You must be signed in to change notification settings - Fork 8
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
OSS CAD suite apparently distributing stale (broken) build #73
Comments
No, this is a clear bug in the plugin. Thanks for reporting |
So far I haven't been able to reproduce, your example reads OK for me locally. Can you share how have you obtained the slang plugin, and what platform you are running on? |
I am using the OSS CAD Suite (oss-cad-suite-linux-x64-20241223.tgz) and running on Linux Mint 22. |
I tried enabling libc++ assertions on macOS but couldn't reproduce still. I will see about reproducing on Linux. |
What version of Yosys are you using? I have built Yosys and this plugin from source and now the example reads OK. I did need to use an older version of Yosys (0.43+11). |
That’s a good clue. I am testing against a recentish version (I don’t have the number at hand) |
The CAD suite should had a nightly version of Yosys, so that's in conflict with this issue only showing on older Yosys. |
I don't understand your comment. The CAD suite contained Yosys 0.48+45. When building from source, I had to downgrade Yosys to version 0.43+11. |
OK, thanks for the clarification |
Idk if its related, but building the plugin with a newer version of Yosys (0.48+45) does not work for me. Building with the older version (0.43+11) works fine and can read the example.
|
That shouldn't be related (it's due to an API change from YosysHQ/yosys#4524) |
Err, I missed your point about this being the same Yosys version as the CAD suite. How come it builds for the CAD suite, I wonder? |
So this turned out to be spot on. The last successful build of yosys-slang within CAD suite is https://github.com/YosysHQ/oss-cad-suite-build/actions/runs/12385464988/job/34571757331 and it's been failing ever since, e.g. https://github.com/YosysHQ/oss-cad-suite-build/actions/runs/12541062019/job/34969099348 I guess that means the CAD suite packages a stale version of the plugin, which is the likely cause of the original error. |
Why should this problem be limited to just the CAD suite? Doesn't this mean that the plugin can't be built with Yosys versions that have this API change?
Therefore it will only work with older Yosys versions and the suite builds fail because they use a version with that API change? |
Yes, there are two issues: (1) the plugin needs to be updated for the API change (a trivial change) and (2) OSS CAD suite distributes stale builds if the build fails |
I pushed a2e91d4 which might do the trick |
That did not work
|
Hi, also running into this (directed here from searching the error :)). Just curious, is the intention for yosys-slang master to build with yosys master or is there some other versioning matrix I should follow for compatibility? |
It should build and work fine with the last few yosys releases, including the latest. I think I will document this and make the CI validate it. Building with yosys master is a moving target so I can't assure it. |
This is fundamentally at odds with the nightly releasing of OSS CAD suite so something for the Yosys team to discuss. |
Second attempt at fixing the build against pre-release Yosys in 1b19302 |
That did the trick. The plugin builds successful within the CAD suite: |
I hope this is fixed. We can re-open if there's an issue still. |
Hi,
I am fairly new to Yosys, so far I have only read Verilog files. Now I would like to read SystemVerilog files with this plugin. However I cannot get a basic example like the fifo below to be read. I wonder if anyone could help or point me in some direction.
The file does compile in the slang explorer: https://sv-lang.com/explore/
fifo.v:
Is there something we should be doing different? Any help would be great. Thanks in advance.
The text was updated successfully, but these errors were encountered: