format display on systemverilog
来源:互联网 发布:孕妇不能吃薄荷糖 知乎 编辑:程序博客网 时间:2024/05/21 09:53
Format specifications:
Argument Description
%h or %H
%x or %X Display in hexadecimal format
%d or %D Display in decimal format
%o or %O Display in octal format
%b or %B Display in binary format
%c or %C Display in ASCII character format
%l or %L Display library binding information
%v or %V Display net signal strength
%m or %M Display hierarchical name
%p or %P Display as an assignment pattern
%s or %S Display as a string
%t or %T Display in current time format
%u or %U Unformatted 2 value data
%z or %Z Unformatted 4 value data
So the example about display enum
module top;
typedef enum {ON, OFF} switch_e;
switch_e s;
initial begin
s=ON;
$display(“the enum of switch_e is %p.”,s);
endmodule : top
resule: the enum of switch_e is ON.
- format display on systemverilog
- system on systemverilog
- SIGCHI Latex Format display subfigures
- good usage on systemverilog learn from uvm source code
- Format Floppy Disk on Solaris
- d16 format on nv card
- OSD(On Screen Display)简介
- [shortcut]Display xml base on xslt
- Display a symbol on map.center point
- OSD(On Screen Display)简介
- Payment method do not display on frontend?
- American Art on Display in Russia
- OSD——on-screen display
- SSRS: How to Display Checkbox on Report
- short or long (date and time)format display
- Format the column display info of Grid ---- Magento
- systemverilog 语法
- systemverilog interface
- 算法基础 - 并查集
- hdu1850Being a Good Boy in Spring Festival
- 沉浸式接入与信息安全
- 2013年第四届蓝桥杯C/C++程序设计本科B组决赛 高僧斗法(编程大题)
- 使用cgroup限制内存使用
- format display on systemverilog
- 更新二进制位
- JAVA JUnit测试框架
- hdu1422 重温世界杯(DP)
- 关于Pull Request的十个建议
- 关于linux和windows文件的读写
- POJ-1094-Sorting It All Out(拓扑排序)
- C#图片压缩
- TXT数据文档读入,存入数组