Orcad錯誤:Conflicting values of Source Part names found...

轉載:https://blog.csdn.net/mmhh3000/article/details/38756325

畫了一個模塊比較雜的原理圖,爲了省事,就從其他電路上覆制過來一部分原理圖,將裏面的電容改成了自己想要的名字。然後又從自己原來畫過的原理圖中複製了一部分電路,然後是根據需求使用自己的庫裏的元件新畫了一部分電路。今天在生成Netlist的時候發現報錯:

如圖選中該錯誤,按F1鍵查看幫助,得到內容如下:

This situation should only occur if you use the DEVICE property. You can change one or more of the DEVICE properties to make the Part Name (primitive line) unique for each distinct part in the PSTCHIP.DAT file.


The part name, which is the value found between single quotation marks in primitive line of the PSTCHIP.DAT file, must be unique for every different type of part in the design.


The part name is just the value of the DEVICE property present. If there is no DEVICE property on the part, then the part name is a made by combining the values of the Source Package, PCB Footprint, Value, and other properties that may be found in the [ComponentDefinitionProps] section of the configuration file. The part name string is a concatenation of these properties, with each value separated by an underscore character.


For more information, see the OrCAD Capture User’s Guide.

[Legacy Message ID: ALG0011]

幫助的意思是,如果在元件上使用了“DEVICE”這個屬性,就相當於手動指定了元件名,如果該元件並不是同一類元件,就必須注意不能指定相同的值,否則就會報錯。因爲網表的PSTCHIP.DAT文件需要使用該主鍵以唯一識別某一類元件。而如果不手動指定“DEVICE”這個屬性,Orcad會查看該元件的其他屬性,將屬性相同的一類元件認爲是一種元件,自動生成一個名字作爲主鍵。

分析我這個圖裏的電容來自三家原理圖,所以電容的Source Package不相同,湊巧的是可能我原來保存過這個庫,所以自己庫裏元件的“DEVICE”這個屬性和複製過來的電容元件具有一樣的DEVICE值,雖然我把封裝、value等屬性都改爲相同的了,但Orcad卻仍然認爲Source Package不相同就不算是同一類元件,不是同一類元件“DEVICE”值就不應該相同,從而報錯。

查看報錯的兩個C98,C101電容,與其他沒報錯的電容C97進行對比:

果然在報錯的電容裏發現了DEVICE屬性,Orcad在生成網表的元件名字時會優先使用該值,所以Source Package不同的元件有相同的DEVICE值時就會報錯。

因爲不需要個性化網表元件名字,所以乾脆把DEVICE屬性刪除(Orcad會使用其他屬性自動生成網表元件名)。再生成網表,成功,不報錯了。
--------------------- 
作者:mmhh3000 
來源:CSDN 
原文:https://blog.csdn.net/mmhh3000/article/details/38756325 
版權聲明:本文爲博主原創文章,轉載請附上博文鏈接!

 

orcad 原理圖"Device"屬性沒有設置,導網表時不會自己生成,報出錯,怎麼樣才能不設置這個"Device"屬性,

 

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章