Jump to content

nayan

Members
  • Content Count

    1
  • Joined

  • Last visited

Everything posted by nayan

  1. Hi Tudor

    Please can you help me with the RAL register read.

    I have multiple register in my design for which i have generated the RAL model  and i want to read all the register using reg_map ?

      // Get all the registers in map
      model.blk0.get_maps(map);


      foreach(map) begin
        map.read(status, reg_rdata,.map(map), .parent(this));
      end

    I tried doing this but i am getting following error -

    Could not find member 'read' in class 'uvm_reg_map'

    Can you suggest how to do read to all the registers in RAL model.

     

  2. I have multiple registers in my design blk0 for which i have created a RAL model? How to read all the register in RAL model using reg_map? Please explain with example...
×
×
  • Create New...