-
Notifications
You must be signed in to change notification settings - Fork 33
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
Wrongly assign the name internal signal for vhdl #196
Comments
I fear this is a question for yosys, unless this problem is specific to vhdl.
So the |
Yes, it is correct for Verilog for me also, but for VHDL, it assigns different names to the internal signals. |
I bet this is a problem due to the latch generated. One has to handle 2 items. The principle of the VHDL is during a process the state is prepared to be set at the end, and the process is respawned indefinitely. Internal is a signal, not a variable. Then if the condition is true, the signal is set at the rising edge, but it blinks the input always on the next clock cycle. |
the command i use
ghdl analyze blink_basic.vhdl
/usr/local/bin/yosys -m ghdl -p "ghdl blink; write_cxxrtl blink.cpp
the blink.cpp genrated
you can see that the name of signal internal whuch is internal signa, in the blink.cpp the name is given is different what is assign in vhdl code
i_auto_24_ghdl_2e_cc_3a_806_3a_import__module_24_2
how can I fix this
The text was updated successfully, but these errors were encountered: