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
Bad elaboration order #87
Comments
I suppose this is due to the use of generic packages. This vhdl-08 feature is not yet supported by synth.
|
I get the identical error message for a different design. Shall I try to build a minimal example, and open an new issue? |
Yes, if you have a vhdl-93 reproducer, please post it. No need to create a new issue.
It doesn't need to be minimal, but it is much better when it is stand-alone.
The warnings in std_logic_arith could be ignored.
|
Here is the source: https://github.com/cajt/ghdlsynth-testcase-loa |
I can reproduce the crash.
|
The bad elaboration error is now fixed. But there are some unimplemented operations that I have to fix. |
ghdl now detects a latch in uart_rx. |
Thank you. |
A latch is synthesisable, but currently rejected by ghdlsynth.
|
I am closing this issue because the bad elaboration order crash is now fixed. |
For my case I still get the same Also I don't know where you found generic packages, I don't think they are used in this project. |
The elaboration order crash is now fixed. There is a different crash after that; I will have a look at it.
|
Great news, after going through things affected by #93 it seems to atleast not crash or error out. There are still some issues with some cells not being correctly techmapped by yosys, that I will look into further soon. |
Hi,
I am trying to use this with a bigger project targeting the Xilinx Zynq 7020 FPGA.
I am using this script: https://paste.niemo.de/ubehahuwup.sh to try and synthesize the design. It produces the following output: https://paste.niemo.de/raw/lazolamaxo
(The
unisim.vhd
andunimacro.vhd
come from aVivado
installation, they areVivado/2018.2/data/vhdl/src/unisim/unisim_retarget_VCOMP.vhd
andVivado/2018.2/data/vhdl/src/unimacro/unimacro/unimacro_VCOMP.vhd
)It fails at the
yosys
step withThis is of course not a lot of information to work with, but due to the size of the project, I am not sure how do debug / reduce this error further.
Do you have any pointers for me on how to debug this further or reduce the project to something workable?
The text was updated successfully, but these errors were encountered: