OpenCores
URL https://opencores.org/ocsvn/complexarithmetic/complexarithmetic/trunk

Subversion Repositories complexarithmetic

[/] [complexarithmetic/] [trunk/] [complex1.sc.h] - Blame information for rev 4

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 4 tamero
//-----------------------------------------------------------------------------
2
//
3
// Title       : cell1
4
// Design      : den
5
// Author      : Ozgur
6
// Company     : DEÜ
7
//
8
//-----------------------------------------------------------------------------
9
//
10
// File        : complex1.sc.h
11
// Generated   : 13:49:50 28 Nisan 2009 Salý
12
// From        : SystemC Source Wizard
13
// By          : SystemC Source Wizard ver. 1.0
14
//
15
//-----------------------------------------------------------------------------
16
//
17
// Description : 
18
//
19
//-----------------------------------------------------------------------------
20
 
21
#ifndef __complex1.sc_h__
22
#define __complex1.sc_h__
23
 
24
#include <systemc.h>
25
#include "cplxopsphasor.sc.h"
26
 
27
SC_MODULE( cell1 )
28
{
29
 
30
        sc_in< sc_logic > clk;
31
        sc_in< sc_uint< 8 > > in1_re;
32
        sc_in< sc_uint< 8 > > in2_re;
33
        sc_out< sc_uint< 16 > > out_re;
34
        sc_in< sc_uint< 8 > > in1_im;
35
        sc_in< sc_uint< 8 > > in2_im;
36
        sc_out< sc_uint< 16 > > out_im;
37
 
38
        void cell();
39
        SC_CTOR( cell1 ):
40
                clk("clk"),
41
                in1_re("in1_re"),
42
                in2_re("in2_re"),
43
                out_re("out_re"),
44
                in1_im("in1_im"),
45
                in2_im("in2_im"),
46
                out_im("out_im")
47
        {
48
        SC_METHOD(cell)
49
        sensitive(clk);
50
        }
51
 
52
        ~cell1()
53
        {
54
 
55
        }
56
 
57
};
58
 
59
SC_MODULE_EXPORT( cell1 )
60
 
61
#endif //__complex1.sc_h__
62
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.