mirror of
https://github.com/verilator/verilator.git
synced 2025-01-08 23:57:35 +00:00
b5b1d94d4a
git-svn-id: file://localhost/svn/verilator/trunk/verilator@864 77ca24e4-aefa-0310-84f0-b9a241c72d87
18 lines
443 B
C++
18 lines
443 B
C++
// $Id$ -*- 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 uint32_t my_math(uint32_t in) {
|
|
return in+1;
|
|
}
|
|
};
|