object "process_en" on left-hand side of assignment must have a net type我用qusrturs 进行verilog语言编写一个顶层文件时候老是出现上面这个问题,具体程序段如下module fifo_top(wr,data,clk,q,ready,process_en);input wr,clk;i

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/28 20:47:58
object
xTMkP+.$OǸPǍ#j"Re˼4t#v(.څ S]8Ʊ?Y$] {={},2(/cu m,*H +-UCg*a@ غ~)3Apl SMZo'c[~|8t?mxη7t^`=͑coro0>G/~w! +2YfDL$ Hl?@]D \YE aUX0TVh ԈTpcܽ|= H ՝'J7(nT(*H#I*q7JVcnTWMzK"1T%H/\ _'¯&!Jq01%b33hqysz^s~Z_s)pkwMN7n-,q8q>t]IIΆ9񢡧otXZ#}~|uL

object "process_en" on left-hand side of assignment must have a net type我用qusrturs 进行verilog语言编写一个顶层文件时候老是出现上面这个问题,具体程序段如下module fifo_top(wr,data,clk,q,ready,process_en);input wr,clk;i
object "process_en" on left-hand side of assignment must have a net type
我用qusrturs 进行verilog语言编写一个顶层文件时候老是出现上面这个问题,具体程序段如下
module fifo_top(wr,data,clk,q,ready,process_en);
input wr,clk;
input[7:0] data;
output ready,process_en;
output[7:0] q;
reg ready,process_en;
wire rd1,f1,e1,w1,co1;
assign rd1=ready;
assign process_en=~rd1;
assign w1=wr&process_en;
counter2 counter2(
.clk(clk),
.co(co1)
);
fifoo1 fifoo1(
.WE(w1),
.RE(rd1),
.WCLOCK(clk),
.RCLOCK(co),
.DATA(data),
.Q(q),
.FULL(f1),
.EMPTY(e1),
.AFULL(),
.AEMPTY()
);
df df(
.clr(e1),
.d(),
.clk(f1),
.q(rd1)
);
endmodule

object "process_en" on left-hand side of assignment must have a net type我用qusrturs 进行verilog语言编写一个顶层文件时候老是出现上面这个问题,具体程序段如下module fifo_top(wr,data,clk,q,ready,process_en);input wr,clk;i
简单 reg ready,process_en; 改为
reg ready;
wire process_en;