错误如下:
[USF-XSim-62] 'compile' step failed with error(s). Please check the Tcl console output or 'E:/vivado_exe/add/add.sim/sim_1/behav/xvlog.log' file for more information.
[Vivado 12-4473] Detected error while running simulation. Please correct the issue and retry this operation.
`timescale 1ns / 1ps
//////////////////////////////////////////////////////////////////////////////////
// Company:
// Engineer:
//
// Create Date: 2017/03/31 15:01:19
// Design Name:
// Module Name: adder4
// Project Name:
// Target Devices:
// Tool Versions:
// Description:
//
// Dependencies:
//
// Revision:
// Revision 0.01 - File Created
// Additional Comments:
//
//////////////////////////////////////////////////////////////////////////////////
module adder4(
output cout,
output[3:0] sum,
input[3:0] ina,
input[3:0] inb,
input cin
);
assign {cout,sum}=ina+inb+cin;
endmodule
[USF-XSim-62] 'compile' step failed with error(s). Please check the Tcl console output or 'E:/vivado_exe/add/add.sim/sim_1/behav/xvlog.log' file for more information.
[Vivado 12-4473] Detected error while running simulation. Please correct the issue and retry this operation.
adder4 adder(.sum(sum),.cout(cout),.ina(a),.inb(b),.cin(cin));
然后仿真就可以通过(当然结果是错的)。想请教一下大家,这一行错在哪里了?
一周热门 更多>