Search code examples
verilogsystem-verilogelaboration

Systemverilog elaboration phase info print?


Does anyone know a way to make Systemverilog print something I want one time at the elaboration phase?

I know you can use new $error() system call to print errors at the elaboration phase, but I just want to print info there (not an error) one time. Is it possible to do with $info() call, or is there another way?

Also, preferably the info would print before the errors.


Solution

  • module top;
    
    $info("I could have tried this before posting");
    
    endmodule