diff options
author | couriersud <couriersud@gmx.org> | 2020-07-04 10:22:01 +0200 |
---|---|---|
committer | couriersud <couriersud@gmx.org> | 2020-07-04 10:22:01 +0200 |
commit | 207fd27e8cf8030176b08f5f5e56e747284c3f2f (patch) | |
tree | b708411a13feb4ab21fbf41d12b4e6ca9532b05e | |
parent | bdc1bb4778aaa4cbf75d6bfc7340859a9858590c (diff) |
netlist: Fix polarity of 74LS125 tristate input.
-rw-r--r-- | src/lib/netlist/devices/nld_74125.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/netlist/devices/nld_74125.cpp b/src/lib/netlist/devices/nld_74125.cpp index d2c873a0e17..28118f8248e 100644 --- a/src/lib/netlist/devices/nld_74125.cpp +++ b/src/lib/netlist/devices/nld_74125.cpp @@ -37,7 +37,7 @@ namespace netlist NETLIB_CONSTRUCTOR(74125_base) , m_TE(*this, "FORCE_TRISTATE_LOGIC", 0) , m_A(*this, "A", NETLIB_DELEGATE(A)) - , m_G(*this, pstring(D::invert_g::value ? "GQ" : "G"), NETLIB_DELEGATE(G)) + , m_G(*this, pstring(D::invert_g::value ? "G" : "GQ"), NETLIB_DELEGATE(G)) , m_Y(*this, "Y", m_TE()) //, m_Y(*this, "Y") , m_power_pins(*this) @@ -78,7 +78,7 @@ namespace netlist struct desc_74125 : public desc_base { - using invert_g = desc_const<1>; + using invert_g = desc_const<0>; using ts_off_on = time_ns<11>; using ts_on_off = time_ns<13>; using sig_off_on = time_ns<8>; @@ -87,7 +87,7 @@ namespace netlist struct desc_74126 : public desc_74125 { - using invert_g = desc_const<0>; + using invert_g = desc_const<1>; }; using NETLIB_NAME(74125) = NETLIB_NAME(74125_base)<desc_74125>; |