예제 #1
0
        /* ----------------------------------------------------------------------------
        *  Always included
        * ---------------------------------------------------------------------------*/
        //NETLIST_START(base_lib)
        public static void netlist_base_lib(netlist.nlparse_t setup)
        {
            netlist.helper h = new netlist.helper();

            h.NETLIST_START(setup);

            h.NET_REGISTER_DEV("GNDA", "GND");
            h.NET_REGISTER_DEV("PARAMETER", "NETLIST");

            h.LOCAL_SOURCE("diode_models", netlist_diode_models);
            h.LOCAL_SOURCE("bjt_models", netlist_bjt_models);
            h.LOCAL_SOURCE("mosfet_models", netlist_mosfet_models);
            h.LOCAL_SOURCE("family_models", netlist_family_models);

            h.EXTERNAL_SOURCE("ttl74xx_lib", nlm_ttl74xx_global.netlist_ttl74xx_lib);
            h.EXTERNAL_SOURCE("cd4xxx_lib", nlm_cd4xxx_global.netlist_cd4xxx_lib);
            h.EXTERNAL_SOURCE("opamp_lib", nlm_opamp_global.netlist_opamp_lib);
            h.EXTERNAL_SOURCE("otheric_lib", nlm_otheric_global.netlist_otheric_lib);
            h.EXTERNAL_SOURCE("roms_lib", nlm_roms_global.netlist_roms_lib);

            h.EXTERNAL_SOURCE("modules_lib", nlm_modules_global.netlist_modules_lib);

            h.INCLUDE("diode_models");
            h.INCLUDE("bjt_models");
            h.INCLUDE("mosfet_models");
            h.INCLUDE("family_models");

            h.INCLUDE("ttl74xx_lib");
            h.INCLUDE("cd4xxx_lib");
            h.INCLUDE("opamp_lib");
            h.INCLUDE("otheric_lib");
            h.INCLUDE("roms_lib");

            h.INCLUDE("modules_lib");

            h.NETLIST_END();
        }