1998-11-04 00:28:49 +01:00
|
|
|
/*
|
2008-01-31 02:53:06 +01:00
|
|
|
* Copyright (c) 1998-2008 Stephen Williams <steve@icarus.com>
|
1998-11-04 00:28:49 +01:00
|
|
|
*
|
|
|
|
|
* This source code is free software; you can redistribute it
|
|
|
|
|
* and/or modify it in source code form under the terms of the GNU
|
|
|
|
|
* General Public License as published by the Free Software
|
|
|
|
|
* Foundation; either version 2 of the License, or (at your option)
|
|
|
|
|
* any later version.
|
|
|
|
|
*
|
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
|
*
|
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
|
* along with this program; if not, write to the Free Software
|
|
|
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
|
|
|
|
|
*/
|
|
|
|
|
|
2001-07-25 05:10:48 +02:00
|
|
|
# include "config.h"
|
|
|
|
|
|
|
|
|
|
# include <iostream>
|
|
|
|
|
|
1998-11-04 00:28:49 +01:00
|
|
|
# include "target.h"
|
|
|
|
|
# include <typeinfo>
|
|
|
|
|
|
|
|
|
|
target_t::~target_t()
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
2000-08-08 03:50:42 +02:00
|
|
|
void target_t::scope(const NetScope*)
|
1999-11-27 20:07:57 +01:00
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
2000-08-08 03:50:42 +02:00
|
|
|
void target_t::event(const NetEvent*ev)
|
2000-04-04 05:20:15 +02:00
|
|
|
{
|
2007-12-20 18:31:01 +01:00
|
|
|
cerr << ev->get_fileline() << ": error: target (" << typeid(*this).name()
|
2007-06-02 05:42:12 +02:00
|
|
|
<< "): Unhandled event <" << ev->name() << ">." << endl;
|
2000-04-04 05:20:15 +02:00
|
|
|
}
|
|
|
|
|
|
2006-11-10 06:44:44 +01:00
|
|
|
bool target_t::signal_paths(const NetNet*)
|
|
|
|
|
{
|
|
|
|
|
return true;
|
|
|
|
|
}
|
2004-06-01 01:34:36 +02:00
|
|
|
bool target_t::func_def(const NetScope*)
|
1999-09-01 00:38:29 +02:00
|
|
|
{
|
|
|
|
|
cerr << "target (" << typeid(*this).name() << "): "
|
|
|
|
|
"Unhandled function definition." << endl;
|
2004-06-01 01:34:36 +02:00
|
|
|
return false;
|
1999-09-01 00:38:29 +02:00
|
|
|
}
|
|
|
|
|
|
2001-04-02 04:28:12 +02:00
|
|
|
void target_t::task_def(const NetScope*)
|
1999-07-03 04:12:51 +02:00
|
|
|
{
|
|
|
|
|
cerr << "target (" << typeid(*this).name() << "): "
|
|
|
|
|
"Unhandled task definition." << endl;
|
|
|
|
|
}
|
|
|
|
|
|
2000-08-08 03:50:42 +02:00
|
|
|
void target_t::logic(const NetLogic*)
|
1998-11-04 00:28:49 +01:00
|
|
|
{
|
2005-02-03 05:56:20 +01:00
|
|
|
cerr << "target (" << typeid(*this).name() << "): "
|
|
|
|
|
"Unhandled logic gate" << endl;
|
1998-11-04 00:28:49 +01:00
|
|
|
}
|
|
|
|
|
|
2008-05-20 06:42:52 +02:00
|
|
|
bool target_t::tran(const NetTran*)
|
|
|
|
|
{
|
|
|
|
|
cerr << "target (" << typeid(*this).name() << "): "
|
|
|
|
|
<< "TRAN devices not supported." << endl;
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
|
2000-08-14 06:39:56 +02:00
|
|
|
bool target_t::bufz(const NetBUFZ*)
|
1998-11-04 00:28:49 +01:00
|
|
|
{
|
|
|
|
|
cerr << "target (" << typeid(*this).name() << "): "
|
|
|
|
|
"Unhandled continuous assign (BUFZ)." << endl;
|
2000-08-14 06:39:56 +02:00
|
|
|
return false;
|
1998-11-04 00:28:49 +01:00
|
|
|
}
|
|
|
|
|
|
2000-08-08 03:50:42 +02:00
|
|
|
void target_t::udp(const NetUDP*)
|
1998-12-01 01:42:13 +01:00
|
|
|
{
|
|
|
|
|
cerr << "target (" << typeid(*this).name() << "): "
|
|
|
|
|
"Unhandled UDP." << endl;
|
|
|
|
|
}
|
|
|
|
|
|
2005-02-03 05:56:20 +01:00
|
|
|
bool target_t::ureduce(const NetUReduce*)
|
|
|
|
|
{
|
|
|
|
|
cerr << "target (" << typeid(*this).name() << "): "
|
|
|
|
|
"Unhandled unary reduction logic gate." << endl;
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
|
2008-05-06 07:00:39 +02:00
|
|
|
void target_t::lpm_abs(const NetAbs*)
|
|
|
|
|
{
|
|
|
|
|
cerr << "target (" << typeid(*this).name() << "): "
|
|
|
|
|
"Unhandled NetAbs." << endl;
|
|
|
|
|
}
|
|
|
|
|
|
2000-08-08 03:50:42 +02:00
|
|
|
void target_t::lpm_add_sub(const NetAddSub*)
|
1999-09-03 06:28:38 +02:00
|
|
|
{
|
|
|
|
|
cerr << "target (" << typeid(*this).name() << "): "
|
|
|
|
|
"Unhandled NetAddSub." << endl;
|
|
|
|
|
}
|
|
|
|
|
|
2007-01-16 06:44:14 +01:00
|
|
|
bool target_t::lpm_array_dq(const NetArrayDq*)
|
|
|
|
|
{
|
|
|
|
|
cerr << "target (" << typeid(*this).name() << "): "
|
|
|
|
|
"Unhandled NetArrayDq." << endl;
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
|
2008-06-21 03:11:11 +02:00
|
|
|
bool target_t::lpm_cast_int(const NetCastInt*)
|
|
|
|
|
{
|
|
|
|
|
cerr << "target (" << typeid(*this).name() << "): "
|
|
|
|
|
"Unhandled NetCastInt." << endl;
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
|
2008-06-18 02:07:19 +02:00
|
|
|
bool target_t::lpm_cast_real(const NetCastReal*)
|
|
|
|
|
{
|
|
|
|
|
cerr << "target (" << typeid(*this).name() << "): "
|
|
|
|
|
"Unhandled NetCastReal." << endl;
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
|
2000-08-08 03:50:42 +02:00
|
|
|
void target_t::lpm_clshift(const NetCLShift*)
|
1999-11-14 21:24:28 +01:00
|
|
|
{
|
|
|
|
|
cerr << "target (" << typeid(*this).name() << "): "
|
|
|
|
|
"Unhandled NetCLShift." << endl;
|
|
|
|
|
}
|
|
|
|
|
|
2000-08-08 03:50:42 +02:00
|
|
|
void target_t::lpm_compare(const NetCompare*)
|
1999-11-15 00:43:45 +01:00
|
|
|
{
|
|
|
|
|
cerr << "target (" << typeid(*this).name() << "): "
|
|
|
|
|
"Unhandled NetCompare." << endl;
|
|
|
|
|
}
|
|
|
|
|
|
2000-08-08 03:50:42 +02:00
|
|
|
void target_t::lpm_divide(const NetDivide*)
|
2000-04-01 23:40:22 +02:00
|
|
|
{
|
|
|
|
|
cerr << "target (" << typeid(*this).name() << "): "
|
|
|
|
|
"Unhandled NetDivide." << endl;
|
|
|
|
|
}
|
|
|
|
|
|
2000-09-17 23:26:15 +02:00
|
|
|
void target_t::lpm_modulo(const NetModulo*)
|
|
|
|
|
{
|
|
|
|
|
cerr << "target (" << typeid(*this).name() << "): "
|
|
|
|
|
"Unhandled NetModulo." << endl;
|
|
|
|
|
}
|
|
|
|
|
|
2000-08-08 03:50:42 +02:00
|
|
|
void target_t::lpm_ff(const NetFF*)
|
1999-11-01 03:07:40 +01:00
|
|
|
{
|
|
|
|
|
cerr << "target (" << typeid(*this).name() << "): "
|
|
|
|
|
"Unhandled NetFF." << endl;
|
|
|
|
|
}
|
|
|
|
|
|
2000-08-08 03:50:42 +02:00
|
|
|
void target_t::lpm_mult(const NetMult*)
|
2000-01-13 04:35:35 +01:00
|
|
|
{
|
|
|
|
|
cerr << "target (" << typeid(*this).name() << "): "
|
|
|
|
|
"Unhandled NetMult." << endl;
|
|
|
|
|
}
|
|
|
|
|
|
2000-08-08 03:50:42 +02:00
|
|
|
void target_t::lpm_mux(const NetMux*)
|
1999-11-04 04:53:26 +01:00
|
|
|
{
|
|
|
|
|
cerr << "target (" << typeid(*this).name() << "): "
|
|
|
|
|
"Unhandled NetMux." << endl;
|
|
|
|
|
}
|
2008-01-31 02:53:06 +01:00
|
|
|
|
|
|
|
|
void target_t::lpm_pow(const NetPow*)
|
|
|
|
|
{
|
|
|
|
|
cerr << "target (" << typeid(*this).name() << "): "
|
|
|
|
|
"Unhandled NetPow." << endl;
|
|
|
|
|
}
|
|
|
|
|
|
2004-12-30 00:55:43 +01:00
|
|
|
bool target_t::concat(const NetConcat*)
|
|
|
|
|
{
|
|
|
|
|
cerr << "target (" << typeid(*this).name() << "): "
|
|
|
|
|
"Unhandled NetConcat." << endl;
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
|
2004-12-11 03:31:25 +01:00
|
|
|
bool target_t::part_select(const NetPartSelect*)
|
1999-10-10 03:59:54 +02:00
|
|
|
{
|
2004-12-11 03:31:25 +01:00
|
|
|
cerr << "target (" << typeid(*this).name() << "): "
|
|
|
|
|
"Unhandled NetPartSelect." << endl;
|
2000-05-12 01:37:26 +02:00
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
|
2005-02-08 01:12:36 +01:00
|
|
|
bool target_t::replicate(const NetReplicate*)
|
|
|
|
|
{
|
|
|
|
|
cerr << "target (" << typeid(*this).name() << "): "
|
|
|
|
|
"Unhandled NetReplicate." << endl;
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
|
2004-12-11 03:31:25 +01:00
|
|
|
void target_t::net_case_cmp(const NetCaseCmp*)
|
1998-11-09 19:55:33 +01:00
|
|
|
{
|
|
|
|
|
cerr << "target (" << typeid(*this).name() << "): "
|
2004-12-11 03:31:25 +01:00
|
|
|
"Unhandled case compare node." << endl;
|
1998-11-09 19:55:33 +01:00
|
|
|
}
|
|
|
|
|
|
2004-12-11 03:31:25 +01:00
|
|
|
bool target_t::net_const(const NetConst*)
|
2000-04-22 06:20:19 +02:00
|
|
|
{
|
|
|
|
|
cerr << "target (" << typeid(*this).name() << "): "
|
2004-12-11 03:31:25 +01:00
|
|
|
"Unhandled CONSTANT node." << endl;
|
2000-04-22 06:20:19 +02:00
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
|
2006-06-18 06:15:50 +02:00
|
|
|
bool target_t::net_sysfunction(const NetSysFunc*net)
|
|
|
|
|
{
|
|
|
|
|
cerr << "target (" << typeid(*this).name() << "): "
|
|
|
|
|
"Unhandled NetSysFunc node." << endl;
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
|
2002-03-09 03:10:22 +01:00
|
|
|
bool target_t::net_function(const NetUserFunc*net)
|
|
|
|
|
{
|
|
|
|
|
cerr << "target (" << typeid(*this).name() << "): "
|
|
|
|
|
"Unhandled NetUserFunc node." << endl;
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
|
2005-07-07 18:22:49 +02:00
|
|
|
bool target_t::net_literal(const NetLiteral*)
|
|
|
|
|
{
|
|
|
|
|
cerr << "target (" << typeid(*this).name() << "): "
|
|
|
|
|
"Unhandled LITERAL node." << endl;
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
|
2000-08-08 03:50:42 +02:00
|
|
|
void target_t::net_probe(const NetEvProbe*net)
|
2000-04-10 07:26:05 +02:00
|
|
|
{
|
|
|
|
|
cerr << "target (" << typeid(*this).name() << "): "
|
|
|
|
|
"Unhandled probe trigger node" << endl;
|
|
|
|
|
net->dump_node(cerr, 4);
|
|
|
|
|
}
|
|
|
|
|
|
2005-05-24 03:44:27 +02:00
|
|
|
bool target_t::sign_extend(const NetSignExtend*net)
|
|
|
|
|
{
|
|
|
|
|
cerr << "target (" << typeid(*this).name() << "): "
|
|
|
|
|
"Unhandled NetSignExtend node." << endl;
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
|
2000-08-08 03:50:42 +02:00
|
|
|
bool target_t::process(const NetProcTop*top)
|
1998-11-04 00:28:49 +01:00
|
|
|
{
|
2000-08-08 03:50:42 +02:00
|
|
|
return top->statement()->emit_proc(this);
|
1998-11-04 00:28:49 +01:00
|
|
|
}
|
|
|
|
|
|
2008-07-31 03:01:41 +02:00
|
|
|
bool target_t::proc_assign(const NetAssign*)
|
1998-11-04 00:28:49 +01:00
|
|
|
{
|
1999-07-17 05:39:11 +02:00
|
|
|
cerr << "target (" << typeid(*this).name() << "): "
|
|
|
|
|
"Unhandled procedural assignment." << endl;
|
2008-07-31 03:01:41 +02:00
|
|
|
return false;
|
1998-11-04 00:28:49 +01:00
|
|
|
}
|
|
|
|
|
|
2000-08-08 03:50:42 +02:00
|
|
|
void target_t::proc_assign_nb(const NetAssignNB*)
|
1999-06-06 22:45:38 +02:00
|
|
|
{
|
|
|
|
|
cerr << "target (" << typeid(*this).name() << "): "
|
|
|
|
|
"Unhandled non-blocking assignment." << endl;
|
|
|
|
|
}
|
|
|
|
|
|
2000-08-08 03:50:42 +02:00
|
|
|
bool target_t::proc_block(const NetBlock*)
|
1998-11-04 00:28:49 +01:00
|
|
|
{
|
1999-07-03 04:12:51 +02:00
|
|
|
cerr << "target (" << typeid(*this).name() << "): "
|
|
|
|
|
"Unhandled proc_block." << endl;
|
1999-09-22 18:57:23 +02:00
|
|
|
return false;
|
1998-11-04 00:28:49 +01:00
|
|
|
}
|
|
|
|
|
|
2000-08-08 03:50:42 +02:00
|
|
|
void target_t::proc_case(const NetCase*cur)
|
1999-02-08 03:49:56 +01:00
|
|
|
{
|
|
|
|
|
cerr << "target (" << typeid(*this).name() << "): "
|
|
|
|
|
"Unhandled case:" << endl;
|
|
|
|
|
cur->dump(cerr, 6);
|
|
|
|
|
}
|
|
|
|
|
|
2000-08-08 03:50:42 +02:00
|
|
|
bool target_t::proc_cassign(const NetCAssign*dev)
|
2000-05-12 01:37:26 +02:00
|
|
|
{
|
2001-06-27 20:34:43 +02:00
|
|
|
cerr << "target (" << typeid(*this).name() << "): ";
|
2007-12-20 18:31:01 +01:00
|
|
|
cerr << dev->get_fileline();
|
2003-01-30 17:23:07 +01:00
|
|
|
cerr << ": Target does not support procedural continuous assignment." << endl;
|
2000-05-12 01:37:26 +02:00
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
|
2002-01-19 20:02:08 +01:00
|
|
|
bool target_t::proc_condit(const NetCondit*condit)
|
1998-11-07 18:05:05 +01:00
|
|
|
{
|
|
|
|
|
cerr << "target (" << typeid(*this).name() << "): "
|
|
|
|
|
"Unhandled conditional:" << endl;
|
|
|
|
|
condit->dump(cerr, 6);
|
2002-01-19 20:02:08 +01:00
|
|
|
return false;
|
1998-11-07 18:05:05 +01:00
|
|
|
}
|
|
|
|
|
|
2000-08-08 03:50:42 +02:00
|
|
|
bool target_t::proc_deassign(const NetDeassign*dev)
|
2000-05-12 01:37:26 +02:00
|
|
|
{
|
2007-12-20 18:31:01 +01:00
|
|
|
cerr << dev->get_fileline() << ": internal error: "
|
2000-05-12 01:37:26 +02:00
|
|
|
<< "target (" << typeid(*this).name() << "): "
|
|
|
|
|
<< "Unhandled proc_deassign." << endl;
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
|
2000-08-08 03:50:42 +02:00
|
|
|
bool target_t::proc_delay(const NetPDelay*)
|
1998-11-04 00:28:49 +01:00
|
|
|
{
|
|
|
|
|
cerr << "target (" << typeid(*this).name() << "): "
|
|
|
|
|
"Unhandled proc_delay." << endl;
|
2000-07-29 18:21:08 +02:00
|
|
|
return false;
|
1998-11-04 00:28:49 +01:00
|
|
|
}
|
|
|
|
|
|
2000-08-08 03:50:42 +02:00
|
|
|
bool target_t::proc_disable(const NetDisable*obj)
|
2000-07-27 07:13:44 +02:00
|
|
|
{
|
2007-12-20 18:31:01 +01:00
|
|
|
cerr << obj->get_fileline() << ": internal error: "
|
2000-07-27 07:13:44 +02:00
|
|
|
<< "target (" << typeid(*this).name() << "): "
|
|
|
|
|
<< "does not support disable statements." << endl;
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
|
2000-08-08 03:50:42 +02:00
|
|
|
bool target_t::proc_force(const NetForce*dev)
|
2000-04-22 06:20:19 +02:00
|
|
|
{
|
|
|
|
|
cerr << "target (" << typeid(*this).name() << "): "
|
|
|
|
|
"Unhandled proc_force." << endl;
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
|
2000-08-08 03:50:42 +02:00
|
|
|
void target_t::proc_forever(const NetForever*)
|
1999-06-19 23:06:16 +02:00
|
|
|
{
|
|
|
|
|
cerr << "target (" << typeid(*this).name() << "): "
|
|
|
|
|
"Unhandled proc_forever." << endl;
|
|
|
|
|
}
|
|
|
|
|
|
2000-08-08 03:50:42 +02:00
|
|
|
bool target_t::proc_release(const NetRelease*dev)
|
2000-04-23 05:45:24 +02:00
|
|
|
{
|
2007-12-20 18:31:01 +01:00
|
|
|
cerr << dev->get_fileline() << ": internal error: "
|
2000-04-23 05:45:24 +02:00
|
|
|
<< "target (" << typeid(*this).name() << "): "
|
2000-05-12 01:37:26 +02:00
|
|
|
<< "Unhandled proc_release." << endl;
|
2000-04-23 05:45:24 +02:00
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
|
2000-08-08 03:50:42 +02:00
|
|
|
void target_t::proc_repeat(const NetRepeat*)
|
1999-06-19 23:06:16 +02:00
|
|
|
{
|
|
|
|
|
cerr << "target (" << typeid(*this).name() << "): "
|
|
|
|
|
"Unhandled proc_repeat." << endl;
|
|
|
|
|
}
|
|
|
|
|
|
2000-08-08 03:50:42 +02:00
|
|
|
bool target_t::proc_trigger(const NetEvTrig*tr)
|
2000-04-04 05:20:15 +02:00
|
|
|
{
|
2007-12-20 18:31:01 +01:00
|
|
|
cerr << tr->get_fileline() << ": error: target (" << typeid(*this).name()
|
2000-04-04 05:20:15 +02:00
|
|
|
<< "): Unhandled event trigger." << endl;
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
|
2000-08-08 03:50:42 +02:00
|
|
|
void target_t::proc_stask(const NetSTask*)
|
1998-11-04 00:28:49 +01:00
|
|
|
{
|
1999-07-03 04:12:51 +02:00
|
|
|
cerr << "target (" << typeid(*this).name() << "): "
|
|
|
|
|
"Unhandled proc_stask." << endl;
|
|
|
|
|
}
|
|
|
|
|
|
2000-08-08 03:50:42 +02:00
|
|
|
void target_t::proc_utask(const NetUTask*)
|
1999-07-03 04:12:51 +02:00
|
|
|
{
|
|
|
|
|
cerr << "target (" << typeid(*this).name() << "): "
|
|
|
|
|
"Unhandled proc_utask." << endl;
|
1998-11-04 00:28:49 +01:00
|
|
|
}
|
|
|
|
|
|
2000-08-08 03:50:42 +02:00
|
|
|
bool target_t::proc_wait(const NetEvWait*tr)
|
2000-04-04 05:20:15 +02:00
|
|
|
{
|
2007-12-20 18:31:01 +01:00
|
|
|
cerr << tr->get_fileline() << ": error: target (" << typeid(*this).name()
|
2000-04-04 05:20:15 +02:00
|
|
|
<< "): Unhandled event wait." << endl;
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
|
2000-08-08 03:50:42 +02:00
|
|
|
void target_t::proc_while(const NetWhile*net)
|
1998-11-09 19:55:33 +01:00
|
|
|
{
|
|
|
|
|
cerr << "target (" << typeid(*this).name() << "): "
|
|
|
|
|
"Unhandled while:" << endl;
|
|
|
|
|
net->dump(cerr, 6);
|
|
|
|
|
}
|
|
|
|
|
|
2001-03-27 05:31:06 +02:00
|
|
|
int target_t::end_design(const Design*)
|
1998-11-04 00:28:49 +01:00
|
|
|
{
|
2001-03-27 05:31:06 +02:00
|
|
|
return 0;
|
1998-11-04 00:28:49 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
expr_scan_t::~expr_scan_t()
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
2008-07-31 03:01:41 +02:00
|
|
|
void expr_scan_t::expr_access_func(const NetEAccess*)
|
|
|
|
|
{
|
|
|
|
|
cerr << "expr_scan_t (" << typeid(*this).name() << "): "
|
|
|
|
|
"unhandled expr_access_func." << endl;
|
|
|
|
|
}
|
|
|
|
|
|
1998-11-04 00:28:49 +01:00
|
|
|
void expr_scan_t::expr_const(const NetEConst*)
|
|
|
|
|
{
|
|
|
|
|
cerr << "expr_scan_t (" << typeid(*this).name() << "): "
|
|
|
|
|
"unhandled expr_const." << endl;
|
|
|
|
|
}
|
|
|
|
|
|
2003-03-11 00:40:53 +01:00
|
|
|
void expr_scan_t::expr_param(const NetEConstParam*that)
|
|
|
|
|
{
|
|
|
|
|
expr_const(that);
|
|
|
|
|
}
|
|
|
|
|
|
2003-01-26 22:15:58 +01:00
|
|
|
void expr_scan_t::expr_creal(const NetECReal*)
|
|
|
|
|
{
|
|
|
|
|
cerr << "expr_scan_t (" << typeid(*this).name() << "): "
|
|
|
|
|
"unhandled expr_creal." << endl;
|
|
|
|
|
}
|
|
|
|
|
|
2003-05-30 04:55:32 +02:00
|
|
|
void expr_scan_t::expr_rparam(const NetECRealParam*that)
|
|
|
|
|
{
|
|
|
|
|
expr_creal(that);
|
|
|
|
|
}
|
|
|
|
|
|
1999-06-09 05:00:05 +02:00
|
|
|
void expr_scan_t::expr_concat(const NetEConcat*that)
|
1998-11-04 00:28:49 +01:00
|
|
|
{
|
2007-12-20 18:31:01 +01:00
|
|
|
cerr << that->get_fileline() << ": expr_scan_t (" <<
|
1999-06-09 05:00:05 +02:00
|
|
|
typeid(*this).name() << "): unhandled expr_concat." << endl;
|
|
|
|
|
}
|
2003-04-22 06:48:29 +02:00
|
|
|
void expr_scan_t::expr_event(const NetEEvent*)
|
|
|
|
|
{
|
|
|
|
|
cerr << "expr_scan_t (" << typeid(*this).name() << "): "
|
|
|
|
|
"unhandled expr_event." << endl;
|
|
|
|
|
}
|
|
|
|
|
|
1999-11-27 20:07:57 +01:00
|
|
|
void expr_scan_t::expr_scope(const NetEScope*)
|
|
|
|
|
{
|
|
|
|
|
cerr << "expr_scan_t (" << typeid(*this).name() << "): "
|
|
|
|
|
"unhandled expr_scope." << endl;
|
|
|
|
|
}
|
|
|
|
|
|
2002-01-28 01:52:41 +01:00
|
|
|
void expr_scan_t::expr_select(const NetESelect*)
|
|
|
|
|
{
|
|
|
|
|
cerr << "expr_scan_t (" << typeid(*this).name() << "): "
|
|
|
|
|
"unhandled expr_select." << endl;
|
|
|
|
|
}
|
|
|
|
|
|
2000-05-04 05:37:58 +02:00
|
|
|
void expr_scan_t::expr_sfunc(const NetESFunc*)
|
|
|
|
|
{
|
|
|
|
|
cerr << "expr_scan_t (" << typeid(*this).name() << "): "
|
|
|
|
|
"unhandled expr_sfunc." << endl;
|
|
|
|
|
}
|
|
|
|
|
|
1998-11-07 18:05:05 +01:00
|
|
|
void expr_scan_t::expr_signal(const NetESignal*)
|
|
|
|
|
{
|
|
|
|
|
cerr << "expr_scan_t (" << typeid(*this).name() << "): "
|
|
|
|
|
"unhandled expr_signal." << endl;
|
|
|
|
|
}
|
|
|
|
|
|
1999-07-17 21:50:59 +02:00
|
|
|
void expr_scan_t::expr_ternary(const NetETernary*)
|
|
|
|
|
{
|
|
|
|
|
cerr << "expr_scan_t (" << typeid(*this).name() << "): "
|
|
|
|
|
"unhandled expr_ternary." << endl;
|
|
|
|
|
}
|
|
|
|
|
|
1999-09-01 00:38:29 +02:00
|
|
|
void expr_scan_t::expr_ufunc(const NetEUFunc*)
|
|
|
|
|
{
|
|
|
|
|
cerr << "expr_scan_t (" << typeid(*this).name() << "): "
|
|
|
|
|
"unhandled function call." << endl;
|
|
|
|
|
}
|
|
|
|
|
|
1998-11-04 00:28:49 +01:00
|
|
|
void expr_scan_t::expr_unary(const NetEUnary*)
|
|
|
|
|
{
|
|
|
|
|
cerr << "expr_scan_t (" << typeid(*this).name() << "): "
|
|
|
|
|
"unhandled expr_unary." << endl;
|
|
|
|
|
}
|
|
|
|
|
|
1998-11-07 18:05:05 +01:00
|
|
|
void expr_scan_t::expr_binary(const NetEBinary*ex)
|
|
|
|
|
{
|
|
|
|
|
cerr << "expr_scan_t (" << typeid(*this).name() << "): "
|
|
|
|
|
"unhandled expr_binary: " <<*ex << endl;
|
|
|
|
|
}
|