-
Notifications
You must be signed in to change notification settings - Fork 373
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
synth: assertion failure for --synth on Chips4Makers JTAG code #970
Comments
It would be much easier to locate the problem, if you would synthesize the files one after another. |
Indeed, it seems that about 7 projects in https://gitlab.com/Chips4Makers are to be potentially tested with @Fatsie, you can have a script that tries to build/synth as many repos as you want; execute it periodically to see how GHDL's support evolves; and update the follow-up issue accordingly. Nonetheless, please help us by further triaging the code that is producing the crashes. We don't expect you to find the specific line, but synthesizing files one by one (as suggested by @tmeissner) would be really helpful. Should you have too many files, we can help you find the compilation order automatically. |
I thought that having one big thread would make it more difficult to see which problem is solved and which is not. That's why I made issue for each type of error I find but if you prefer to have one big issue I'll do that. |
Staf, your issues are OK. For me, they are easy to investigate even if they are slightly large.
Of course, it would be better to have small reproducers so that I can put it directly in the testsuite. But I agree that when you have a crash, it is not easy for the user to create a reproducer.
|
And that is the most sensible approach for any relatively stable feature, which is the case of simulation support in GHDL. However, synthesis features are in an extremely experimental state. As a result, you are likely to find tens of unsupported features; especially when trying large designs as a black box. As long as you are able to avoid duplicates, it is OK open new issues. That helps us see that the project advances! 🚀
That's why I suggested a script the represents which projects you'd like to be supported. I am personally interested on which other cool designs you bring, and I'd like to help with periodically testing/triaging related issues. FTR, I am working on a GitHub Action that will allow to re-evaluate the MWEs in the first message of an issue, and post the Bug occurred blog in the issue, whenever GHDL is updated. Your sets of projects are the kind of designs for which I find it specially useful to have a tracking issue. |
Problem is that I have synthesis now integrated in Makefile flow that uses nmigen + yosys and nmigen is also a fast moving target. I'll try to remove the need for nmigen. |
Please, just point me to that Makefile, and I will have a look. The GitHub Action I commented is based on docker containers. Hence, we might probably just try to execute your makefile straightaway and search for GHDL related errors. That's something I'd like to support. |
Actually I am still using Symbiotic EDA with verific plugin for yosys for VHDL synthesis and trying to convert to ghdl. Will let you know when I have that implemented. |
Great!
We are currently providing images based on Debian Buster for yosys, symbiyosys, nextpnr, and VUnit, apart from GHDL and GHDL's language server. See https://github.com/ghdl/docker#-cacheyml-5-jobs--max-5--7-images-weekly On the one hand, there is some overlap with what FOSSI (librecores-ci) might provide/maintain: librecores/docker-images#33. On the other hand, I'd like to know which features you miss in the set of images that we provide currently. |
Description
ghdl --synth fail on Chips4Makers JTAG code
How to reproduce?
I am running on Ubuntu 18.04.3 LTS with freshly compiled ghdl using gnat-8 package. Following steps should reproduce the problem:
The text was updated successfully, but these errors were encountered: