mirror of
https://github.com/verilator/verilator.git
synced 2025-01-09 16:17:36 +00:00
18 lines
442 B
C++
18 lines
442 B
C++
// -*- C++ -*-
|
|
// DESCRIPTION: Verilator: Verilog Test module
|
|
//
|
|
// This file ONLY is placed into the Public Domain, for any use,
|
|
// without warranty, 2006-2007 by Wilson Snyder.
|
|
|
|
class t_extend_class_c {
|
|
public:
|
|
// CONSTRUCTORS
|
|
t_extend_class_c() {}
|
|
~t_extend_class_c() {}
|
|
// METHODS
|
|
// This function will be called from a instance created in Verilog
|
|
inline vluint32_t my_math(vluint32_t in) {
|
|
return in+1;
|
|
}
|
|
};
|