PIPS
freia_sigmac.h
Go to the documentation of this file.
1
/*
2
3
$Id: freia_sigmac.h 23065 2016-03-02 09:05:50Z coelho $
4
5
Copyright 1989-2016 MINES ParisTech
6
7
This file is part of PIPS.
8
9
PIPS is free software: you can redistribute it and/or modify it
10
under the terms of the GNU General Public License as published by
11
the Free Software Foundation, either version 3 of the License, or
12
any later version.
13
14
PIPS is distributed in the hope that it will be useful, but WITHOUT ANY
15
WARRANTY; without even the implied warranty of MERCHANTABILITY or
16
FITNESS FOR A PARTICULAR PURPOSE.
17
18
See the GNU General Public License for more details.
19
20
You should have received a copy of the GNU General Public License
21
along with PIPS. If not, see <http://www.gnu.org/licenses/>.
22
23
*/
24
25
/*
26
* data structures that describe FREIA SigmaC target.
27
*/
28
29
#ifndef HWAC_FREIA_SIGMAC_H_
30
# define HWAC_FREIA_SIGMAC_H_
31
32
#define FREIA_SIGMAC_SC_INCLUDES \
33
"/* C INCLUDES */\n"
\
34
"#include <stdio.h>\n" \
35
"\n" \
36
"/* SIGMA-C INCLUDES */\n" \
37
"#include \"sigmacAgents.h\"\n" \
38
"\n" \
39
"\n"
40
41
#define FREIA_SIGMAC_INCLUDES \
42
"/* SIGMAC C includes */\n"
\
43
"#include <freia.h>\n" \
44
"\n"
45
//"#include <freia_sigmac_runtime.h>\n"
46
47
48
typedef
struct
{
49
//name of the agent as defined in the .sc files
50
string
agent_name
;
51
//prefix shared by all the instances of this agent in order to manipulate its instances
52
string
inst_prefix
;
53
//generic agent arguments
54
string
agent_arg
;
55
bool
mergeable
;
56
int
weight
;
57
58
}
sigmac_hw_t
;
59
60
#define PIXEL_T "int16_t"
61
#define PARAM_T "int32_t"
62
63
64
#endif
/* !HWAC_FREIA_SIGMAC_H_ */
sigmac_hw_t
Definition:
freia_sigmac.h:48
sigmac_hw_t::agent_arg
string agent_arg
Definition:
freia_sigmac.h:54
sigmac_hw_t::inst_prefix
string inst_prefix
Definition:
freia_sigmac.h:52
sigmac_hw_t::agent_name
string agent_name
Definition:
freia_sigmac.h:50
sigmac_hw_t::weight
int weight
Definition:
freia_sigmac.h:56
sigmac_hw_t::mergeable
bool mergeable
Definition:
freia_sigmac.h:55
pips
src
Libs
hwac
freia_sigmac.h
Generated on Thu Sep 26 2024 22:11:39 for PIPS by
1.9.1