Exemplo n.º 1
0
        // FIXME: create proxies based on family type (far future)
        public override devices.nld_base_d_to_a_proxy create_d_a_proxy(netlist_state_t anetlist, string name, logic_output_t proxied)  //device_arena::unique_ptr<devices::nld_base_d_to_a_proxy> create_d_a_proxy(netlist_state_t &anetlist, const pstring &name, const logic_output_t *proxied) const override
        {
            switch (m_family_type)
            {
            case family_type.CUSTOM:
            case family_type.TTL:
            case family_type.MOS:
            case family_type.CMOS:
            case family_type.NMOS:
            case family_type.PMOS:
                return(new devices.nld_d_to_a_proxy(anetlist, name, proxied));     //return anetlist.make_pool_object<devices::nld_d_to_a_proxy>(anetlist, name, proxied);
            }

            return(new devices.nld_d_to_a_proxy(anetlist, name, proxied));  //return anetlist.make_pool_object<devices::nld_d_to_a_proxy>(anetlist, name, proxied);
        }
Exemplo n.º 2
0
        //PCOPYASSIGNMOVE(logic_family_desc_t, delete)

        //virtual ~logic_family_desc_t() noexcept = default;


        public abstract devices.nld_base_d_to_a_proxy create_d_a_proxy(netlist_state_t anetlist, string name, logic_output_t proxied); //virtual device_arena::unique_ptr<devices::nld_base_d_to_a_proxy> create_d_a_proxy(netlist_state_t &anetlist, const pstring &name, const logic_output_t *proxied) const = 0;