【发布时间】:2017-11-16 20:02:35
【问题描述】:
input [31:0] instruction;
output [4:0] read_reg_1;
read_reg_1 <= instruction[6:10];
我想将数组元素 6 到 10(6-7-8-9-10) 分配为 read_reg_1 的 5 位数字
Error (10170): Verilog HDL syntax error at mips_fetch.v(8) near text "<="; expecting ".", or "("
这是我在操作过程中遇到的错误。虽然我找不到解决方案或问题,但它似乎应该可以工作。
【问题讨论】: