verilator/test_regress/t/t_vpi_stop_bad_c.cpp

27 lines
823 B
C++
Raw Normal View History

2020-05-17 00:02:54 +02:00
// -*- mode: C++; c-file-style: "cc-mode" -*-
//*************************************************************************
//
// 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-FileCopyrightText: 2009-2009 Wilson Snyder
2020-05-17 00:02:54 +02:00
// SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
//
//*************************************************************************
#include "svdpi.h"
#include "vpi_user.h"
#include <cstdio>
#include <cstring>
2020-05-17 00:02:54 +02:00
//======================================================================
extern "C" {
2020-10-28 01:03:17 +01:00
extern void dpii_test();
2020-05-17 00:02:54 +02:00
}
//======================================================================
2020-10-28 01:03:17 +01:00
void dpii_test() { vpi_control(vpiStop); }