DVT IDE for VS Code VHDL User Guide
Rev. 24.1.12, 12 June 2024

4.10 Strings

You may use single quoted (') or double quoted (") strings to group a piece of text so that it will be considered a single directive argument. Example:

+define+FOO='my macro'

To use a quotation mark " in a string, you should escape it using backslash \ like this:

+define+MOO="Hello \"Moo\""

You can also use \" as string delimiter, and any " inside the string defined like this are considered as part of the string, like this:

+define+MOO=\"Hello "Moo"\"

NOTE: When in vcs compatibility mode, the escaping only works in files included with -file (see Including Other Argument Files).