[問題] 3對8解碼器--hspice

看板Electronics作者 (阿猴)時間18年前 (2007/06/10 19:06), 編輯推噓2(200)
留言2則, 2人參與, 最新討論串1/1
我現在要用Hspice模擬 可是卻出現了問題 搞了好久了 都出現下面這問題 .subckt 3to8 d0 d1 d2 y0 y1 y2 y3 y4 y5 y6 y7 *.pininfo d0:i d1:i d2:i y0:o y1:o y2:o y3:o y4:o y5:o y6:o y7:o **error** subcircuit name missing >error ***difficulty in reading input ***** job aborted >error ***** hspice job aborted 1 ****** HSPICE Y-2006.03-1 (20060426) 19:01:44 06/10/2007 solaris ****** ************************************************************************ ****** job statistics summary tnom= 25.000 temp= 25.000 ****** 到底是哪裡出問題 有人可以提點我嗎 netlist如下 ************************************************************************ * auCdl Netlist: * * Library Name: dasheng * Top Cell Name: 3to8 * View Name: schematic * Netlisted on: Jun 10 18:36:42 2007 ************************************************************************ .lib '/export/home/student/college/class/vlsi07/d9366765/lab1/mylib1/mm018.l' tt *.EQUATION *.SCALE METER *.MEGA .PARAM .GLOBAL gnd + vdd .PIN gnd + vdd vdc vdd gnd 1.8v ************************************************************************ * Library Name: dasheng * Cell Name: inverter * View Name: schematic ************************************************************************ .SUBCKT inverter input output *.PININFO input:I output:O MM1 output input gnd gnd nch W=1u L=180n M=1 MM0 output input vdd vdd pch W=2u L=180n M=1 .ENDS ************************************************************************ * Library Name: dasheng * Cell Name: nand3 * View Name: schematic ************************************************************************ .SUBCKT nand3 A B C D *.PININFO A:I B:I C:I D:O MM4 net051 C gnd gnd nch W=1u L=180n M=1 MM3 net023 B net051 gnd nch W=1u L=180n M=1 MM5 D A net023 gnd nch W=1u L=180n M=1 MM2 D C vdd vdd pch W=2u L=180n M=1 MM1 D B vdd vdd pch W=2u L=180n M=1 MM0 D A vdd vdd pch W=2u L=180n M=1 .ENDS ************************************************************************ * Library Name: dasheng * Cell Name: 3to8 * View Name: schematic ************************************************************************ .SUBCKT 3to8 D0 D1 D2 Y0 Y1 Y2 Y3 Y4 Y5 Y6 Y7 *.PININFO D0:I D1:I D2:I Y0:O Y1:O Y2:O Y3:O Y4:O Y5:O Y6:O Y7:O XI10 D2 net42 / inverter XI9 D1 net13 / inverter XI8 D0 net24 / inverter XI7 D0 D1 D2 Y7 / nand3 XI6 net24 D1 D2 Y6 / nand3 XI5 D0 net13 D2 Y5 / nand3 XI4 net24 net13 D2 Y4 / nand3 XI3 D0 D1 net42 Y3 / nand3 XI2 net24 D1 net42 Y2 / nand3 XI1 D0 net13 net42 Y1 / nand3 XI0 net24 net13 net42 Y0 / nand3 .ENDS v1 D0 gnd pwl(0n 0v,120n 0v,121n 1.8v,240n 1.8v) v2 D1 gnd pwl(0n 0v,60n 0v,61n 1.8v,120n 1.8v,121n 0v,180n 0v,181n 1.8v,240n 1.8v) v3 D2 gnd pwl(0n 0v,30n 0v,31n 1.8v,60n 1.8v,61n 0v,90n 0v,91n 1.8v,120n 1.8v,121n 0v,150n 0v,151n 1.8v,180n 1.8v,181n 0v,210n 0v,211n 1.8v,240n 1.8v) x1 D0 D1 D2 Y0 Y1 Y2 Y3 Y4 Y5 Y6 Y7 3to8 .tran 1n 300n .op .options post .prob .end -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.134.242.20

06/10 20:34, , 1F
subckt 的第一個字不能是數字
06/10 20:34, 1F

06/10 20:49, , 2F
真的ㄟ 我搞那麼久 結果是這問題 @@
06/10 20:49, 2F
文章代碼(AID): #16QzimsY (Electronics)