RistanCASERistanCASE Home
Home |  Products |  Company Info |  Partners   
Home » Products » DAC V4.x » FAQ (How-to) » How to use DAC with VHDL?
How to use DAC with VHDL? FAQ Index
This support was developed in cooperation with Mr. Thomas Runge, SEG Germany.

His goal was to use the same Windows IDE for both Embedded C and VHDL.

Source Dialect:

In "Options / Analyze / Source" choose the ANSI C dialect (not significant). The "Start / Build Database" and "Start / Update Database" commands may not be started.

Syntax coloring:
  • The C keywords will have the same color as normal text in VHDL. Please use the following dialog boxes: "Options / Editor / Colors / Reserved words" and "Options / Editor / Colors / Non ANSI reserved"
  • For VHDL keywords, use the "Special Identifiers" DAC option. They must be listed in a single file (e.g. vhdl.key). This file must be configured with @filename (e.g. @vhdl.key) in "Options / Editor / Preferences / Spec. Iden.". The color for "Special Identifiers" can be configured in the "Options / Editor / Colors / Special identifiers" dialog box.
Use the following syntax for comments:
--// This VHDL comment has C comment color.
-- This VHDL comment doesn't have C comment color.

Download the example for
User Defined Actions (vhdl.dcp) and Special Identifiers (vhdl.key) files.
  
Copyright © 1996-2008 RistanCASE GmbH. All rights reserved.