3D-ICE 3.0.0
floorplan_matrix.h
Go to the documentation of this file.
1/******************************************************************************
2 * This file is part of 3D-ICE, version 3.1.0 . *
3 * *
4 * 3D-ICE is free software: you can redistribute it and/or modify it under *
5 * the terms of the GNU General Public License as published by the Free *
6 * Software Foundation, either version 3 of the License, or any later *
7 * version. *
8 * *
9 * 3D-ICE is distributed in the hope that it will be useful, but WITHOUT *
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or *
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for *
12 * more details. *
13 * *
14 * You should have received a copy of the GNU General Public License along *
15 * with 3D-ICE. If not, see <http://www.gnu.org/licenses/>. *
16 * *
17 * Copyright (C) 2021 *
18 * Embedded Systems Laboratory - Ecole Polytechnique Federale de Lausanne *
19 * All Rights Reserved. *
20 * *
21 * Authors: Arvind Sridhar Alessandro Vincenzi *
22 * Giseong Bak Martino Ruggiero *
23 * Thomas Brunschwiler Eder Zulian *
24 * Federico Terraneo Darong Huang *
25 * Luis Costero Marina Zapater *
26 * David Atienza *
27 * *
28 * For any comment, suggestion or request about 3D-ICE, please register and *
29 * write to the mailing list (see http://listes.epfl.ch/doc.cgi?liste=3d-ice) *
30 * Any usage of 3D-ICE for research, commercial or other purposes must be *
31 * properly acknowledged in the resulting products or publications. *
32 * *
33 * EPFL-STI-IEL-ESL Mail : 3d-ice@listes.epfl.ch *
34 * Batiment ELG, ELG 130 (SUBSCRIPTION IS NECESSARY) *
35 * Station 11 *
36 * 1015 Lausanne, Switzerland Url : http://esl.epfl.ch/3d-ice *
37 ******************************************************************************/
38
39#ifndef _3DICE_FLOORPLAN_MATRIX_
40#define _3DICE_FLOORPLAN_MATRIX_
41
44#ifdef __cplusplus
45extern "C"
46{
47#endif
48
49/******************************************************************************/
50
51#include "types.h"
52#include "string_t.h"
53
54#include "floorplan_element_list.h"
55#include "dimensions.h"
56
57/******************************************************************************/
58
69 {
70
76
81
85
89
93
97 } ;
98
102
103
104
105/******************************************************************************/
106
107
108
114 void floorplan_matrix_init (FloorplanMatrix_t *flpmatrix) ;
115
116
117
127
129
130
131
144 (
145 FloorplanMatrix_t *flpmatrix,
146 CellIndex_t nrows,
147 CellIndex_t ncolumns,
148 CellIndex_t nnz
149 ) ;
150
151
152
162
163
164
176 (
177 FloorplanMatrix_t *flpmatrix,
178 FloorplanElementList_t *list,
179 Dimensions_t *dimensions
180 ) ;
181
182
183
197
198 (FloorplanMatrix_t *flpmatrix, Source_t *x, Source_t *b) ;
199
200
201
213
214 (FloorplanMatrix_t flpmatrix, String_t file_name) ;
215
216/******************************************************************************/
217
218#ifdef __cplusplus
219}
220#endif
221
222#endif /* _3DICE_FLOORPLAN_MATRIX_ */
void floorplan_matrix_copy(FloorplanMatrix_t *dst, FloorplanMatrix_t *src)
void floorplan_matrix_init(FloorplanMatrix_t *flpmatrix)
Error_t floorplan_matrix_build(FloorplanMatrix_t *flpmatrix, CellIndex_t nrows, CellIndex_t ncolumns, CellIndex_t nnz)
void floorplan_matrix_fill(FloorplanMatrix_t *flpmatrix, FloorplanElementList_t *list, Dimensions_t *dimensions)
void floorplan_matrix_print(FloorplanMatrix_t flpmatrix, String_t file_name)
void floorplan_matrix_multiply(FloorplanMatrix_t *flpmatrix, Source_t *x, Source_t *b)
void floorplan_matrix_destroy(FloorplanMatrix_t *flpmatrix)
char * String_t
Definition: string_t.h:55
Collections of all the structures that are needed for the thermal simulation.
Definition: dimensions.h:311
Structure representing the matrix storing the coefficients of the floorplans tha scales power values ...
CellIndex_t * ColumnPointers
CellIndex_t * RowIndices
CellIndex_t NColumns
Error_t
Definition: types.h:401
double Source_t
Definition: types.h:77
uint32_t CellIndex_t
Definition: types.h:213