File tree 3 files changed +251
-221
lines changed
Units/parser-verilog.r/systemverilog-interface.d
3 files changed +251
-221
lines changed Original file line number Diff line number Diff line change @@ -28,3 +28,8 @@ intf_automatic input.sv /^interface automatic intf_automatic;$/;" I
28
28
logic_automatic input.sv /^ logic logic_automatic;$/;" r interface:intf_automatic
29
29
intf_automatic.logic_automatic input.sv /^ logic logic_automatic;$/;" r interface:intf_automatic
30
30
external_interface input.sv /^extern interface external_interface;$/;" Q
31
+ ubus_env input.sv /^class ubus_env extends uvm_env;$/;" C
32
+ vif input.sv /^ protected virtual interface ubus_if vif;$/;" r class:ubus_env
33
+ ubus_env.vif input.sv /^ protected virtual interface ubus_if vif;$/;" r class:ubus_env
34
+ has_bus_monitor input.sv /^ protected bit has_bus_monitor = 1;$/;" r class:ubus_env
35
+ ubus_env.has_bus_monitor input.sv /^ protected bit has_bus_monitor = 1;$/;" r class:ubus_env
Original file line number Diff line number Diff line change @@ -22,3 +22,13 @@ interface automatic intf_automatic;
22
22
endinterface
23
23
24
24
extern interface external_interface ;
25
+
26
+ // from UVM-1.2
27
+ class ubus_env extends uvm_env ;
28
+
29
+ // Virtual Interface variable
30
+ protected virtual interface ubus_if vif;
31
+
32
+ // Control properties
33
+ protected bit has_bus_monitor = 1 ;
34
+ endclass : ubus_env
You can’t perform that action at this time.
0 commit comments