mirror of
https://github.com/verilator/verilator.git
synced 2025-01-09 16:17:36 +00:00
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-2006 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;
|
||
|
}
|
||
|
};
|