Agent code error

In reply to Lucifer_morn:

The problem was happened because the file “seq_agent.sv” was compiled multiple times.
To avoid it, please use as following macro:


`ifndef _SEQ_AGENT__SV_
`define _SEQ_AGENT__SV_

class seq_agent extends uvm_agent;
...
endclass
`endif