马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
x
**mismatch in closing label**
**mismatch in closing label 'nf_cpu'; expected 'nf_cpu_cpu'
关闭标签'nf_cpu'不匹配;预计“nf_cpu_cpu”**
```javascript
module nf_cpu_cpu
#(
parameter ver = "1.2"
)(
// clock and reset
input logic [0 : 0] clk, // clk
input logic [0 : 0] resetn, // resetn
// instruction memory (IF)
output logic [31 : 0] addr_i, // address instruction memory
input logic [31 : 0] rd_i, // read instruction memory
output logic [31 : 0] wd_i, // write instruction memory
output logic [0 : 0] we_i, // write enable instruction memory signal
output logic [1 : 0] size_i, // size for load/store instructions
output logic [0 : 0] req_i, // request instruction memory signal
input logic [0 : 0] req_ack_i, // request acknowledge instruction memory signal
// data memory and other's
output logic [31 : 0] addr_dm, // address data memory
input logic [31 : 0] rd_dm, // read data memory
output logic [31 : 0] wd_dm, // write data memory
output logic [0 : 0] we_dm, // write enable data memory signal
output logic [1 : 0] size_dm, // size for load/store instructions
output logic [0 : 0] req_dm, // request data memory signal
input logic [0 : 0] req_ack_dm // request acknowledge data memory signal
);
endmodule : nf_cpu
```
```javascript
endmodule : nf_cpu和一开始的名称不一致
```
```javascript
改为endmodule : nf_cpu_cpu和
```
|