Hello, i'm new to analog design and i used iic-jku...
# analog-design
n
Hello, i'm new to analog design and i used iic-jku's analog_tool_installer.sh for this proccess. I'm now encountering an issue in xschem, i assume that on invoking xschem it will load up with the top.sch and symbols present but in my case it did'nt happen. how do i fix this "symbol not found error", _/home/nawras/analog/open_pdks/sky130/sky130A/libs.tech/xschem/sky130_tests_ contains ***sym*,**sch files, I wonder where xschem is searching for the symbols, and how can i change the path? Any help would be appreciated.
t
Use this as a boilerplate xschemrc file:
Copy code
# Set default PDK_ROOT
if { ![info exists env(PDK_ROOT)] } {
  puts stderr "Warning: PDK_ROOT env. var. not found or empty, trying to find an open_pdks install"
  if {[file isdir /usr/share/pdk]} {set ::env(PDK_ROOT) /usr/share/pdk
  } elseif {[file isdir /usr/local/share/pdk]} {set ::env(PDK_ROOT) /usr/local/share/pdk
  } elseif {[file isdir $env(HOME)/share/pdk]} {set ::env(PDK_ROOT) $env(HOME)/share/pdk
  } elseif {[file isdir $env(HOME)/.volare]} {set ::env(PDK_ROOT) $env(HOME)/.volare
  } else {
    puts stderr {No open_pdks installation found, set PDK_ROOT env. var. and restart xschem}
  }
}

# Set default PDK
if { ![info exists env(PDK)] } {
  set ::env(PDK) sky130A
}

# Source the PDK xschemrc file
if {![info exists PDK]} {
    source $env(PDK_ROOT)/$env(PDK)/libs.tech/xschem/xschemrc
}

# Add current directory to xschem library path
append XSCHEM_LIBRARY_PATH :[file dirname [info script]]

# Source the dependencies xschemrc files
foreach rcfile [glob -nocomplain [file dirname [info script]]/../ip/*/xschem/xschemrc] {
  puts "sourcing $rcfile"
  source $rcfile
}
This script is taken from https://github.com/efabless/sky130_ef_ip__adc3v_8bit and was developed by Leo Moser. The main thing you need from it is the line that sources the PDK xschemrc file and then adds the current directory to the search path.
❤️ 1
l
Yes, and if you need a whole template you can find it here: https://github.com/efabless/sky130_ef_ip__template
👍 1
t
Hi @Nawras Ahamed, where did you get this iic-jku's
analog_tool_installer.sh
? I've been looking for it but with no success.
t
@Toni Tejada: Please register with our new server at https://fossi-chat.org. This server is owned by Efabless and we are unsure of its long-term prospects. We will welcome Von Braun Labs there. You guys are great! FYI, the IIC-JKU repositories are at https://github.com/iic-jku/IIC-OSIC-TOOLS. I expect the script is there somewhere. IIC-JKU is the group run by Harald Pretl, so he would be the best person to ask about it.
t
Thank you very much @Tim Edwards. Already registered at fossi-chat.org.