logic should be used instead of reg and wire.
logic
reg
wire
Replace reg and wire with logic.
reg abc; wire def;
logic abc; logic def;