Mahmoud Bazzal | 091c21b | 2019-09-26 15:49:21 +0200 | [diff] [blame] | 1 | /******************************************************************************* |
| 2 | * Copyright (c) 2019 Dortmund University of Applied Sciences and Arts and others. |
| 3 | * |
| 4 | * This program and the accompanying materials are made |
| 5 | * available under the terms of the Eclipse Public License 2.0 |
| 6 | * which is available at https://www.eclipse.org/legal/epl-2.0/ |
| 7 | * |
| 8 | * SPDX-License-Identifier: EPL-2.0 |
| 9 | * |
| 10 | * Contributors: |
| 11 | * Dortmund University of Applied Sciences and Arts - initial API and implementation |
| 12 | *******************************************************************************/ |
| 13 | |
| 14 | #ifndef SRC_PARALLELLA_LABEL_MAN_CORE0_H_ |
| 15 | #define SRC_PARALLELLA_LABEL_MAN_CORE0_H_ |
| 16 | |
Anand Prakash | f364467 | 2020-08-21 15:11:08 +0200 | [diff] [blame] | 17 | /** |
| 18 | * @file label_man_core0.h |
| 19 | * @author Mahmoud Bazzal, Anand Prakash |
| 20 | * @date 24 May 2020 |
| 21 | * @brief This file is used to define the functions for implementing the cIn and cOut handler and |
| 22 | * reading and writing of shared and distributed labels and signals. |
| 23 | * |
| 24 | */ |
Mahmoud Bazzal | 091c21b | 2019-09-26 15:49:21 +0200 | [diff] [blame] | 25 | |
| 26 | #define num_unique_sections 1 |
| 27 | |
| 28 | void init_mem_sections(void); |
| 29 | |
| 30 | void init_DSHM_sections(void); |
| 31 | |
| 32 | //declare cIn/Out operations |
| 33 | //to be set up from the amalthea model during |
| 34 | //code generation |
| 35 | void cIn5ms(); |
| 36 | void cIn10ms(); |
| 37 | void cIn20ms(); |
| 38 | void cIn10msCore2(); |
| 39 | void cIn20msCore2(); |
| 40 | //------- |
| 41 | void cOut5ms(); |
| 42 | void cOut10ms(); |
| 43 | void cOut20ms(); |
| 44 | void cOut10msCore2(); |
| 45 | void cOut20msCore2(); |
| 46 | |
| 47 | |
| 48 | |
| 49 | |
| 50 | |
| 51 | |
| 52 | #endif /* SRC_PARALLELLA_LABEL_MAN_CORE0_H_ */ |