summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/netlist/devices/nlid_truthtable.h
blob: 14ee3d0062429ebf374479822bc2d042a8418eb6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// license:GPL-2.0+
// copyright-holders:Couriersud
/*
 * nld_truthtable.h
 *
 */

#ifndef NLID_TRUTHTABLE_H_
#define NLID_TRUTHTABLE_H_

#include "nl_factory.h"
#include "nl_setup.h"

#define USE_TT_ALTERNATIVE (0)

namespace netlist
{
	namespace factory
	{
		class truthtable_base_element_t : public factory::element_t
		{
		public:
			truthtable_base_element_t(const pstring &name,properties &&props);

			std::vector<pstring> m_desc;
			pstring m_family_name;
		};

		plib::unique_ptr<truthtable_base_element_t> truthtable_create(tt_desc &desc,
			properties &&props);

	} // namespace factory
} // namespace netlist

#endif // NLID_TRUTHTABLE_H_