Commentary (#2577)
This commit is contained in:
parent
f8ab30d127
commit
5033c906fd
|
|
@ -22,6 +22,15 @@
|
||||||
#include "verilatedos.h"
|
#include "verilatedos.h"
|
||||||
#include "verilated.h" // for VerilatedMutex and clang annotations
|
#include "verilated.h" // for VerilatedMutex and clang annotations
|
||||||
|
|
||||||
|
#ifndef VL_THREADED
|
||||||
|
// Hitting this likely means verilated_threads.cpp is being compiled when
|
||||||
|
// 'verilator --threads' was not used. 'verilator --threads' sets
|
||||||
|
// VL_THREADED.
|
||||||
|
// Alternatively it is always safe but may harm performance to always
|
||||||
|
// define VL_THREADED for all compiles.
|
||||||
|
# error "verilated_threads.h/cpp expected VL_THREADED (from verilator --threads)"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <condition_variable>
|
#include <condition_variable>
|
||||||
#include <set>
|
#include <set>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue