summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/netlist/macro/nlm_modules_lib.cpp
diff options
context:
space:
mode:
author couriersud <couriersud@gmx.org>2020-09-07 22:30:00 +0200
committer couriersud <couriersud@gmx.org>2020-09-07 22:30:00 +0200
commit8ed8d67932af4ba4ffde5bd83d63db5c6839a506 (patch)
tree31df046574b0465d497e2be737c0909bc3e7e654 /src/lib/netlist/macro/nlm_modules_lib.cpp
parent762284f57925b05c6fb00bab7a32663d949f4ee0 (diff)
netlist: start work on modules.
* Modules are netlists for which automatic lib entries are generated. * Going forward you just store them in macro/modules and they will be automatically registered as device elements. * you need to do a "make generated" is src/lib/netlist/build * cpp still needs to be added to netlist.lua
Diffstat (limited to 'src/lib/netlist/macro/nlm_modules_lib.cpp')
-rw-r--r--src/lib/netlist/macro/nlm_modules_lib.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/lib/netlist/macro/nlm_modules_lib.cpp b/src/lib/netlist/macro/nlm_modules_lib.cpp
new file mode 100644
index 00000000000..d6b3f17c5ff
--- /dev/null
+++ b/src/lib/netlist/macro/nlm_modules_lib.cpp
@@ -0,0 +1,10 @@
+// license:CC0
+// copyright-holders:Couriersud
+
+#include "devices/net_lib.h"
+
+NETLIST_START(modules_lib)
+
+ EXTERNAL_LIB_ENTRY(RTEST)
+
+NETLIST_END()