这个verilog程序的问题怎么解决?
modulemos1(out,a,b);outputout;inputa,b;wirec,pwr;supply1vdd;supply0gnd;assignpwr=vdd;...
module mos1(out,a,b);
output out;
input a,b;
wire c,pwr;
supply1 vdd;
supply0 gnd;
assign pwr=vdd;
pmos p1(c,pwr,b);
pmos p2(out,c,a);
nmos n1(out,gnd,a);
nmos n2(out,gnd,b);
endmodule
综合时候显示错误
ERROR:Xst:850 - "mos1.v" line 29: Unsupported Switch or User Defined Primitive.
ERROR:Xst:850 - "mos1.v" line 30: Unsupported Switch or User Defined Primitive.
ERROR:Xst:850 - "mos1.v" line 31: Unsupported Switch or User Defined Primitive.
求指教
pmos p1(c,pwr,b);这是28行
pmos p2(out,c,a);29行
nmos n1(out,gnd,a);30行
nmos n2(out,gnd,b);31行
跪求解答 展开
output out;
input a,b;
wire c,pwr;
supply1 vdd;
supply0 gnd;
assign pwr=vdd;
pmos p1(c,pwr,b);
pmos p2(out,c,a);
nmos n1(out,gnd,a);
nmos n2(out,gnd,b);
endmodule
综合时候显示错误
ERROR:Xst:850 - "mos1.v" line 29: Unsupported Switch or User Defined Primitive.
ERROR:Xst:850 - "mos1.v" line 30: Unsupported Switch or User Defined Primitive.
ERROR:Xst:850 - "mos1.v" line 31: Unsupported Switch or User Defined Primitive.
求指教
pmos p1(c,pwr,b);这是28行
pmos p2(out,c,a);29行
nmos n1(out,gnd,a);30行
nmos n2(out,gnd,b);31行
跪求解答 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询