RTL-Openenv / tasks /task1 /sim_build /Vtop__Dpi.cpp
NeerjaK's picture
Upload folder using huggingface_hub
adceaef verified
Raw History Blame Contribute Delete
669 Bytes
// 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 Vtop::{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 "Vtop__Dpi.h"
#include "Vtop.h"