- 41
- 65 307
Stefan Schippers
Приєднався 17 лис 2006
Ngspice and Verilog-A cosimulation with Xschem
It is possible to describe analog blocks using the Verilog-A HDL language, compile these into a OSDI simulation object with the openvaf compiler and use this object with ngspice.
The provided Xschem example can be used as a template for your mixed-mode testbenches.
The provided Xschem example can be used as a template for your mixed-mode testbenches.
Переглядів: 72
Відео
Same schematic simulated with different simulators
Переглядів 86День тому
Example of a xschem schematic simulated with 5 different simulators in 3 different HDL description languages: Spice, Verilog, VHDL.
Drag wires from pins with simple Point, Click and Drag actions.
Переглядів 1609 місяців тому
It is now much easier to draw wires from component pins or from existing wires. Just click and drag. This is an ongoing effort to provide a more user friendly "Point Click and Drag" interface to reduce the need of keyboard commands for some tasks, mostly related to wiring the schematic. The old keyboard command based interface is still available of course.
Replacing s schematic implementation with a parasitic layout extracted netlist
Переглядів 4399 місяців тому
When a circuit block has been translated to an actual silicon layout, extraction tools create a netlist annotated with parasitic capacitances and resistances. There is thus a need to use this Parasitic EXtracted (PEX) netlist instead of the original xschem schematic.
Demonstration of schematic annotation from transient simulation
Переглядів 2479 місяців тому
While plots are displayed moving a cursor in the waveform windows will annotate voltages and currenst (and more) into the schematic in real time.
Shape editing commands, polygons and bezier curves
Переглядів 409 місяців тому
It is now easier to resize shapes (lines, rectangles, wires). Polygon shapes have more editing functions to allow easy editing/adding/removing control points. Polygons can also be transformed into curved bezier shapes, that are very useful to create more complex symbol shapes.
click and drag interface for xschem
Переглядів 1989 місяців тому
Many people asked a more standard and user friendly interface for Xschem. It is now possible to click and drag objects to move/copy/resize the circuit.
Analog simulation with xschem and the skywater 130nm Process Development Kit (PDK)
Переглядів 10 тис.Рік тому
A complete example from tools installation on Linux to final simulation results of a self calibrating comparator able to sense 1mV differential input. The circuit is drawn with xschem and simulation is done with ngspice. The presentation covers mismatch simulation, where multiple runs with random variation of transistor parameters are performed to ensure correct circuit behavior.
Setting up a Xyce simulation with Xschem, viewing results
Переглядів 4,8 тис.2 роки тому
This video explains how to do a simple DC seep simulation of a transistor with Xyce, viewing the results and doing some math operations on the waveforms.
Xschem schematic editor presentation for the FSiC2022 Conference
Переглядів 6042 роки тому
Recorded a 20' talk for the xschem presentation I was supposed to do live at the Free Silicon Conference held in Paris on July 7,8,9 2022. I was not able to present in person due to train transportation issues.
xschem displaying simulation waveforms without using external tools.
Переглядів 3 тис.2 роки тому
This video explains the ability of Xschem schematic editor to display Ngspice/Xyce simulation data without using an external wave viewing tool. This way waves are saved with the schematic and you don't need to re-create the viewport or re-enter the list of signals to view.
Xschem self testing demonstration
Переглядів 4663 роки тому
Since all schematic entry commands are available as tcl commands as well it is easy to create regression tests and performance monitors.
Use xschem schematic editor with skywater 130 pdk using open_pdks.
Переглядів 7 тис.3 роки тому
Second version of xschem sky130 installation. Now the standard way of doing analog design on skywater-pdk 130nm process with xschem is done with open_pdks. Open_pdks takes care of installing the spice models and xschem libraries. This video does not cover ngspice installation, you may refer to ua-cam.com/video/jXmmxO8WG8s/v-deo.html for ngspice installation part only. UPDATE: the suggested way ...
Install xschem + xschem_sky130 + skywater-pdk + ngspice on your linux system
Переглядів 22 тис.3 роки тому
This video is now outdated. Please visit: ua-cam.com/video/KgBLByOkJxA/v-deo.html A step-by-step guide to install from source files: - The schematic editor XSCHEM - The Xschem libraries for the Google-skywater pdk - The skywater process files - the NGSPICE simulator. This will enable you to do analog design with xschem on the skywater process design kit.
Giro delle 3 valli bresciane, Idro, Baremone, Maniva, Crocedomini
Переглядів 1,2 тис.5 років тому
Giro delle 3 valli bresciane, Idro, Baremone, Maniva, Crocedomini
Giro MTB in quota da Garda a Torri del Benaco attraverso il monte Luppia.
Переглядів 2255 років тому
Giro MTB in quota da Garda a Torri del Benaco attraverso il monte Luppia.
Attraversamento di Peschiera del Garda...
Переглядів 1297 років тому
Attraversamento di Peschiera del Garda...
Capodanno 2017 Tradizionale bagno delle #scorzeruvide
Переглядів 2567 років тому
Capodanno 2017 Tradizionale bagno delle #scorzeruvide
Triathlon scorze ruvide 20160821 - tratto veloce in falsopiano discesa
Переглядів 1028 років тому
Triathlon scorze ruvide 20160821 - tratto veloce in falsopiano discesa
Triathlon 'Flat' scorze ruvide 20160821 - Traffico
Переглядів 618 років тому
Triathlon 'Flat' scorze ruvide 20160821 - Traffico
Castello - Prada alta , punta veleno 20160326
Переглядів 1,2 тис.8 років тому
Castello - Prada alta , punta veleno 20160326
Winter Cross 2016 arrivo parcheggio fiori del baldo (1295m slm), partenza da garda (70m slm)
Переглядів 288 років тому
Winter Cross 2016 arrivo parcheggio fiori del baldo (1295m slm), partenza da garda (70m slm)
Winter Cross 2016 - Iced rain on the way to Prada Monte Baldo
Переглядів 688 років тому
Winter Cross 2016 - Iced rain on the way to Prada Monte Baldo
Capodanno 2016 Bagno nel lago al Feltrinelli delle Scorze Ruvide
Переглядів 1628 років тому
Capodanno 2016 Bagno nel lago al Feltrinelli delle Scorze Ruvide
triathlon scorze 30 agosto 2015 sorpasso ciclisti in salita
Переглядів 1379 років тому
triathlon scorze 30 agosto 2015 sorpasso ciclisti in salita
Maothlon 30 Agosto 2015, PB in bici 29'40"
Переглядів 519 років тому
Maothlon 30 Agosto 2015, PB in bici 29'40"
Ultimi 1.5Km (circa) della strada dalla Valtrompia al Maniva
Переглядів 849 років тому
Ultimi 1.5Km (circa) della strada dalla Valtrompia al Maniva
Você é fera, Stefan!
I get lots of "Warning: singular matrix: check nodes n.x1.n1#flow(out) and z" and the simulation ends with Error: Transient op failed, timestep too small. I use xschem 3.4.5. Is the version difference causing the error or is it something else?
Thanks for this excellent video, Stefan. Could please le me know what key combination you use to change the schematic nets to match the waveform colors? For example at time=3:10.
I don't know you saved my life
Why is ALT+G not loading the graphs, instead the wire next to the symbol becomes red, the graph stays empty. I installed gaw, but still unable to load the graph. I am following your ready made examples on bipolar transistor. The simulation runs fine but while trying to get the graphs, I am unable to load them. I am on Linux Mint 21.3 Cinnamon. PS: I managed to get the graphs but I am unsure of the steps. Most probably ALT+G is not working as expected, I selected the load arrow and clicked the left mouse button as written on the schematic. But I am unsure how the graphs are getting loaded because clicking the left mouse button is not immediately responding. I think the controls have changed. Could you please make a newer video. Are the manuals for xschem updated ? If they are I will refer them. Wonderful tool, at least now, I have an option to make some videos with xschem at least, due to it's open source nature.
Nice. I am keen on looking into this.
Armstrong Heights
Hello Mr. Stefan, I'm not sure if this is the correct platform to ask, but, how would the nf affects the simulation? For example, If I have a width of 20u (NMOS) and a nf of 4, does it mean that I have a total width of 20u (with each finger consisting of 5u) or a total width of 80u (with each finger consists of 20u). Thanks!
cant find the load option in new xscheme simulation tab
Ma un video in discesa?
Thank you Stefan, is very useful and concise video. I was wondering if is possible to change the grid for symbol editor, to be able to draw the art style of the symbol with more detail.
Hi Stefan, thank you a lot for your videos. I plan to characterize the technology to use gmID systematic design approach and create lookup tables. I'd like to be able to run from Python xschem and make simulations for different voltages and transistor sizes. I read in the xschem documentation that the program can be run remotely via TCL, however I'm not well versed in that. Do you have by any chance a tutorial or step by step guide to do so? Or do you recommend me to run directly ngspice from Python? I saw there is a tool called pyspice to do that. I'd appreciate a lot your help. Thank you
Can we write a script for sxcheme layout? For example, we use sxcheme to layout a design in transistor level. When done, I would like to put it in the array nxm. It can be troublesome to do manually and I prefer to write a script to arrange the array I want. Is it available or possible? Thanks in advance.
TENDRIA QUE SER MAS DIDACTICOS SINO SUS VIDEOS NO TIENE SENTIDO DEBERIA DECIR QUE COMPONENTES SON SUPONGO QUE ES USTED UN PROFESIONAL ESTOY EMTRAMPADO EN ESA MALLA
Al revisar los archivos en sky130_tests, se puede observar que el archivo passgate.sym es el símbolo que se utiliza, una búsqueda que no debería haber tomado más de un par de minutos.
como se llama los componentes de esa red donde dice SRARTt STARTN
gracias por el videos como se llama esa res que incluyo al ultimo donde dice Start si pudiera decirnos los componentes que usa porque sino no se entiende bien yo deseo hacer lo mismo y no encuentro los componentes gracias
What is your distro
Hey I am new to this stuff, what does distro mean ?
@@chetanggs Linux distribution
The only problem I have with Xlib is that it uses the antiquated Xlib primitives instead of a gui toolkit like GTK or TK or Qt. Recent graphics drivers are bad at implementing full Xlib and this is causing visual artefacts. I do not want to sound ungrateful, but I beg you to consider re-writing this in a modern toolkit in your most free time.
Start your xserver with acceleration disabled (Option "Accel" "false") in the xorg.conf, all visual artifacts should disappear. This is just a test to verify the xserver is broken (and blame the related programmers). Usually there are options to make the graphics driver work as expected, for example I have to set Option "PageFlip" "false" to make it work fine with my AMD Radeon GPU, without losing acceleration. (anyway for xschem 2D workloads the framebuffer device is usually faster than any accelerated GPU). Even a super-duper Nvidia GPU sucks badly at drawing wide lines with round caps, because modern programmers have lost the 80's techniques to do fast 2D graphics on slow hardware. Even if you set up GL shaders for this you need at least 200+ triangles to have a decent wide line, so at the end it sucks. Not to mention GL compatibility on different platforms, it's a nightmare. There is no plan to use GTK or QT *ever*. these toolkits are way way way too big, they change API too frequently requiring too many UI rewrites (see for example GTK1, GTK2, GTK3, GTK4, GTK5, all incompatible to previous versions). For example the GIMP image manipulation program was finally ported from gtk2 to gtk3 after many years, one month before gtk4 was released. The porting effort is massive. Over time a switch away from xlib will be made but this will happen when I have a clear picture of what tools are available and what windowing/compositing infrastructure will be in use. For now GTK (which uses Cairo for 2D) is 10x slower so it is a nogo also performance-wise. I will evaluate SDL2 in the future, and see where the Tk toolkit will go. Xschem compiles without problems on tcl-tk 8.4 which was released 21 years ago, that means the toolkit is very stable.
Thank you stefan for this video, i have a question is there a way to use verilog-a modeling in xschem or just schematics ?
Hello. Could you do a video on how to install asky130 and gf180 on the same pc and switch between them? There are events and projects that use on of the two and it could make it easier for students to access any of the pdks.
see this manual page: xschem.sourceforge.io/stefan/xschem_man/tutorial_xschem_sky130.html configuring open_pdks with the following command: ./configure --enable-sky130-pdk --enable-gf180mcu-pdk will install both sky130 (all process variants) and gf180mcu (all process variants). Switching between one and the other is a matter of starting xschem from a directory with a sky130 xschemrc file or from a directory with a gf180mcu xschemrc file.
@@stefsport2002 thank you!
I am getting error while simulating. It is showing can't find model
Is there a layout design for this design?
i have a question, what does the sky 130 hh, ll ,lh and hl corners mean? do they change the VTH of the transistors?
yes 'l' means low and 'h' means high, 't' means typical. the first letter refers to n-channel, the second to p-channel. 'l' means slow devics, thus high vth, 'h' means fast devices, low vth.
The hh/hl/lh/ll corners affect capacitance and resistance values. lh means low resistances, high capacitances.
Pressing the netlist button does not do anything. No spice netlist is created. Any clues?
did you get solution for this i'm stuck there
try shift + A to enable show netlist.
what is the password and user name for downloading xschem?
Hi Stefan, Thank you for the videos. I installed xschem and then ngspice, per your other video. One problem I had is that for ngspice, when I click "Netlist" and then "Edit Netlist", the netlist is created in the simulations directory, but does not come up in a shell, as you show in the video. Can you give some pointers what I did wrong and how I can remedy this? Thanks a lot, Sam
I'm facing the same problem. Were you able to figure it out ?
I had this problem, but my team was able to figure it out. We needed to apt install xterm, because that’s what xschem uses to open the terminal. Hope this helps!
@@noahtaul Thanks a lot for your help ! It's working fine now !
Complimenti!
When you say skywater 130pdk is integrated, do you mean the model files are natively available?
No, skywater 130 pdk integration means there are symbols to be used within xschem that represent the available silicon devices. These symbols are set up such that after generating the spice netlist it can be simulated by Ngspice (and Xyce when the pdk is fully compatible with Xyce). The model files are provided by open_pdks, together with many other files for digital design. The whole 130pdk is several Gbytes. Xschem netlists for 130pdk just do a .LIB to include the top sky130 model file, installed on the system by open_pdks.
@@stefsport2002 Thanks for clarifying!
Thank you Stefan
Thanks a lot Stefan! Plots in the schematic are really a great feature that I have used before in ADS and QUCS, and now available in Xschem. Can we plot equations and frequency domain plots?
Yes you can, details in the manual xschem.sourceforge.io/stefan/xschem_man/graphs.html Equations are in RPN format (operands first, operators follow) For example: "Power; i(vvcc) v(vcc) *" will create a new wave named Power that is the product of current and voltage of a supply voltage. Sorry for the incredible delay. I don't sign in frequently on google.
Where did you pick this example
Xschem already had this example but there is no ng or xyce models to stimulate it
@stefsport2002
Che rapporti hai usato?
Bellissimo video, era proprio quello che cercavo, perché sapevo che si poteva partire anche da Campione ma non avevo chiari riferimenti. Io vorrei andare a piedi da Campione fino a Pieve di Tremosine facendo appunto da prima la vecchia gardesana e poi ritrovarmi sulla strada della Forra per godermi ed immortalare i paesaggi spettacolari che ci sono. Da Campione alla 'Gola della Forra' a piedi, quanto ci vorrà secondo te? Ti ringrazio.
Ciao Stefano, fino alla forra si fa tranquillamente a piedi, saranno 4/5km, finito il sentiero che costeggia il lago da Campione arrivi alla strada asfaltata della forra (min 5'.03") che entra in una lunga galleria, ma tu a piedi rimani sulla destra sempre verso il lago. Dopo ti trovi sulla (stretta) strada asfaltata che porta nella gola della forra. Per arrivare a Pieve saranno altri 2/3km dalla gola della forra.
Quanto ci hai messo?
Fatto in giornata, ma come vedi ad andatura tranquillissima, Al passo Tremalzo mi sono fermato per mangiare, insomma bella giornata. Inoltre fatta con una MTB 'old style' di fine anni 90 che ho voluto mettere in prova (ho persino dovuto sostituire un raggio alla ruota posteriore, meno male che avevo l'estrattore per i pignoni e il raggio di scorta). Infinite soste per fare foto. Il paesaggio merita. Un giorno magari lo faro' un po' piu' 'cattivo' :-)
cool video
Complimenti ...bella ...I have been there ...a lot of times ...Bella strada and bella lago di Idro
impressionante ! complimenti
ciao,bel video,che percentuale e' la salita?
15% medio nei 6km centrali, primissimo pezzo e ultimi 2km sono piu umani
Quindi tipo zoncolan....la scanuppia e piu dura e la strada piu larga ci potrebbe passare il giro...punta veleno no...ciao ragazzi
@@lelelibera6498 dicono che punta veleno e identico allo zoncolan... Così dicono... Io non credo... Perché di zoncolan ce n'è solo uno... Ma comunque punta veleno è tosta come salita... Questo Ve lo posso garantire... Sono ciclista scalatore e lo provata questa salita... Mai più nella vita...
complimenti, con una spiegazione apparentemente banale hai dato informazioni chiare e precise.