get register by address instead of name
来源:互联网 发布:sql是什么 编辑:程序博客网 时间:2024/05/16 10:35
Following is the example that can map the address(from SVID generator) with the register in RAL Model.
vmm_ral_reg ral_reg[];
bit[7:0] addr;
//get RAL model
ral_sys.SVIDReg0.get_registers(ral_reg);
//search address, match with the expected addr
foreach(ral_reg[i]) begin
addr=ral_reg[i].get_address_in_system();
//if match, access the register via RAL
if(addr==8'h08) begin
ral_reg[i].read(stat,rdata);
end
end
=================== another way=================
myreg=ral_sys.svidReg1.get_reg_by_offset(trans.payload);
if(myreg==null) begin
`vmm_warning(log,$psprintf("GETREG1 with Reserved address=%0h",trans.payload));
end
else begin
myreg.peek(stat,rdata);
end
- get register by address instead of name
- get pid by name
- get by name
- note : get address of KiFastCallEntry
- Get ip address from an interface name
- Get Process ID by Name
- get value by name (javascript)
- mssql get jobstate by name
- Android: get IP address of device
- get IP address of a given machine
- register component and get object --- illustrated by MSSG
- call by value ;call by address/reference ;call by name;call by pointer
- get table info by column name
- watir-webdriver cookie get value by name
- How to get local machine name and IP address?
- "Incorrect table name" instead of "Identifier too long" error when table name > 64 Characters
- mod_unique_id: unable to find IPv4 address of "name"
- 转载--geolocation and get the address by Google Map api
- SHBrowseForFolder用法
- 使用Relog指令将性能计数器文件导出到Excel
- How to create SVAs in a seperate file
- 关于清除子节点.
- 人生如茶
- get register by address instead of name
- c语言强化训练笔记2010/5/16
- JavaScript,等比例缩放图片的函数
- 利用ibatis 自动生成文件
- Java串口编程3
- [原创] [WEB/JavaScript] 用JavaScript实现自定义控件 --- (1)显示提示信息的输入框
- C#读取含有xmlns的XML文件
- 启动应用时,工作流报错,ClassNotFoundException: org.hibernate.hql.ast.HqlToken
- asp.net profile