EDA365欢迎您!
您需要 登录 才可以下载或查看,没有帐号?注册
x
ISIM仿真内容如下,提示错误:[USF-XSim 62] 'compile' step failed with error(s)while executing 'F:/Camera_HDMI/Vivado/SCCB/SCCB.sim/sim_1/behav/compile.bat'script. Please check that the file has the correct 'read/write/execute'permissions and the Tcl console output for any other possible errors orwarnings.1 g$ ?) j) K4 C8 u0 P( ^4 f u
把实例化sccb_ip去掉就好了,但不知道为什么
f' u% V0 U6 K' Cmodule sccb_sim( ); reg [15:0] sub_addr; reg [7:0] data_from_cpu; // reg rd_wr,sio_en,sio_c,sio_d; wire [7:0] data_from_slave; initial begin sub_addr[15:0] <= 2'b01_1000; data_from_cpu[7:0] <= 8'd101; rd_wr <= 0; #10000 $finish; end reg clk = 0; always #10 clk <= ~clk; sccb_ip sccb_ip( .clk(clk), .sub_addr(sub_addr), .data_from_cpu(data_from_cpu), // .rd_wr(rd_wr), // .sio_en(sio_en), // .sio_d(sio_d), .sio_c(sio_c), .data_from_slave(data_from_slave) // ); endmodule 源码如下,综合已经通过 module sccb_sim( ); reg [15:0] sub_addr; reg [7:0] data_from_cpu; // reg rd_wr,sio_en,sio_c,sio_d; wire [7:0] data_from_slave; initial begin sub_addr[15:0] <= 2'b01_1000; data_from_cpu[7:0] <= 8'd101; rd_wr <= 0; #10000 $finish; end reg clk = 0; always #10 clk <= ~clk; sccb_ip sccb_ip( .clk(clk), .sub_addr(sub_addr), .data_from_cpu(data_from_cpu), // .rd_wr(rd_wr), // .sio_en(sio_en), // .sio_d(sio_d), .sio_c(sio_c), .data_from_slave(data_from_slave) // ); 2 M) f9 Q( n" L! E) s
endmodule
5 f7 Y6 ~( {/ ?. z H |