17 lines
672 B
C++
17 lines
672 B
C++
|
|
// Verilated -*- C++ -*-
|
||
|
|
// DESCRIPTION: Verilator output: Implementation of DPI export functions.
|
||
|
|
//
|
||
|
|
// Verilator compiles this file in when DPI functions are used.
|
||
|
|
// If you have multiple Verilated designs with the same DPI exported
|
||
|
|
// function names, you will get multiple definition link errors from here.
|
||
|
|
// This is an unfortunate result of the DPI specification.
|
||
|
|
// To solve this, either
|
||
|
|
// 1. Call Vmain::{export_function} instead,
|
||
|
|
// and do not even bother to compile this file
|
||
|
|
// or 2. Compile all __Dpi.cpp files in the same compiler run,
|
||
|
|
// and #ifdefs already inserted here will sort everything out.
|
||
|
|
|
||
|
|
#include "Vmain__Dpi.h"
|
||
|
|
#include "Vmain.h"
|
||
|
|
|