There are special Tasks and Function in Verilog language which are used to generate input and output during simulation process. These special Tasks and Functions are always starts with $ sign, followed by Task/Function specifier. Synthesis tools ignore these system tasks and functions.
These System Tasks are classified as below
- Display Task
- $display, $write, $monitor, $strobe
- File I/O Task
- $fopen, $fclose, $fdisplay, $fstrobe, $fmonitor
- Timescale Task
- $time, $stime, $realtime
- Simulation Control Task
- $reset, $finish, $stop