verilator/test_regress/t/t_vpi_finish_c.cpp

27 lines
815 B
C++
Raw Normal View History

2020-05-16 22:02:54 +00:00
// -*- mode: C++; c-file-style: "cc-mode" -*-
//*************************************************************************
//
// Copyright 2009-2009 by Wilson Snyder. This program is free software; you can
// redistribute it and/or modify it under the terms of either the GNU
// Lesser General Public License Version 3 or the Perl Artistic License
// Version 2.0.
// SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
//
//*************************************************************************
#include "svdpi.h"
#include "vpi_user.h"
#include <cstdio>
#include <cstring>
2020-05-16 22:02:54 +00:00
//======================================================================
extern "C" {
2020-10-28 00:03:17 +00:00
extern void dpii_test();
2020-05-16 22:02:54 +00:00
}
//======================================================================
2020-10-28 00:03:17 +00:00
void dpii_test() { vpi_control(vpiFinish); }