//声明存储器,位宽133bit,深度261;
reg [112:0] mem [260:0];
//注意路径使用“/”,使用“”将无法正确读出
$readmemb("D:/datadir/datafile.data",mem);
datafile.data 示例:粗体为文件内容,'...'为省略内容
100000000000...0000000000000000 //mem[0]
000000000000...0000000000000000 //mem[1]
000000000000...0000000000000000
.......................................................
000000000000...0000000000000000
000000000000...0000000000000000 //mem[260]