Discussion:
Emacs - VHDL Mode, what does "Upper Case Enumeration Values" and "Upper Case Constants" do?
(too old to reply)
m***@gmail.com
2013-01-31 17:29:30 UTC
Permalink
Could someone explain what these are supposed to do?

I don't believe its taking effect, I am hoping it capitalizes state values

Example:

type state is (idle, transfer, done);
...
case state is
when idle =>"

TO

type state is (IDLE, TRANSFER, DONE);
...
case state is
when IDLE

AND

"constant test : std_logic_vector(9 downto 0) := (others => '0');"
"constant TEST : std_logic_vector(9 downto 0) := (others => '0');"

this is what I'm looking for
m***@gmail.com
2013-02-04 11:28:49 UTC
Permalink
Post by m***@gmail.com
type state is (idle, transfer, done);
...
case state is
when idle =>"
TO
type state is (IDLE, TRANSFER, DONE);
...
case state is
when IDLE
I've found that what "vhdl-mode" means by "enumerated values" are words like note, warning, error, failure (assert severity) and true, false (boolean). Not really all that useful and the name of the options "enumerated value" would make me think it should have the effect you describe...
Post by m***@gmail.com
AND
"constant test : std_logic_vector(9 downto 0) := (others => '0');"
"constant TEST : std_logic_vector(9 downto 0) := (others => '0');"
I can't work out what it's doing for that either...

might be worth asking here:
http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#maintenance
m***@gmail.com
2013-02-09 04:19:53 UTC
Permalink
Post by m***@gmail.com
I can't work out what it's doing for that either...
http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#maintenance
Thanks for verifying this for me, glad its not just me..

I'll see what response I get from the link.

Loading...