Fatal errors in system verilog

In reply to Nishant Kumar:

There is no way to help you with this kind of error without showing the line of code scb_spi.sv(21), and probably the code around it to show the context.