interface led_if(); | interface led_if(); | ||||
logic [2:0]rgb; | logic [2:0]rgb; | ||||
logic [2:0]rgbn; | |||||
modport led_port_stim(input rgb); | |||||
modport led_port_top(output rgb); | |||||
modport led_port_stim(input rgb, rgbn); | |||||
modport led_port_top(output rgb, rgbn); | |||||
endinterface : led_if | endinterface : led_if |