mirror of
https://github.com/openhwgroup/cve2.git
synced 2025-06-28 09:39:26 -04:00
Update configurations
This commit is contained in:
parent
9ad5a733c8
commit
2644340037
16 changed files with 174 additions and 8 deletions
|
@ -62,6 +62,10 @@
|
||||||
// will enable clip, min and max operations support.
|
// will enable clip, min and max operations support.
|
||||||
`define MATH_SPECIAL_SUPPORT
|
`define MATH_SPECIAL_SUPPORT
|
||||||
|
|
||||||
|
// CONFIG: JUMP_IN_ID
|
||||||
|
// will enable direct jump in ID. Might increase critical path of jump target.
|
||||||
|
`define JUMP_IN_ID
|
||||||
|
|
||||||
// CONFIG: LSU_ADDER_SUPPORT
|
// CONFIG: LSU_ADDER_SUPPORT
|
||||||
// will enable an additional adder in the LSU for better timings.
|
// will enable an additional adder in the LSU for better timings.
|
||||||
`define LSU_ADDER_SUPPORT
|
`define LSU_ADDER_SUPPORT
|
||||||
|
|
|
@ -58,10 +58,6 @@
|
||||||
// will enable bit manipulation and counting support.
|
// will enable bit manipulation and counting support.
|
||||||
`define BIT_SUPPORT
|
`define BIT_SUPPORT
|
||||||
|
|
||||||
// CONFIG: MATH_SPECIAL_SUPPORT
|
|
||||||
// will enable clip, min and max operations support.
|
|
||||||
`define MATH_SPECIAL_SUPPORT
|
|
||||||
|
|
||||||
// CONFIG: LSU_ADDER_SUPPORT
|
// CONFIG: LSU_ADDER_SUPPORT
|
||||||
// will enable an additional adder in the LSU for better timings.
|
// will enable an additional adder in the LSU for better timings.
|
||||||
`define LSU_ADDER_SUPPORT
|
`define LSU_ADDER_SUPPORT
|
||||||
|
@ -74,6 +70,14 @@
|
||||||
|
|
||||||
`endif // LSU_ADDER_SUPPORT
|
`endif // LSU_ADDER_SUPPORT
|
||||||
|
|
||||||
|
// CONFIG: MATH_SPECIAL_SUPPORT
|
||||||
|
// will enable clip, min and max operations support.
|
||||||
|
`define MATH_SPECIAL_SUPPORT
|
||||||
|
|
||||||
|
// CONFIG: JUMP_IN_ID
|
||||||
|
// will enable direct jump in ID. Might increase critical path of jump target.
|
||||||
|
`define JUMP_IN_ID
|
||||||
|
|
||||||
|
|
||||||
// Dependent definitions
|
// Dependent definitions
|
||||||
|
|
||||||
|
|
|
@ -58,10 +58,6 @@
|
||||||
// will enable bit manipulation and counting support.
|
// will enable bit manipulation and counting support.
|
||||||
`define BIT_SUPPORT
|
`define BIT_SUPPORT
|
||||||
|
|
||||||
// CONFIG: MATH_SPECIAL_SUPPORT
|
|
||||||
// will enable clip, min and max operations support.
|
|
||||||
`define MATH_SPECIAL_SUPPORT
|
|
||||||
|
|
||||||
// CONFIG: JUMP_IN_ID_SUPPORT
|
// CONFIG: JUMP_IN_ID_SUPPORT
|
||||||
// will enable jump capability in ID stage.
|
// will enable jump capability in ID stage.
|
||||||
`define JUMP_IN_ID_SUPPORT
|
`define JUMP_IN_ID_SUPPORT
|
||||||
|
@ -78,6 +74,14 @@
|
||||||
|
|
||||||
`endif // LSU_ADDER_SUPPORT
|
`endif // LSU_ADDER_SUPPORT
|
||||||
|
|
||||||
|
// CONFIG: MATH_SPECIAL_SUPPORT
|
||||||
|
// will enable clip, min and max operations support.
|
||||||
|
`define MATH_SPECIAL_SUPPORT
|
||||||
|
|
||||||
|
// CONFIG: JUMP_IN_ID
|
||||||
|
// will enable direct jump in ID. Might increase critical path of jump target.
|
||||||
|
`define JUMP_IN_ID
|
||||||
|
|
||||||
|
|
||||||
// Dependent definitions
|
// Dependent definitions
|
||||||
|
|
||||||
|
|
|
@ -74,6 +74,10 @@
|
||||||
// will enable clip, min and max operations support.
|
// will enable clip, min and max operations support.
|
||||||
`define MATH_SPECIAL_SUPPORT
|
`define MATH_SPECIAL_SUPPORT
|
||||||
|
|
||||||
|
// CONFIG: JUMP_IN_ID
|
||||||
|
// will enable direct jump in ID. Might increase critical path of jump target.
|
||||||
|
`define JUMP_IN_ID
|
||||||
|
|
||||||
|
|
||||||
// Dependent definitions
|
// Dependent definitions
|
||||||
|
|
||||||
|
|
|
@ -74,6 +74,10 @@
|
||||||
// will enable clip, min and max operations support.
|
// will enable clip, min and max operations support.
|
||||||
`define MATH_SPECIAL_SUPPORT
|
`define MATH_SPECIAL_SUPPORT
|
||||||
|
|
||||||
|
// CONFIG: JUMP_IN_ID
|
||||||
|
// will enable direct jump in ID. Might increase critical path of jump target.
|
||||||
|
`define JUMP_IN_ID
|
||||||
|
|
||||||
|
|
||||||
// Dependent definitions
|
// Dependent definitions
|
||||||
|
|
||||||
|
|
|
@ -74,6 +74,10 @@
|
||||||
// will enable clip, min and max operations support.
|
// will enable clip, min and max operations support.
|
||||||
`define MATH_SPECIAL_SUPPORT
|
`define MATH_SPECIAL_SUPPORT
|
||||||
|
|
||||||
|
// CONFIG: JUMP_IN_ID
|
||||||
|
// will enable direct jump in ID. Might increase critical path of jump target.
|
||||||
|
`define JUMP_IN_ID
|
||||||
|
|
||||||
|
|
||||||
// Dependent definitions
|
// Dependent definitions
|
||||||
|
|
||||||
|
|
|
@ -74,6 +74,10 @@
|
||||||
// will enable clip, min and max operations support.
|
// will enable clip, min and max operations support.
|
||||||
//`define MATH_SPECIAL_SUPPORT
|
//`define MATH_SPECIAL_SUPPORT
|
||||||
|
|
||||||
|
// CONFIG: JUMP_IN_ID
|
||||||
|
// will enable direct jump in ID. Might increase critical path of jump target.
|
||||||
|
`define JUMP_IN_ID
|
||||||
|
|
||||||
|
|
||||||
// Dependent definitions
|
// Dependent definitions
|
||||||
|
|
||||||
|
|
|
@ -74,6 +74,10 @@
|
||||||
// will enable clip, min and max operations support.
|
// will enable clip, min and max operations support.
|
||||||
//`define MATH_SPECIAL_SUPPORT
|
//`define MATH_SPECIAL_SUPPORT
|
||||||
|
|
||||||
|
// CONFIG: JUMP_IN_ID
|
||||||
|
// will enable direct jump in ID. Might increase critical path of jump target.
|
||||||
|
`define JUMP_IN_ID
|
||||||
|
|
||||||
|
|
||||||
// Dependent definitions
|
// Dependent definitions
|
||||||
|
|
||||||
|
|
|
@ -74,6 +74,10 @@
|
||||||
// will enable clip, min and max operations support.
|
// will enable clip, min and max operations support.
|
||||||
//`define MATH_SPECIAL_SUPPORT
|
//`define MATH_SPECIAL_SUPPORT
|
||||||
|
|
||||||
|
// CONFIG: JUMP_IN_ID
|
||||||
|
// will enable direct jump in ID. Might increase critical path of jump target.
|
||||||
|
`define JUMP_IN_ID
|
||||||
|
|
||||||
|
|
||||||
// Dependent definitions
|
// Dependent definitions
|
||||||
|
|
||||||
|
|
|
@ -75,6 +75,11 @@
|
||||||
//`define MATH_SPECIAL_SUPPORT
|
//`define MATH_SPECIAL_SUPPORT
|
||||||
|
|
||||||
|
|
||||||
|
// CONFIG: JUMP_IN_ID
|
||||||
|
// will enable direct jump in ID. Might increase critical path of jump target.
|
||||||
|
`define JUMP_IN_ID
|
||||||
|
|
||||||
|
|
||||||
// Dependent definitions
|
// Dependent definitions
|
||||||
|
|
||||||
// CONFIG: THREE_PORT_REG_FILE
|
// CONFIG: THREE_PORT_REG_FILE
|
||||||
|
|
|
@ -74,6 +74,10 @@
|
||||||
// will enable clip, min and max operations support.
|
// will enable clip, min and max operations support.
|
||||||
//`define MATH_SPECIAL_SUPPORT
|
//`define MATH_SPECIAL_SUPPORT
|
||||||
|
|
||||||
|
// CONFIG: JUMP_IN_ID
|
||||||
|
// will enable direct jump in ID. Might increase critical path of jump target.
|
||||||
|
//`define JUMP_IN_ID
|
||||||
|
|
||||||
|
|
||||||
// Dependent definitions
|
// Dependent definitions
|
||||||
|
|
|
@ -0,0 +1,114 @@
|
||||||
|
// Copyright 2015 ETH Zurich and University of Bologna.
|
||||||
|
// Copyright and related rights are licensed under the Solderpad Hardware
|
||||||
|
// License, Version 0.51 (the “License”); you may not use this file except in
|
||||||
|
// compliance with the License. You may obtain a copy of the License at
|
||||||
|
// http://solderpad.org/licenses/SHL-0.51. Unless required by applicable law
|
||||||
|
// or agreed to in writing, software, hardware and materials distributed under
|
||||||
|
// this 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.
|
||||||
|
|
||||||
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
// Engineer: Michael Gautschi - gautschi@iis.ee.ethz.ch //
|
||||||
|
// //
|
||||||
|
// Additional contributions by: //
|
||||||
|
// //
|
||||||
|
// Markus Wegmann - markus.wegmann@technokrat.ch //
|
||||||
|
// //
|
||||||
|
// Design Name: RISC-V config file //
|
||||||
|
// Project Name: RI5CY //
|
||||||
|
// Language: SystemVerilog //
|
||||||
|
// //
|
||||||
|
// Description: Configure optional simulation modules //
|
||||||
|
// //
|
||||||
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
// no traces for synthesis, they are not synthesizable
|
||||||
|
`ifndef SYNTHESIS
|
||||||
|
`ifndef PULP_FPGA_EMUL
|
||||||
|
`define TRACE_EXECUTION
|
||||||
|
`endif
|
||||||
|
//`define SIMCHECKER
|
||||||
|
`endif
|
||||||
|
|
||||||
|
|
||||||
|
// littleRISCV configuration.
|
||||||
|
|
||||||
|
// Decomment to enable.
|
||||||
|
|
||||||
|
// The format should be strictly followed so the ri5cly-manage tool can parse the configuration
|
||||||
|
// A CONFIG section declares a config definition, a CONFIG_REGION enables the tool to remove disabled code
|
||||||
|
// for export. See the ri5cly-manage.py tool help and source code in the /scripts folder for more information.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
// CONFIG: MUL_SUPPORT
|
||||||
|
// will enable RISCV32M support for multiplication, division, MAC operations. Uses a lot of multiplications
|
||||||
|
//`define MUL_SUPPORT
|
||||||
|
|
||||||
|
// CONFIG: VEC_SUPPORT
|
||||||
|
// will enable RISCV32V support for vector operations.
|
||||||
|
//`define VEC_SUPPORT
|
||||||
|
|
||||||
|
// CONFIG: HWLP_SUPPORT
|
||||||
|
// will enable hardware loop support.
|
||||||
|
//`define HWLP_SUPPORT
|
||||||
|
|
||||||
|
// CONFIG: BIT_SUPPORT
|
||||||
|
// will enable bit manipulation and counting support.
|
||||||
|
//`define BIT_SUPPORT
|
||||||
|
|
||||||
|
// CONFIG: LSU_ADDER_SUPPORT
|
||||||
|
// will enable an additional adder in the LSU for better timings.
|
||||||
|
//`define LSU_ADDER_SUPPORT
|
||||||
|
|
||||||
|
`ifdef LSU_ADDER_SUPPORT
|
||||||
|
|
||||||
|
// CONFIG: PREPOST_SUPPORT
|
||||||
|
// will enable pre/post increment load/store support support.
|
||||||
|
//`define PREPOST_SUPPORT
|
||||||
|
|
||||||
|
`endif // LSU_ADDER_SUPPORT
|
||||||
|
|
||||||
|
// CONFIG: MATH_SPECIAL_SUPPORT
|
||||||
|
// will enable clip, min and max operations support.
|
||||||
|
//`define MATH_SPECIAL_SUPPORT
|
||||||
|
|
||||||
|
|
||||||
|
// CONFIG: JUMP_IN_ID
|
||||||
|
// will enable direct jump in ID. Might increase critical path of jump target.
|
||||||
|
//`define JUMP_IN_ID
|
||||||
|
|
||||||
|
|
||||||
|
// Dependent definitions
|
||||||
|
|
||||||
|
// CONFIG: THREE_PORT_REG_FILE
|
||||||
|
// enables 3r2w reg file (rather than 2r1w)
|
||||||
|
//`define THREE_PORT_REG_FILE
|
||||||
|
|
||||||
|
|
||||||
|
`ifndef MUL_SUPPORT
|
||||||
|
`ifndef VEC_SUPPORT
|
||||||
|
`ifndef BIT_SUPPORT
|
||||||
|
`ifndef LSU_ADDER_SUPPORT
|
||||||
|
`ifndef PREPOST_SUPPORT
|
||||||
|
`ifndef MATH_SPECIAL_SUPPORT
|
||||||
|
|
||||||
|
// CONFIG: SIMPLE_ALU
|
||||||
|
// will enable simplified ALU for less gates. It does not support vectors, shuffling, nor bit operations.
|
||||||
|
`define SIMPLE_ALU
|
||||||
|
|
||||||
|
// CONFIG: SMALL_IF
|
||||||
|
// will disable large FIFO in IF stage and use a more simple one.
|
||||||
|
`define SMALL_IF
|
||||||
|
|
||||||
|
// CONFIG: RV32E
|
||||||
|
// will reduce the register file to 16 words
|
||||||
|
`define RV32E
|
||||||
|
|
||||||
|
`endif
|
||||||
|
`endif
|
||||||
|
`endif
|
||||||
|
`endif
|
||||||
|
`endif
|
||||||
|
`endif
|
|
@ -74,6 +74,10 @@
|
||||||
// will enable clip, min and max operations support.
|
// will enable clip, min and max operations support.
|
||||||
//`define MATH_SPECIAL_SUPPORT
|
//`define MATH_SPECIAL_SUPPORT
|
||||||
|
|
||||||
|
// CONFIG: JUMP_IN_ID
|
||||||
|
// will enable direct jump in ID. Might increase critical path of jump target.
|
||||||
|
//`define JUMP_IN_ID
|
||||||
|
|
||||||
|
|
||||||
// Dependent definitions
|
// Dependent definitions
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
set NUM_CORES 16;
|
||||||
set CLOCK_SLOW 10; # 100 MHz
|
set CLOCK_SLOW 10; # 100 MHz
|
||||||
set DESIGN_NAME imperio_${CLOCK_SLOW}
|
set DESIGN_NAME imperio_${CLOCK_SLOW}
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
set NUM_CORES 16;
|
||||||
set CLOCK_SLOW 3; # 333 MHz
|
set CLOCK_SLOW 3; # 333 MHz
|
||||||
set DESIGN_NAME imperio_${CLOCK_SLOW}
|
set DESIGN_NAME imperio_${CLOCK_SLOW}
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
set NUM_CORES 16;
|
||||||
set CLOCK_SLOW 5; # 200 MHz
|
set CLOCK_SLOW 5; # 200 MHz
|
||||||
set DESIGN_NAME imperio_${CLOCK_SLOW}
|
set DESIGN_NAME imperio_${CLOCK_SLOW}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue