VHDL Language Support

Get help with the installation and running of the Zeus IDE. Please do not post bug reports or feature requests here. When in doubt post your question here.
Post Reply
kenwick
Posts: 2
Joined: Fri Nov 25, 2005 11:02 pm

VHDL Language Support

Post by kenwick »

It appears that Zeus does not come with support for VHDL even though the web page says it does. Is this the case :?:
Last edited by kenwick on Sat Nov 26, 2005 5:15 pm, edited 1 time in total.
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij »

Zeus has a Verilog document type. Isn't this similar or the the same as VHDL :?:

If this is the case then all you need todo use the Options, Document Types menu to edit the Verilog document type and make sure your VHDL file extension is listed in the General section.
kenwick
Posts: 2
Joined: Fri Nov 25, 2005 11:02 pm

VHDL Language Support

Post by kenwick »

Hi Jussi. VHDL and Verilog are both Hardware Description Languages (HDL), but they are entirely different in structure and syntax. Verilog has a ".v" file extension and VHDL uses ".vhd", so identifying the type is simple. It appears that we would need to create a document type file and TAGS file to support VHDL. Perhaps someone has already done this :?:
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij »

Verilog has a ".v" file extension and VHDL uses ".vhd"
Unfortunatly this means the current code folding is only going to work for Verilog and not VHDL :(

But if the current Verilog folding also works for VHDL (ie save a VHDL file with an extension of ".v" ) then let me know and I will add this extra extension to the Verilog folder :)

But if the folding for VHDL is totally different then you will need to post a message to the folding section of this forum, describing the way VHDL should fold and I would be happy to implement this VHDL specific folding.
It appears that we would need to create a document type file
Luckily the creation of a document type is fairly simple process: http://www.zeusedit.com/forum/viewtopic.php?t=236

I also noticed the Zeus installer will have copied the zExample\vhdl.txt file to the Zeus install directory. You can use this file when creating the document type. Just use the import button found in the keywords section of the document type to import this file.
and TAGS file to support VHDL.
Exuberant Ctags does not list VHDL as one of it's supported languages. Unfortunately this means the class browing will not work until Ctags is changed to also support VHDL :(

Jussi
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij »

The latest Zeus installer now comes with a VHDL document type.

Cheers Jussi
Post Reply