2012-04-13 03:08:20 +02:00
|
|
|
// -*- mode: C++; c-file-style: "cc-mode" -*-
|
2010-01-29 01:33:02 +01:00
|
|
|
//*************************************************************************
|
|
|
|
|
//
|
2026-01-27 02:24:34 +01:00
|
|
|
// 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: 2010-2011 Wilson Snyder
|
2020-03-21 16:24:24 +01:00
|
|
|
// SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
|
2010-01-29 01:33:02 +01:00
|
|
|
//
|
|
|
|
|
//*************************************************************************
|
|
|
|
|
|
2010-04-10 12:46:24 +02:00
|
|
|
#include "svdpi.h"
|
2010-01-29 01:33:02 +01:00
|
|
|
|
2022-08-05 11:56:57 +02:00
|
|
|
#include <cstdio>
|
|
|
|
|
|
2010-01-29 01:33:02 +01:00
|
|
|
//======================================================================
|
|
|
|
|
|
2020-10-28 23:42:36 +01:00
|
|
|
// clang-format off
|
2010-01-29 01:33:02 +01:00
|
|
|
#if defined(VERILATOR)
|
|
|
|
|
# include "Vt_flag_ldflags__Dpi.h"
|
|
|
|
|
#else
|
|
|
|
|
# error "Unknown simulator for DPI test"
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
//======================================================================
|
|
|
|
|
|
|
|
|
|
#ifndef CFLAGS_FROM_CMDLINE
|
|
|
|
|
# error "CFLAGS_FROM_CMDLINE not set - not passed down?"
|
|
|
|
|
#endif
|
|
|
|
|
#ifndef CFLAGS2_FROM_CMDLINE
|
|
|
|
|
# error "CFLAGS2_FROM_CMDLINE not set - not passed down?"
|
|
|
|
|
#endif
|
2020-10-28 23:42:36 +01:00
|
|
|
// clang-format on
|
2010-01-29 01:33:02 +01:00
|
|
|
|
|
|
|
|
void dpii_c_library() {}
|