trunk/src/emu/netlist/nl_base.h
| r26115 | r26116 | |
| 454 | 454 | */ |
| 455 | 455 | ATTR_HOT inline const netlist_sig_t Q() const |
| 456 | 456 | { |
| 457 | | assert(object_type(SIGNAL_MASK) == SIGNAL_DIGITAL); |
| 457 | //assert(object_type(SIGNAL_MASK) == SIGNAL_DIGITAL); |
| 458 | assert(family() == LOGIC); |
| 458 | 459 | return m_cur.Q; |
| 459 | 460 | } |
| 460 | 461 | ATTR_HOT inline const double Q_Analog() const |
| 461 | 462 | { |
| 462 | | assert(object_type(SIGNAL_MASK) == SIGNAL_ANALOG); |
| 463 | //assert(object_type(SIGNAL_MASK) == SIGNAL_ANALOG); |
| 464 | assert(family() == ANALOG); |
| 463 | 465 | return m_cur.Analog; |
| 464 | 466 | } |
| 465 | 467 | |
| r26115 | r26116 | |
| 779 | 781 | nld_a_to_d_proxy(netlist_input_t &in_proxied) |
| 780 | 782 | : netlist_device_t() |
| 781 | 783 | { |
| 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); |
| 783 | 786 | m_I.m_high_thresh_V = in_proxied.m_high_thresh_V; |
| 784 | 787 | m_I.m_low_thresh_V = in_proxied.m_low_thresh_V; |
| 785 | 788 | } |
| r26115 | r26116 | |
| 818 | 821 | nld_d_to_a_proxy(netlist_output_t &out_proxied) |
| 819 | 822 | : netlist_device_t() |
| 820 | 823 | { |
| 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); |
| 822 | 826 | m_low_V = out_proxied.m_low_V; |
| 823 | 827 | m_high_V = out_proxied.m_high_V; |
| 824 | 828 | } |