/* * Copyright (C) 2018 ETH Zurich and 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_PULPISSIMO_PROPERTIES_H__ #define __ARCHI_PULPISSIMO_PROPERTIES_H__ /* * FPGA */ #ifndef ARCHI_FPGA_PER_FREQUENCY #define ARCHI_FPGA_PER_FREQUENCY 5000000 #endif #ifndef ARCHI_FPGA_SOC_FREQUENCY #define ARCHI_FPGA_SOC_FREQUENCY 5000000 #endif /* * MEMORIES */ #define ARCHI_HAS_L2 1 #define ARCHI_HAS_L2_MULTI 1 #define ARCHI_L2_PRIV0_ADDR 0x1c000000 #define ARCHI_L2_PRIV0_SIZE 0x00008000 #define ARCHI_L2_PRIV1_ADDR 0x1c008000 #define ARCHI_L2_PRIV1_SIZE 0x00008000 #define ARCHI_L2_SHARED_ADDR 0x1c010000 #define ARCHI_L2_SHARED_SIZE 0x00070000 /* * MEMORY ALIAS */ #define ARCHI_HAS_L2_ALIAS 1 /* * IP VERSIONS */ #define UDMA_VERSION 3 #define PERIPH_VERSION 2 #define TIMER_VERSION 2 #define SOC_EU_VERSION 2 #define APB_SOC_VERSION 3 #define STDOUT_VERSION 2 #define GPIO_VERSION 2 #define ITC_VERSION 1 #define FLL_VERSION 1 #define RISCV_VERSION 4 #define HWME_VERSION 1 #define PADS_VERSION 2 /* * CORE IDS */ #define ARCHI_FC_CID 31 #define ARCHI_HAS_FC_ITC 1 #define ARCHI_HAS_FC 1 #define ARCHI_CORE_HAS_1_10 1 /* * CLOCKS */ #define ARCHI_REF_CLOCK_LOG2 15 #define ARCHI_REF_CLOCK (1<