There are four types of compiler directives in Verilog a `define b `include c `ifdef d `timescale `define is used to define text macros For example`define SIZE 16 `include is used to import entire Verilog file to another file For example if want to include moniterv file into designv //designv file `include moniterv statementsIf the condition checked by #if, #ifdef, or #ifndefis true (nonzero), then all lines between the matching #else(or #elif) and an
0 件のコメント:
コメントを投稿