Cadence SKILL language/IC SKILL
[Cadence IC SKILL] IC SKILL DB에 접근해서 항목 추출하기
안산드레아스
2020. 7. 6. 18:20
반응형
아래 MOS의 DB정보 빼내기.
_itemsperline=1 ; 한줄에 표시할 데이터 갯수정의
cv~>? ; name 정보
cv~>?? ; name 및 하위 DB정보 (구분이 힘들어서 파랑색으로 표시)
ex) shape에 관한 정보만 추출.
procedure(mos_info()
let( ()
cv=geGetEditCellView()
procedure(mos_info()
let( ()
cv=geGetEditCellView()
work_lib=cv~>libName ; 라이브러리 이름 불러오기
cell_name=cv~>cellName ; Cell의 이름 불러오기
printf("Library name is %s cellname is %s" work_lib cell_name)
tot_shape=cv~>shapes ; foreach에 쓰기 위해 shapes의 dbid를 tot_shape에 대입
foreach(one_shape tot_shape ; tot_shape의 db를 풀어서 one_shape으로 하나씩 db를 대입
layer_box=one_shape~>bBox ; one_shape db자료 중 좌표(bBox)값 추출
layer_name=one_shape~>layerName ; one_shape db자료 중 layer이름을 추출
printf("%s : %L\n" layer_name layer_box)
);foreach
);let
);procedure
반응형