Fix "ghdl.flags" error in documentation#620
Conversation
|
Hi @LukasVik! I agree with fixing the location of that flag, however, I think that your interpretation might not be correct. I'd say that |
|
Upon inspection of the sources (https://github.com/VUnit/vunit/blob/master/vunit/sim_if/ghdl.py) I was wrong and your interpretation is correct. I must have been mislead by some wip I have somewhere... So, I'm ok with with this PR. @LarsAsplund, @kraigher, should we consider to rename |
Yeah it threw me for a loop as well. Had to inspect the code to find what was what.
Makes sense. The current naming is confusing, as proven by this conversation. |
|
If we change the name the old name must still work but have a deprecation message for many releases before we remove it. |
I believe this must be a copy-paste error. "ghdl.flags" is for compilation options, and is documented as such further up in the file. "ghdl.elab_flags" and "ghdl.sim_flags", which are for simulation options are documented below.