• uvm_mem——寄存器模型(十二)


    看完了寄存器,再来看看存储器:

    //------------------------------------------------------------------------------
    // CLASS: uvm_mem
    //------------------------------------------------------------------------------
    // Memory abstraction base class
    //
    // A memory is a collection of contiguous locations.
    // A memory may be accessible via more than one address map.
    //
    // Unlike registers, memories are not mirrored because of the potentially
    // large data space: tests that walk the entire memory space would negate
    // any benefit from sparse memory modelling techniques.
    // Rather than relying on a mirror, it is recommended that
    // backdoor access be used instead.
    //
    //------------------------------------------------------------------------------
    
    class uvm_mem extends uvm_object;
    
       typedef enum {UNKNOWNS, ZEROES, ONES, ADDRESS, VALUE, INCR, DECR} init_e;
    
       local bit               m_locked;
       local bit               m_read_in_progress;
       local bit               m_write_in_progress;
       local string            m_access;
       local longint unsigned  m_size;
       local uvm_reg_block     m_parent;
       local bit               m_maps[uvm_reg_map];
       local int unsigned      m_n_bits;
       local uvm_reg_backdoor  m_backdoor;
       local bit               m_is_powered_down;
       local int               m_has_cover;
       local int               m_cover_on;
       local string            m_fname;
       local int               m_lineno;
       local bit               m_vregs[uvm_vreg];
       local uvm_object_string_pool
                   #(uvm_queue #(uvm_hdl_path_concat)) m_hdl_paths_pool;
    
       local static int unsigned  m_max_size;
  • 相关阅读:
    Nginx安装
    Nginx拦截指定国家的IP
    tomcat版本号隐藏或修改
    tomcat启动时卡住
    tomcat8 manager页面限制IP访问
    tomcat manager配置
    SpringBoot注解验证参数
    docker构建自定义镜像
    ubuntu安装docker以及基本用法
    使用idea创建一个maven工程
  • 原文地址:https://www.cnblogs.com/dpc525/p/8025297.html
Copyright © 2020-2023  润新知