summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/netlist/nl_parser.h
diff options
context:
space:
mode:
author couriersud <couriersud@gmx.org>2020-09-06 23:24:21 +0200
committer couriersud <couriersud@gmx.org>2020-09-12 23:20:16 +0200
commitca31c844cde7f54a285e3b9da358989e42258f5b (patch)
treef9e4a963b999e1352a4611a43a7c10c2d80957e7 /src/lib/netlist/nl_parser.h
parentcda35c94020dbcb8dad8309aba11374c356c501e (diff)
netlist: move to generated header and link support files files.
* Removed device and macro header files. * All of those can be generated automatically so going forward there is no need for these any longer. * Introduced the modules concept. 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 * Some_device.cpp still needs to be added to netlist.lua * Added documentation on how to add devices to netlist. * Please refer to adding_devices.md for more information.
Diffstat (limited to 'src/lib/netlist/nl_parser.h')
-rw-r--r--src/lib/netlist/nl_parser.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/netlist/nl_parser.h b/src/lib/netlist/nl_parser.h
index d186effc57c..aafe0911a2e 100644
--- a/src/lib/netlist/nl_parser.h
+++ b/src/lib/netlist/nl_parser.h
@@ -45,6 +45,7 @@ namespace netlist
void net_include();
void net_local_source();
void net_external_source();
+ void net_lib_entry(bool is_local);
void net_register_dev();
void net_truthtable_start(const pstring &nlname);
@@ -75,6 +76,7 @@ namespace netlist
token_id_t m_tok_EXTERNAL_SOURCE;
token_id_t m_tok_LOCAL_SOURCE;
token_id_t m_tok_LOCAL_LIB_ENTRY;
+ token_id_t m_tok_EXTERNAL_LIB_ENTRY;
token_id_t m_tok_TRUTHTABLE_START;
token_id_t m_tok_TRUTHTABLE_END;
token_id_t m_tok_TRUTHTABLE_ENTRY;