mirror of
https://github.com/verilator/verilator.git
synced 2025-01-19 12:54:02 +00:00
Internals: enum size doesn't apply to non-SystemPerl
This commit is contained in:
parent
8dca56521b
commit
2fd5a6d47f
@ -84,12 +84,6 @@ protected:
|
||||
void VerilatedVcd::open (const char* filename) {
|
||||
if (isOpen()) return;
|
||||
|
||||
// Assertions, as we cast enum to vluint32_t pointers in AutoTrace.pm
|
||||
enum VerilatedVcd_enumtest { FOO = 1 };
|
||||
if (sizeof(VerilatedVcd_enumtest) != sizeof(vluint32_t)) {
|
||||
vl_fatal(__FILE__,__LINE__,"", "Internal: VerilatedVcd::open cast assumption violated");
|
||||
}
|
||||
|
||||
// Set member variables
|
||||
m_filename = filename;
|
||||
s_vcdVecp.push_back(this);
|
||||
|
Loading…
Reference in New Issue
Block a user