# 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 -- The -t parameters is passed to iverilog # # # Patterns have a name and text. The name has the form where the # key is some key value that is required by iverilog. The commonly # used keys are: # # # The string here is the command line needed to take the # preprocessor output (ivlpp) and compile it with the # target. All target types use this key. # # The pattern text includes % substitutions. iverilog # substitutes values for the % 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 flag. # # %T Substitute min, typ or max depending on the -T flag from the # command line. # # %?; # This substitution pattern is magical, and is the only # multicharacter pattern. This tests the code , and # substitutes into the output only if is true. # The 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] %B/ivl %?s-s%s; %?N-N%N; %?T-T%T; -tnull -- - [-tnull] %B/ivl %?s-s%s; %?N-N%N; %?T-T%T; -tnull -- -