verilator/test_regress/t/t_extend_class_c.h
Wilson Snyder b5b1d94d4a Copyright date update
git-svn-id: file://localhost/svn/verilator/trunk/verilator@864 77ca24e4-aefa-0310-84f0-b9a241c72d87
2007-01-02 22:06:40 +00:00

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;
}
};