2012-04-13 01:08:20 +00:00
|
|
|
// -*- mode: C++; c-file-style: "cc-mode" -*-
|
|
|
|
//
|
2006-12-10 22:48:26 +00:00
|
|
|
// DESCRIPTION: Verilator: Verilog Test module
|
|
|
|
//
|
|
|
|
// This file ONLY is placed into the Public Domain, for any use,
|
2012-04-13 01:08:20 +00:00
|
|
|
// without warranty, 2006-2009 by Wilson Snyder.
|
2006-12-10 22:48:26 +00:00
|
|
|
|
|
|
|
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
|
2010-01-16 01:27:01 +00:00
|
|
|
inline vluint32_t my_math(vluint32_t in) {
|
2006-12-10 22:48:26 +00:00
|
|
|
return in+1;
|
|
|
|
}
|
|
|
|
};
|