[an error occurred while processing this directive]
|
/ Text substitution macro
`define <:mnemonic:> <:text_string:>
// example:
`define MAX 20 // without arguments
`define NAND(dval) nand #(dval) // with argument
// Conditional compilation directive
`ifdef <:macro_name:>
<:statements:>
`else
<:statements:>
`endif
Этого вполне достаточно. Еще есть полезная конструкция generate
E-mail: info@telesys.ru