Previous 199869 Revisions Next

r26116 Tuesday 12th November, 2013 at 09:55:58 UTC by Wilbert Pol
Fixed debug build; someonee please review these changes. (nw)
[src/emu/netlist]nl_base.h

trunk/src/emu/netlist/nl_base.h
r26115r26116
454454     */
455455    ATTR_HOT inline const netlist_sig_t Q() const
456456    {
457        assert(object_type(SIGNAL_MASK) == SIGNAL_DIGITAL);
457        //assert(object_type(SIGNAL_MASK) == SIGNAL_DIGITAL);
458      assert(family() == LOGIC);
458459        return m_cur.Q;
459460    }
460461    ATTR_HOT inline const double Q_Analog() const
461462    {
462        assert(object_type(SIGNAL_MASK) == SIGNAL_ANALOG);
463        //assert(object_type(SIGNAL_MASK) == SIGNAL_ANALOG);
464      assert(family() == ANALOG);
463465        return m_cur.Analog;
464466    }
465467
r26115r26116
779781   nld_a_to_d_proxy(netlist_input_t &in_proxied)
780782         : netlist_device_t()
781783   {
782      assert(in_proxied.object_type(SIGNAL_MASK) == SIGNAL_DIGITAL);
784      //assert(in_proxied.object_type(SIGNAL_MASK) == SIGNAL_DIGITAL);
785      assert(in_proxied.family() == LOGIC);
783786      m_I.m_high_thresh_V = in_proxied.m_high_thresh_V;
784787      m_I.m_low_thresh_V = in_proxied.m_low_thresh_V;
785788   }
r26115r26116
818821   nld_d_to_a_proxy(netlist_output_t &out_proxied)
819822         : netlist_device_t()
820823   {
821      assert(out_proxied.object_type(SIGNAL_MASK) == SIGNAL_DIGITAL);
824      //assert(out_proxied.object_type(SIGNAL_MASK) == SIGNAL_DIGITAL);
825      assert(out_proxied.family() == LOGIC);
822826      m_low_V = out_proxied.m_low_V;
823827      m_high_V = out_proxied.m_high_V;
824828   }

Previous 199869 Revisions Next


© 1997-2024 The MAME Team