From 2c48b7399e72404d8a3700dc368cbdd0cbf3240a Mon Sep 17 00:00:00 2001 From: stefan schippers Date: Sat, 18 Nov 2023 12:03:09 +0100 Subject: [PATCH] update manual page for sky130 installation (switch from adms to openvaf) --- doc/xschem_man/tutorial_xschem_sky130.html | 10 +++------- src/scheduler.c | 4 ++++ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/doc/xschem_man/tutorial_xschem_sky130.html b/doc/xschem_man/tutorial_xschem_sky130.html index cc131593..04e757e3 100644 --- a/doc/xschem_man/tutorial_xschem_sky130.html +++ b/doc/xschem_man/tutorial_xschem_sky130.html @@ -31,9 +31,7 @@ p{padding: 15px 30px 10px;}
  • Install the Magic VLSI layout editor. Instructions here.
  • Install ngspice, by cloning the git source repository - and building the program. If you want adms integration you must instal adms (sudo apt-get install adms). - Otherwise run autogen.sh (see below) without the --adms option. - Without the --adms also the following ../configure ... line should have --enable-adms removed. + and building the program.

  • @@ -41,13 +39,11 @@ p{padding: 15px  30px 10px;}
     git clone https://git.code.sf.net/p/ngspice/ngspice ngspice_git
     cd ngspice_git
     mkdir release
    -## in order to run the following you must have adms installed (sudo apt-get install adms)
    -## Otherwise run without --adms and remove --enable-adms in the following ../configure...  line.
    -./autogen.sh --adms
    +./autogen.sh
     cd release
     ## by default if no --prefix is provided ngspice will install under /usr/local/{bin,share,man,lib}
     ## you can add a --prefix=/home/username to install into your home directory.
    -../configure --with-x --enable-xspice --disable-debug --enable-cider --with-readline=yes --enable-openmp --enable-adms
    +../configure --with-x --enable-xspice --disable-debug --enable-cider --with-readline=yes --enable-openmp --enable-osdi
     ## build the program
     make
     ## install the program and needed files.
    diff --git a/src/scheduler.c b/src/scheduler.c
    index cb18f8ec..e47f95f1 100644
    --- a/src/scheduler.c
    +++ b/src/scheduler.c
    @@ -4735,6 +4735,10 @@ int xschem(ClientData clientdata, Tcl_Interp *interp, int argc, const char * arg
             Xschem_ctx **save_xctx = get_save_xctx();
             copy_hierarchy_data(save_xctx[0], save_xctx[1]);
           }
    +      else if(argc > 2 && atoi(argv[2]) == 3) {
    +        Xschem_ctx **save_xctx = get_save_xctx();
    +        save_xctx[1]->raw = save_xctx[0]->raw;
    +      }
           Tcl_ResetResult(interp);
         }