vks
12/29/2023, 12:41 PMStefan Schippers
12/30/2023, 9:36 AMvks
01/01/2024, 7:28 AMxterm: Can't execvp 'ngspice': No such file or directory while doing Netlist -> Simulate for updated D flip-flop schematic in interactive mode. Why this error is coming ?Stefan Schippers
01/01/2024, 2:22 PMngspice executable in your system and replace ngspice with /full/path/to/ngspice in xschem simulation->Configure simulators and toolsvks
01/02/2024, 8:35 AM.raw file isn't being generated in the .xschem/simulations directory. I'm using ngspice in interactive mode. Please suggest what could be the issue here ?Stefan Schippers
01/02/2024, 10:39 AMStefan Schippers
01/02/2024, 10:40 AMvks
01/02/2024, 10:49 AMammeter.sym is attached now.
No .raw file is getting generated with this schematic.vks
01/02/2024, 10:51 AMStefan Schippers
01/02/2024, 11:12 AMremzerovec command before writevks
01/02/2024, 11:23 AMremzerovec worked for current through ammeter.sym only but node voltages were missing. To plot those I added save all before tran and then the whole testbench is working fine. Thanks for your help.Stefan Schippers
01/02/2024, 11:31 AM.save in the netlist for automatically saving their currents. So you need an explicit save all for plotting all other nodes.vks
01/13/2024, 4:29 PMDFFIQ flip-flop from sky130 std. cell library. But it seems spice model for this cell is not available in following spice file: /usr/local/share/pdk/sky130A/libs.ref/sky130_fd_sc_hd/spice/sky130_fd_sc_hd.spice
Can you please confirm if my interpretation is correct or not ? If yes, what is the alternate way to build D-FF based frequency divider in sky130?Stefan Schippers
01/13/2024, 4:59 PMsky130_stdcells/dfxbp_2.symvks
01/16/2024, 7:26 AMStefan Schippers
01/16/2024, 8:59 AMvks
01/16/2024, 10:25 AMlib directory in installed pdk path at my end. Can you please suggest why is it so ?Stefan Schippers
01/16/2024, 9:44 PMlib/ directory is not installed in your system...Tim Edwards
01/16/2024, 9:52 PMTim Edwards
01/16/2024, 9:55 PMAtif Khan
03/02/2024, 2:40 PMStefan Schippers
03/03/2024, 10:52 AM$ ngspice
If the executable is not found try to locate it"
$ find / -type f -name ngspice 2>&1 |grep -v 'Permission denied'
If you find the location of the executable go in xschem, Simulation->Configure Simulators and tools and set the path accordingly and click Accept,Save and Close.Stefan Schippers
03/03/2024, 9:30 PMxterm is not installed. You can install xterm (sudo apt install xterm) or define another terminal in xschemrc: set terminal gnome-terminalAtif Khan
03/04/2024, 4:21 AMAtif Khan
03/04/2024, 4:39 AMStefan Schippers
03/04/2024, 1:49 PMsudo apt install xtermStefan Schippers
03/04/2024, 1:50 PMStefan Schippers
03/04/2024, 1:52 PM2>&1, not 2>71.
you probably have a file named 71 that you can delete.Stefan Schippers
03/04/2024, 1:53 PM$ ngspice
and see if it shows up.Atif Khan
03/04/2024, 1:58 PMAtif Khan
03/04/2024, 1:58 PMAtif Khan
03/04/2024, 1:59 PMStefan Schippers
03/04/2024, 2:18 PMStefan Schippers
03/04/2024, 2:20 PMxschem -v in a terminalStefan Schippers
03/04/2024, 2:29 PMconfigure simulators and tools you need to set the actual path for ngspice: I wrote /path/to/ngspice to indicate the ACTUAL path of ngspice on your system, so use /usr/local/bin/ngspiceAtif Khan
03/05/2024, 4:10 AMAtif Khan
03/07/2024, 4:47 AMStefan Schippers
03/07/2024, 10:57 AMSimulation->Configure simulators and tools, try these options in the "Ngspice interactive" text box:
• xterm -e {ngspice -i "$N" -a || sh}
• xterm -e {/usr/local/bin/ngspice -i "$N" -a}
• xterm -e /usr/local/bin/ngspice -i "$N" -a
• gnome-terminal e /usr/local/bin/ngspice -i "$N" -a