Example #1
0
ATTR_COLD void netlist_device_t::register_sub(const pstring &name, netlist_device_t &dev)
{
	dev.init(netlist(), this->name() + "." + name);
	// FIXME: subdevices always first inherit the logic family of the parent
	dev.set_logic_family(this->logic_family());
	dev.start_dev();
}
Example #2
0
ATTR_COLD void netlist_device_t::register_sub(netlist_device_t &dev, const pstring &name)
{
	dev.init(netlist(), this->name() + "." + name);
	dev.start_dev();
}