1DEFAULT_BIT input.vr /^#define DEFAULT_BIT /;" d file: roles:def 2DEFAULT_BIT input.vr /^#undef DEFAULT_BIT$/;" d file: roles:undef 3DEFAULT_INT input.vr /^#define DEFAULT_INT /;" d file: roles:def 4DEFAULT_INT input.vr /^#undef DEFAULT_INT$/;" d file: roles:undef 5ExampleClass input.vr /^class ExampleClass {$/;" c roles:def 6getBit input.vr /^ public function bit getBit() {$/;" f class:ExampleClass roles:def 7getData input.vr /^ public function bit[7:0] getData() {$/;" f class:ExampleClass roles:def 8getInt input.vr /^ public function integer getInt() {$/;" f class:ExampleClass roles:def 9getName input.vr /^ public function string getName() {$/;" f class:ExampleClass roles:def 10getTrigger input.vr /^function event ExampleClass::getTrigger() {$/;" f class:ExampleClass roles:def 11m_bit input.vr /^ local bit m_bit = DEFAULT_BIT;$/;" m class:ExampleClass file: roles:def 12m_data input.vr /^ local bit [7:0] m_data = 8'hzz;$/;" m class:ExampleClass file: roles:def 13m_eTrigger input.vr /^ local event m_eTrigger;$/;" m class:ExampleClass file: roles:def 14m_int input.vr /^ local integer m_int = DEFAULT_INT;$/;" m class:ExampleClass file: roles:def 15m_sName input.vr /^ local string m_sName;$/;" m class:ExampleClass file: roles:def 16main input.vr /^program main {$/;" p roles:def 17new input.vr /^ public task new(string sInstName, integer index = DEFAULT_INT) {$/;" t class:ExampleClass roles:def 18setBit input.vr /^ public task setBit(bit b) {$/;" t class:ExampleClass roles:def 19setData input.vr /^ public task setData(bit[7:0] data) {$/;" t class:ExampleClass roles:def 20setInt input.vr /^ public task setInt(integer i) {$/;" t class:ExampleClass roles:def 21setName input.vr /^ public task setName(string name) {$/;" t class:ExampleClass roles:def 22setTrigger input.vr /^task ExampleClass::setTrigger(event e) {$/;" t class:ExampleClass roles:def 23trigger input.vr /^ public task trigger() {$/;" t class:ExampleClass roles:def 24wait input.vr /^ public task wait() {$/;" t class:ExampleClass roles:def 25