2012-08-16 19:48:23 +02:00
|
|
|
/*
|
2020-12-04 00:55:22 +01:00
|
|
|
* Copyright (c) 2002-2020 Michael Ruff (mruff at chiaro.com)
|
2002-06-02 20:54:59 +02: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
|
2012-08-29 03:41:23 +02:00
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
2002-06-02 20:54:59 +02:00
|
|
|
*/
|
|
|
|
|
|
2002-06-03 23:52:59 +02:00
|
|
|
#include <veriuser.h>
|
2002-06-02 20:54:59 +02:00
|
|
|
#include <vpi_user.h>
|
2020-12-04 00:55:22 +01:00
|
|
|
#include "priv.h"
|
2002-06-02 20:54:59 +02:00
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* tf_getinstance implemented using VPI interface
|
|
|
|
|
*/
|
2003-05-18 02:16:35 +02:00
|
|
|
PLI_BYTE8* tf_getinstance(void)
|
2002-06-02 20:54:59 +02:00
|
|
|
{
|
2020-12-04 00:55:22 +01:00
|
|
|
return (PLI_BYTE8 *)cur_instance;
|
2002-06-02 20:54:59 +02:00
|
|
|
}
|