2000-10-09 00:36:55 +02:00
|
|
|
|
|
|
|
|
# The iverilog.conf configuration file provides to the iverilog driver
|
|
|
|
|
# strings based on switches that are passed by the user on the command
|
|
|
|
|
# line.
|
|
|
|
|
#
|
|
|
|
|
# Comments start from the hash (#) character and run to the end of the
|
|
|
|
|
# line.
|
|
|
|
|
#
|
|
|
|
|
# Conditions are a list of requirements between [] characters. For the
|
|
|
|
|
# set of patterns following a string to b activated, all the
|
|
|
|
|
# conditions must be true. Valid conditions are:
|
|
|
|
|
#
|
|
|
|
|
# -S -- The -S flag is passed to iverilog
|
|
|
|
|
# -t<string> -- The -t<string> parameters is passed to iverilog
|
|
|
|
|
#
|
|
|
|
|
#
|
2000-10-13 05:38:48 +02:00
|
|
|
# Patterns have a name and text. The name has the form <key> where the
|
2000-10-09 00:36:55 +02:00
|
|
|
# key is some key value that is required by iverilog. The commonly
|
|
|
|
|
# used keys are:
|
|
|
|
|
#
|
|
|
|
|
# <ivl>
|
2000-10-13 05:38:48 +02:00
|
|
|
# The string here is the command line needed to take the
|
2000-10-09 00:36:55 +02:00
|
|
|
# preprocessor output (ivlpp) and compile it with the
|
|
|
|
|
# target. All target types use this key.
|
|
|
|
|
#
|
|
|
|
|
# The pattern text includes %<code> substitutions. iverilog
|
|
|
|
|
# substitutes values for the %<code> sequences within the text.
|
|
|
|
|
#
|
|
|
|
|
# %B Substitute the base libdir, -B flag of iverilog.
|
|
|
|
|
#
|
|
|
|
|
# %s Substitute the start module (-s flag) from the user.
|
|
|
|
|
#
|
|
|
|
|
# %N Substitute the value of the -N<path> flag.
|
|
|
|
|
#
|
|
|
|
|
# %T Substitute min, typ or max depending on the -T flag from the
|
|
|
|
|
# command line.
|
|
|
|
|
#
|
|
|
|
|
# %?<c><text>;
|
|
|
|
|
# This substitution pattern is magical, and is the only
|
|
|
|
|
# multicharacter pattern. This tests the code <c>, and
|
|
|
|
|
# substitutes <text> into the output only if <c> is true.
|
|
|
|
|
# The <text> may include further substitution strings, and is
|
|
|
|
|
# terminated by a semi-colon (;) character.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# This is the null (no op) target. Thre is a synthesis version and a
|
|
|
|
|
# non-synthesis version. Normally, this does not matter, but this can
|
|
|
|
|
# be useful and interesting if the -N flag is included.
|
|
|
|
|
|
|
|
|
|
[-tnull -S]
|
|
|
|
|
<ivl>%B/ivl %?s-s%s; %?N-N%N; %?T-T%T; -tnull -- -
|
|
|
|
|
|
|
|
|
|
[-tnull]
|
|
|
|
|
<ivl>%B/ivl %?s-s%s; %?N-N%N; %?T-T%T; -tnull -- -
|
|
|
|
|
|