summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/netlist/devices/nld_system.h
diff options
context:
space:
mode:
author couriersud <couriersud@gmx.org>2019-11-15 21:55:41 +0100
committer couriersud <couriersud@gmx.org>2019-11-15 22:16:37 +0100
commitbcfa9eae6f16c35254a5cee1fb992f988c0a86ce (patch)
tree8b42ff7a46d9be7b73e2c5b7170afe7c27d15180 /src/lib/netlist/devices/nld_system.h
parentdf143446696cee294a6ffd7ea6bc0b09a43d9c02 (diff)
netlist: maintenance and bug fixes, remove DUMMY_INPUT. [Couriersud]
- Removed DUMMY_INPUT. NC (not connected) pins should now use NC_PIN. If a NC_PIN is actually connected, an error will be logged and validation will fail. - Enabled "extended" validation. This will catch now if power terminals are not connected. - Added const and noexcept where appropriate. - Removed dead code. - Fixed the 7414 Schmitt-Trigger device to use nld_power_pins
Diffstat (limited to 'src/lib/netlist/devices/nld_system.h')
-rw-r--r--src/lib/netlist/devices/nld_system.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/netlist/devices/nld_system.h b/src/lib/netlist/devices/nld_system.h
index af577a9d543..2600b7a41f3 100644
--- a/src/lib/netlist/devices/nld_system.h
+++ b/src/lib/netlist/devices/nld_system.h
@@ -47,8 +47,8 @@
#define GNDA() \
NET_REGISTER_DEV(GNDA, GND)
-#define DUMMY_INPUT(name) \
- NET_REGISTER_DEV(DUMMY_INPUT, name)
+#define NC_PIN(name) \
+ NET_REGISTER_DEV(NC_PIN, name)
//FIXME: Usage discouraged, use OPTIMIZE_FRONTIER instead
#define FRONTIER_DEV(name, cIN, cG, cOUT) \