mirror of
https://github.com/saymrwulf/pulp-runtime.git
synced 2026-11-18 08:54:44 +00:00
77 lines
1.9 KiB
C
77 lines
1.9 KiB
C
/*
|
|
* Copyright (C) 2023 ETH Zurich, University of Bologna
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
*/
|
|
|
|
|
|
#ifndef __ARCHI_CHIPS_CARFIELD_PROPERTIES_H__
|
|
#define __ARCHI_CHIPS_CARFIELD_PROPERTIES_H__
|
|
|
|
/*
|
|
* FPGA
|
|
*/
|
|
|
|
|
|
/*
|
|
* MEMORIES
|
|
*/
|
|
#define ARCHI_SAFETY_ISLAND_BASE_ADDR 0x00000000
|
|
#define ARCHI_SAFETY_ISLAND_PERIPH_OFFSET 0x00200000
|
|
#define ARCHI_SAFETY_ISLAND_MEM_OFFSET 0x00000000
|
|
|
|
#define ARCHI_HAS_L2 1
|
|
#define ARCHI_HAS_L2_MULTI 1
|
|
// #define ARCHI_HAS_L1 1
|
|
|
|
//#define ARCHI_LOCAL_PRIV0_ADDR ( ARCHI_SAFETY_ISLAND_BASE_ADDR + ARCHI_SAFETY_ISLAND_MEM_OFFSET )
|
|
//#define ARCHI_LOCAL_PRIV0_SIZE 0x00010000
|
|
|
|
//#define ARCHI_LOCAL_PRIV1_ADDR ( ARCHI_LOCAL_PRIV0_ADDR + ARCHI_LOCAL_PRIV0_SIZE )
|
|
//#define ARCHI_LOCAL_PRIV1_SIZE 0x00010000
|
|
|
|
// L2 alias
|
|
#define ARCHI_L2_PRIV0_ADDR ARCHI_LOCAL_PRIV0_ADDR
|
|
#define ARCHI_L2_PRIV0_SIZE ARCHI_LOCAL_PRIV0_SIZE
|
|
|
|
#define ARCHI_L2_PRIV1_ADDR ARCHI_LOCAL_PRIV1_ADDR
|
|
#define ARCHI_L2_PRIV1_SIZE ARCHI_LOCAL_PRIV1_SIZE
|
|
|
|
// Shared L2
|
|
#define ARCHI_L2_SHARED_ADDR 0
|
|
#define ARCHI_L2_SHARED_SIZE 0
|
|
|
|
/*
|
|
* MEMORY ALIAS
|
|
*/
|
|
|
|
#define ARCHI_HAS_L1_ALIAS 0
|
|
#define ARCHI_HAS_L2_ALIAS 0
|
|
|
|
/*
|
|
* IP VERSIONS
|
|
*/
|
|
#define RISCV_VERSION 5
|
|
#define HMR_VERSION 1
|
|
|
|
/*
|
|
* FC
|
|
*/
|
|
|
|
#define ARCHI_FC_CID 0
|
|
#define ARCHI_HAS_FC_ITC 1
|
|
#define ARCHI_HAS_FC 1
|
|
#define ARCHI_CORE_HAS_1_10 1
|
|
|
|
|
|
#endif
|