[問題] 新手Hspice的問題求救

看板Electronics作者 (whatevername)時間10年前 (2015/11/25 18:16), 10年前編輯推噓1(1013)
留言14則, 5人參與, 最新討論串1/1
我要用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

11/25 18:30, , 1F
failed to include model file "cic018.l"
11/25 18:30, 1F
請問這個是...?

11/25 18:45, , 2F
不要放桌面看看
11/25 18:45, 2F
我把資料夾全部放進C槽Hspice的資料及裡但結果還是一樣,怎辦? zxc44560: 34行是什麼貼上來 34行是什麼?程式碼嗎?還是有Error的?

11/26 00:44, , 3F
sp檔的34行阿,你library是怎麼include的?
11/26 00:44, 3F

11/26 00:45, , 4F
RL跟LL是什麼?
11/26 00:45, 4F

11/26 00:45, , 5F
沒有安裝什麼資料庫吧
11/26 00:45, 5F

11/26 00:46, , 6F
SPICE就.include跟.lib 檔案關係就是很簡單的引入而已
11/26 00:46, 6F

11/26 00:46, , 7F
沒放同一個資料夾?
11/26 00:46, 7F
哪個沒放同一個資料夾? ※ 編輯: atoiytoiy456 (163.25.118.180), 11/26/2015 03:06:31

11/26 12:32, , 8F
cic018.l 檔裡面應該還有一行 .lib 的指令
11/26 12:32, 8F

11/26 12:32, , 9F
看看那個檔案位置對不對
11/26 12:32, 9F
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

11/26 13:42, , 10F
呃 ... 所以你沒有 cic018.l 的檔 ?
11/26 13:42, 10F

11/26 13:44, , 11F
這個 .l 的檔案, 根據他的名字來看應該是 cic 的檔
11/26 13:44, 11F

11/26 13:45, , 12F
裡面應該有著 cic 用的製程裡的元件參數
11/26 13:45, 12F

11/26 13:45, , 13F
你的 N_18, P_18 應該都是抓 cic018.l 的參數
11/26 13:45, 13F

11/26 13:48, , 14F
所以看看你的課去哪修的, 問問助教 model 檔要去哪抓
11/26 13:48, 14F
感謝C大,真的是少了cic018.l製成檔,現在已經解決了 ※ 編輯: atoiytoiy456 (163.25.118.180), 11/26/2015 17:00:27
文章代碼(AID): #1MLOgO5b (Electronics)