Factory in sv

Hi Aslam,
Well, OVM is SystemVerilog, as is UVM. The factory is an object-oriented programming pattern, so it requires the use of classes in SystemVerilog. In addition, there is a fair amount of infrastructure that is required in order to implement a factory. Therefore, I’d suggest you use UVM (or OVM) if you want to use a factory. Hope this helps,
-Tom