|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
x
本帖最后由 柠檬汁Diana 于 2020-5-6 18:47 编辑
`include "constants.vams"
`include "disciplines.vams"
module bandgap(Vdd,gnd,Vbg,Temp);
inout Vdd,gnd,Vbg,Temp;
electrical Vdd,gnd,Temp;
parameter real Vbg=1.2;
analog begin
TempC=abs(Temp-27);
Vbg<+(Vbg+0.0011*(Vdd-1.5)-0.00001*TempC);
End
endmodule
报错:Error found by spectre during SpectreHDL compile.
"/home/weidian/design/dx/veriloga/veriloga.va", line 6: "module
bandgap(Vdd,gnd,Vbg,Temp)<<--? ;"
"/home/weidian/design/dx/veriloga/veriloga.va", line 6: Error: "Temp" was
previously declared as a nature access symbol.
"/home/weidian/design/dx/veriloga/veriloga.va", line 7: "inout
Vdd,gnd,Vbg,Temp;<<--? "
"/home/weidian/design/dx/veriloga/veriloga.va", line 7: Error: syntax
error
Maximum allowable errors exceeded. Exiting SpectreHDL compilation....
纯小白一个,求解答。
|
|