Esempio n. 1
0
        //- Identifier:  EPROM_2716_DIP
        //- Title: 2716 16K (2K x 8) UV ERASABLE PROM
        //- Pinalias: A7,A6,A6,A4,A4,A2,A1,A0,O0,O1,O2,GND,O3,O4,O5,O6,O7,CE1Q/CE,A10,CE2Q/OE,VPP,A9,A8,VCC
        //- Package: DIP
        //- Param: ROM
        //-    The name of the source to load the rom content from
        //- Param: FORCE_TRISTATE_LOGIC
        //-    Set this parameter to 1 force tristate outputs into logic mode.
        //-    This should be done only if the device enable inputs are connected
        //-    in a way which always enables the device.
        //- Param: MODEL
        //-    Overwrite the default model of the device. Use with care.
        //- NamingConvention: Naming conventions follow Intel datasheet
        //- Limitations:
        //-    Currently OC is not supported.
        //-
        //- Example: 2716.cpp,2716_example
        //- FunctionTable:
        //-    http://pdf.datasheetcatalog.com/datasheets/400/500340_DS.pdf
        //-
        //static NETLIST_START(EPROM_2716_DIP)
        public static void netlist_EPROM_2716_DIP(netlist.nlparse_t setup)
        {
            netlist.helper h = new netlist.helper();

            h.NETLIST_START(setup);

            throw new emu_unimplemented();
#if false
            EPROM_2716(setup, "A");
#endif

            h.DEFPARAM("ROM", "unknown");
            h.DEFPARAM("FORCE_TRISTATE_LOGIC", "0");
            h.DEFPARAM("MODEL", "$(@.A.MODEL)");
            h.PARAM("A.ROM", "$(@.ROM)");
            h.PARAM("A.FORCE_TRISTATE_LOGIC", "$(@.FORCE_TRISTATE_LOGIC)");
            h.PARAM("A.MODEL", "$(@.MODEL)");
            h.ALIAS("1", "A.A7");
            h.ALIAS("2", "A.A6");
            h.ALIAS("3", "A.A5");
            h.ALIAS("4", "A.A4");
            h.ALIAS("5", "A.A3");
            h.ALIAS("6", "A.A2");
            h.ALIAS("7", "A.A1");
            h.ALIAS("8", "A.A0");
            throw new emu_unimplemented();
#if false
            ALIAS(9, A.O0);
            ALIAS(10, A.O1);
            ALIAS(11, A.O2);
            netlist.nl_setup_global.ALIAS(setup, "12", "A.GND");

            ALIAS(13, A.O3);
            ALIAS(14, A.O4);
            ALIAS(15, A.O5);
            ALIAS(16, A.O6);
            ALIAS(17, A.O7);
#endif
            h.ALIAS("18", "A.CE1Q"); // CEQ
            h.ALIAS("19", "A.A10");
            h.ALIAS("20", "A.CE2Q"); // OEQ
            h.ALIAS("22", "A.A9");
            h.ALIAS("23", "A.A8");
            h.ALIAS("24", "A.VCC");

            h.NETLIST_END();
        }
Esempio n. 2
0
        //- Identifier:  PROM_82S123_DIP
        //- Title: 82S123 256 bit TTL bipolar PROM
        //- Pinalias: O1,O2,O3,O4,O5,O6,O7,GND,O8,A0,A1,A2,A3,A4,CEQ,VCC
        //- Package: DIP
        //- Param: ROM
        //-    The name of the source to load the rom content from
        //- Param: FORCE_TRISTATE_LOGIC
        //-    Set this parameter to 1 force tristate outputs into logic mode.
        //-    This should be done only if the device enable inputs are connected
        //-    in a way which always enables the device.
        //- Param: MODEL
        //-    Overwrite the default model of the device. Use with care.
        //- NamingConvention: Naming conventions follow Philips Components-Signetics datasheet
        //- Limitations:
        //-    Currently OC is not supported.
        //-
        //- Example: 82S123.cpp,82S123_example
        //- FunctionTable:
        //-    http://pdf.datasheetcatalog.com/datasheet/philips/82S123.pdf
        //-

        //static NETLIST_START(PROM_82S123_DIP)
        public static void netlist_PROM_82S123_DIP(netlist.nlparse_t setup)
        {
            netlist.helper h = new netlist.helper();

            h.NETLIST_START(setup);

            throw new emu_unimplemented();
#if false
            PROM_82S123(setup, "A");
#endif

            h.DEFPARAM("ROM", "unknown");
            h.DEFPARAM("FORCE_TRISTATE_LOGIC", "0");
            h.DEFPARAM("MODEL", "$(@.A.MODEL)");
            h.PARAM("A.ROM", "$(@.ROM)");
            h.PARAM("A.FORCE_TRISTATE_LOGIC", "$(@.FORCE_TRISTATE_LOGIC)");
            h.PARAM("A.MODEL", "$(@.MODEL)");
            h.ALIAS("1", "A.O0");
            h.ALIAS("2", "A.O1");
            h.ALIAS("3", "A.O2");
            h.ALIAS("4", "A.O3");
            h.ALIAS("5", "A.O4");
            h.ALIAS("6", "A.O5");
            h.ALIAS("7", "A.O6");
            h.ALIAS("8", "A.GND");

            h.ALIAS("9", "A.O7");
            h.ALIAS("10", "A.A0");
            h.ALIAS("11", "A.A1");
            h.ALIAS("12", "A.A2");
            h.ALIAS("13", "A.A3");
            h.ALIAS("14", "A.A4");
            h.ALIAS("15", "A.CEQ");
            h.ALIAS("16", "A.VCC");

            h.NETLIST_END();
        }
Esempio n. 3
0
        //- Identifier:  PROM_MK28000_DIP
        //- Title: MK28000 (2048 x 8 or 4096 x 4) 16384-Bit TTL PROM
        //- Pinalias: VCC,A1,A2,A3,A4,A5,A6,A10,GND,A9,A8,A7,ARQ,OE2,A11,O8,O7,O6,O5,O4,O3,O2,O1,OE1
        //- Package: DIP
        //- Param: ROM
        //-    The name of the source to load the rom content from
        //- NamingConvention: Naming conventions follow Mostek datasheet
        //- Limitations:
        //-    None.
        //static NETLIST_START(PROM_MK28000_DIP)
        public static void netlist_PROM_MK28000_DIP(netlist.nlparse_t setup)
        {
            netlist.helper h = new netlist.helper();

            h.NETLIST_START(setup);

            throw new emu_unimplemented();
#if false
            PROM_MK28000(A);
#endif

            h.DEFPARAM("ROM", "unknown");
            h.PARAM("A.ROM", "$(@.ROM)");
            h.ALIAS("1", "A.VCC");
            h.ALIAS("2", "A.A1");
            h.ALIAS("3", "A.A2");
            h.ALIAS("4", "A.A3");
            h.ALIAS("5", "A.A4");
            h.ALIAS("6", "A.A5");
            h.ALIAS("7", "A.A6");
            h.ALIAS("8", "A.A10");
            h.ALIAS("9", "A.GND");
            h.ALIAS("10", "A.A9");
            h.ALIAS("11", "A.A8");
            h.ALIAS("12", "A.A7");
            h.ALIAS("13", "A.ARQ");
            h.ALIAS("14", "A.OE2");
            h.ALIAS("15", "A.A11");
            h.ALIAS("16", "A.O8");
            h.ALIAS("17", "A.O7");
            h.ALIAS("18", "A.O6");
            h.ALIAS("19", "A.O5");
            h.ALIAS("20", "A.O4");
            h.ALIAS("21", "A.O3");
            h.ALIAS("22", "A.O2");
            h.ALIAS("23", "A.O1");
            h.ALIAS("24", "A.OE1");

            h.NETLIST_END();
        }