作者atoiytoiy456 (whatevername)
看板Electronics
標題[問題] 新手Hspice的問題求救
時間Wed Nov 25 18:16:53 2015
我要用Hspice模擬inverter
程式碼打好並按下simulate
然後Edit LL跑出Error:(c\user\desktop\hspice code\1234.sp:34)
Unable to open"cic018.l" for reading.)
請問這是我HSpice安裝失敗嗎?
但我打RL電路的code,圖卻跑得出來
是資料庫抓不到cic018嗎?
還是我資料庫安裝不完全?
這是Edit LL的內容
hspicerf 32-bit version C-2009.09 (Aug 24 2009 13:45:40)
machine info: Professional Server 4.0 Service Pack 1 (Build 7601) 586 on
USER-PC
current time: 18:48:50 11/25/2015
command line: hspicerf c:\synopsys\hspicecode\1234.sp
Error: (c:\synopsys\hspicecode\1234.sp:34) Unable to open "cic018.l" for
reading.
這是Edit NL的內容,components裡面包括inverter,NAND,NOR
adder
.protect
.lib 'cic018.l' tt
.unprotect
.option post =2
.temp 25
.tran 1n 200n
.para
*****sources*****
VVDD VDD 0 1.8
VVSS VSS 0 0
Va a VSS pulse(1.8 0 1n 0.2n 0.2n 9.8n 20n)
Vb b VSS pulse(1.8 0 1n 0.2n 0.2n 19.8n 40n)
Vc c VSS pulse(1.8 0 1n 0.2n 0.2n 39.8n 80n)
*****components****
* D G S B l w m
mn1 out1 a VSS VSS N_18 l=0.18u w=0.5u m=1
mp1 VDD a out1 VDD P_18 l=0.18u w=1u m=1
mn2 out2 a VSS VSS N_18 l=0.18u w=0.5u m=1
mn3 out2 b VSS VSS N_18 l=0.18u w=0.5u m=1
mp2 VDD a u1 VDD P_18 l=0.18u w=1u m=1
mp3 u1 b out2 VDD P_18 l=0.18u w=1u m=1
mn4 out3 a u2 VSS N_18 l=0.18u w=0.5u m=1
mn5 u2 b VSS VSS N_18 l=0.18u w=0.5u m=1
mp4 VDD a out3 VDD P_18 l=0.18u w=1u m=1
mp5 VDD b out3 VDD P_18 l=0.18u w=1u m=1
c1 out1 VSS 0.05p
c2 out2 VSS 0.05p
c3 out3 VSS 0.05p
***measure***
.end
我用講義上MOS的程式碼重新模擬也是出現依樣的Error:Unable to open "cic018.l"
應該就像C大講的那樣資料庫沒裝
我是用2009_09版本的
安裝方法也像網路上hspice傻瓜版那樣安裝
那怎樣下載資料庫?
問題已經解決了,原來是沒有製程檔cic018.l
加了製成檔之後波形都可以模擬了
抱歉給各位大大天麻煩了Sorry
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 163.25.118.180
※ 文章網址: https://www.ptt.cc/bbs/Electronics/M.1448446616.A.165.html
→ chienjr: failed to include model file "cic018.l" 11/25 18:30
請問這個是...?
→ owenroy: 不要放桌面看看 11/25 18:45
我把資料夾全部放進C槽Hspice的資料及裡但結果還是一樣,怎辦?
推 zxc44560: 34行是什麼貼上來
34行是什麼?程式碼嗎?還是有Error的?
→ yafk: sp檔的34行阿,你library是怎麼include的? 11/26 00:44
推 cpyi: RL跟LL是什麼? 11/26 00:45
→ cpyi: 沒有安裝什麼資料庫吧 11/26 00:45
→ cpyi: SPICE就.include跟.lib 檔案關係就是很簡單的引入而已 11/26 00:46
→ cpyi: 沒放同一個資料夾? 11/26 00:46
哪個沒放同一個資料夾?
※ 編輯: atoiytoiy456 (163.25.118.180), 11/26/2015 03:06:31
→ PECVD: cic018.l 檔裡面應該還有一行 .lib 的指令 11/26 12:32
→ PECVD: 看看那個檔案位置對不對 11/26 12:32
cic018.l檔?在hspice資料夾裡嗎?我資料夾好像找不到cic018相關檔案...
cic018.l沒有的話要在哪裡下載呢?我都重裝了好幾遍..
※ 編輯: atoiytoiy456 (163.25.118.180), 11/26/2015 13:13:13
※ 編輯: atoiytoiy456 (163.25.118.180), 11/26/2015 13:14:22
→ PECVD: 呃 ... 所以你沒有 cic018.l 的檔 ? 11/26 13:42
→ PECVD: 這個 .l 的檔案, 根據他的名字來看應該是 cic 的檔 11/26 13:44
→ PECVD: 裡面應該有著 cic 用的製程裡的元件參數 11/26 13:45
→ PECVD: 你的 N_18, P_18 應該都是抓 cic018.l 的參數 11/26 13:45
→ PECVD: 所以看看你的課去哪修的, 問問助教 model 檔要去哪抓 11/26 13:48
感謝C大,真的是少了cic018.l製成檔,現在已經解決了
※ 編輯: atoiytoiy456 (163.25.118.180), 11/26/2015 17:00:27