Jump to content

chr_sue

Members
  • Content Count

    8
  • Joined

  • Last visited

  • Days Won

    2

chr_sue last won the day on May 14

chr_sue had the most liked content!

About chr_sue

  • Rank
    Member

Recent Profile Visitors

116 profile views
  1. Please look here at Using UVM_LOG in https://verificationacademy.com/cookbook/messaging/usingmessaging
  2. You dot need a reference to the covergroup class. You can omit this line of code: cg_fsm_state cg_fsm_state_inst; In the constructor you are calling new directly on the coverage class name: cg_fsm_state = new();
  3. If you do not know from which piece of code this message comes set a reasonable timeout in the toplevel module of your UVM testbench.
  4. I believe the problem comes from here. The UVM Reference Manual says: If unmapped is True, the register does not occupy any physical addresses and the base address is ignored. Unmapped registers require a user-defined front door to be specified. The default value of unmapped shall be 0, which is FALSE. Because there is no physical address for this type of registers it will not be updated.
  5. I found an example on the Doulos webpage. The code is in the EDAPlayground: https://www.edaplayground.com/x/4vf Hope this helps.
  6. I believe you have a wrong understanding of the UVM RAL. A few aspects only: (1) the frontdoor sequence you are mentioning is not frontdoor/backdoor. It is a specific class to define a complex sequence related behavior. See the UVM Ref.Manual for the details. (2) the OSPI sequence does not go through the adapter using reg2bus and bus2reg. (3) The adapter is used to convert a generic UVM RAL sequence into a OSPI sequence. (4) Each register sequences has to have a specific access type like RO, RW etc. This might be a few ideas to work on your issue.
  7. The register adapter contains 2 functions: (1) bus2reg (2) reg2bus bus2reg implements the path from the pinlevel interface to the register layer. This is the path which returns the rD-data (ahb_hrdata). reg2bus implements the path from the register layer to the pimlevel interface. This is the path which is used to send the WR-data ahb_hwdata) from the register layer to the DUT.
  8. Unfortunately you do not show a piece of code. But the 3rd argument has to be a bit type (1'b1 for replacing).
×
×
  • Create New...