Skip to content

Commit

Permalink
Fix for SKILL function to modify schematics
Browse files Browse the repository at this point in the history
  • Loading branch information
boblinchuan committed Dec 19, 2024
1 parent 8d3b6fd commit 0bcfe71
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions run_scripts/start_bag_ICADV12d3.il
Original file line number Diff line number Diff line change
Expand Up @@ -1360,10 +1360,8 @@ procedure( modify_schematic_content(sch_cv inst_list "gl")
when(cur_inst->name != rinst->name
cur_inst->name = rinst->name
)
; schReplaceProperty(list(cur_inst) "master" sprintf(nil "%s %s %s" rinst->lib_name
; rinst->cell_name cur_inst->viewName))
schReplaceProperty(list(cur_inst) "libName" rinst->lib_name)
schReplaceProperty(list(cur_inst) "cellName" rinst->cell_name)
masterId = dbOpenCellViewByType(rinst->lib_name rinst->cell_name cur_inst->viewName)
dbSet(cur_inst masterId "master")
; set parameters
foreach( cdf_par cdfGetInstCDF(cur_inst)~>parameters
par_val = cadr(assoc(cdf_par->name rinst->params))
Expand Down

0 comments on commit 0bcfe71

Please sign in to comment.