摘要:
定宽数组:可以直接赋值,也可以先声明再赋值 其中还有多维数组 int array2[0:7][0:3];int array3[8][4];// 先个后位 int ascend[4]='{0,1,2,3}; int descend[5]; descend='{4,3,2,1,0}; descend[0 阅读全文
摘要:
信号类型分为两种:变量类型,线网类型 四值逻辑:wire reg logic integer 二值逻辑:bit byte int shortint longint time real 有符号:byte int shortint longint integer real 无符号:wire reg lo 阅读全文