• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Custom IC SKILL
  3. *Error* dbClose: While exporting netlist cdl

Stats

  • Locked Locked
  • Replies 0
  • Subscribers 143
  • Views 9903
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

*Error* dbClose: While exporting netlist cdl

saurabh96
saurabh96 over 4 years ago

Hello everyone,

am getting below error while exporting the netlist cdl.

WARNING* ddGetObj: invalid libId (0x(nil)).
*WARNING* ddGetObj: invalid libId (0x(nil)).

si: simOpenSimForeGndLogFile() - cannot create the file /si.foregnd.log.
si: Can't open the file "si.env" for writing.
[INFO] (flowenabler): -- Loading /pkg/nxp-flowenabler-/1.7/cdssite/.simrc...
si: Can't open the file "si.env" for writing.

*Error* dbClose: argument #1 should be a database object (type template = "d") - nil
<<< Stack Trace >>>
(... in netlist ...)
netlist()
let((op runDirPath singleFile mvFile) simInitEnvWithArgs(((form->Topcell)->value) ((form->lib_view_Entry)->value) ((form->Topcell)->value) "schematic" "auCdl" nil) netlist() (mvFile = sprintf(nil "mv -f ./%s/netlist ./%s.cdl" ((form->Topcell)->value) ((form->Topcell)->value))) system(mvFile))
CCSRunNetlisterCell(hiGetCurrentForm())
hiFormCancel(form)
cancelform(hiGetCurrentForm())

here is the code i put in test-case-

lib_view_Label=hiCreateLabel(
?name 'lib_view_Label
?labelText "Cell View*"
?justification 'left
)
lib_view_Entry=hiCreateStringField(
?name 'lib_view_Entry
?callback "CCSRunNetlisterCell(hiGetCurrentForm())"
?enabled nil
)

cellLabel=hiCreateLabel(
?name 'cellLabel ?labelText "Top Cell*"
?justification 'left
)
Topcell=hiCreateStringField(
?name 'Topcell ?callback "(ddsUpdateSyncWithForm)"

)
browse=hiCreateFormButton(
?name 'browse
?buttonText "Browse..."
?callback "(ddsSyncWithForm (hiGetCurrentForm) 'browse 'lib_view_Entry 'Topcell )"
)

procedure(CCSRunNetlisterCell(form)
let( (op runDirPath singleFile mvFile )
simInitEnvWithArgs(form->Topcell->value form->lib_view_Entry->value form->Topcell->value "schematic" "auCdl" nil)
netlist()
mvFile=sprintf(nil "mv -f ./%s/netlist ./%s.cdl" form->Topcell->value form->Topcell->value)
system(mvFile)
)
)

Pls guide whats the error and how to correct it?

  • Cancel

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information