1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
| function void build(); this.HC1R = uvm_reg_field::type_id::create("HC1R",,get_full_name()); this.HC1R.configure(this, 1, 23, "RW", 0, 1'h0, 0, 0, 0); this.HC1E = uvm_reg_field::type_id::create("HC1E",,get_full_name()); this.HC1E.configure(this, 1, 22, "RW", 0, 1'h0, 0, 0, 0); this.HC0R = uvm_reg_field::type_id::create("HC0R",,get_full_name()); this.HC0R.configure(this, 1, 19, "RW", 0, 1'h0, 0, 0, 0); this.HCOE = uvm_reg_field::type_id::create("HCOE",,get_full_name()); this.HCOE.configure(this, 1, 18, "RW", 0, 1'h0, 0, 0, 0); this.BL = uvm_reg_field::type_id::create("BL",,get_full_name()); this.BL.configure(this, 1, 15, "RW", 0, 1'h0, 0, 0, 0); this.CSL = uvm_reg_field::type_id::create("CSL",,get_full_name()); this.CSL.configure(this, 1, 14, "RW", 0, 1'h0, 0, 0, 0); this.VSL = uvm_reg_field::type_id::create("VSL",,get_full_name()); this.VSL.configure(this, 1, 13, "RW", 0, 1'h0, 0, 0, 0); this.HSL = uvm_reg_field::type_id::create("HSL",,get_full_name()); this.HSL.configure(this, 1, 12, "RW", 0, 1'h0, 0, 0, 0); this.PC = uvm_reg_field::type_id::create("PC",,get_full_name()); this.PC.configure(this, 1, 11, "RW", 0, 1'h0, 0, 0, 0); this.CD = uvm_reg_field::type_id::create("CD",,get_full_name()); this.CD.configure(this, 2, 9, "RW", 0, 2'h0, 0, 0, 0); this.VBL = uvm_reg_field::type_id::create("VBL",,get_full_name()); this.VBL.configure(this, 2, 7, "RW", 0, 2'h0, 0, 0, 0); this.CBSWE = uvm_reg_field::type_id::create("CBSWE",,get_full_name()); this.CBSWE.configure(this, 1, 6, "RW", 0, 1'h0, 0, 0, 0); this.VBSWE = uvm_reg_field::type_id::create("VBSWE",,get_full_name()); this.VBSWE.configure(this, 1, 5, "RW", 0, 1'h0, 0, 0, 0); this.CBSIE = uvm_reg_field::type_id::create("CBSIE",,get_full_name()); this.CBSIE.configure(this, 1, 4, "RW", 0, 1'h0, 0, 0, 0); this.VBSIE = uvm_reg_field::type_id::create("VBSIE",,get_full_name()); this.VBSIE.configure(this, 1, 3, "RW", 0, 1'h0, 0, 0, 0); this.HIE = uvm_reg_field::type_id::create("HIE",,get_full_name()); this.HIE.configure(this, 1, 2, "RW", 0, 1'h0, 0, 0, 0); this.VIE = uvm_reg_field::type_id::create("VIE",,get_full_name()); this.VIE.configure(this, 1, 1, "RW", 0, 1'h0, 0, 0, 0); this.VEN = uvm_reg_field::type_id::create("VEN",,get_full_name()); this.VEN.configure(this, 1, 0, "RW", 0, 1'h0, 0, 0, 0); endfunction: build
|