求助,源码如下
reg[7:0] mem[0:4];
initial begin
$readmemb("D:\vivado\DATA\TESTTESTTEST\om.txt",mem,0,4);
end
就是读不进定义的存储器里,报错如下
File D:vivadoDATATESTTESTTESTom.txt referenced on D:/vivado/DATA/TESTTESTTEST/TESTTESTTEST.srcs/sim_1/new/sim_TESTTEST2.v at line 88 cannot be opened for reading. Please ensure that this file is available in the current working directory.
文本权限改了,也放到工作目录下了,但是还是读不进来。希望有人帮忙看看。用的是vivado2015.4.