mirror of
https://github.com/lowRISC/ibex.git
synced 2025-04-25 06:17:39 -04:00
Rename example configs.
This commit is contained in:
parent
ac23085ceb
commit
f21769f93a
8 changed files with 2 additions and 111 deletions
|
@ -60,7 +60,7 @@ module riscv_prefetch_buffer_small
|
||||||
logic [15:0] last_fetch_rdata_Q, last_fetch_rdata_n; // A 16 bit register to store one compressed instruction or half of a full instruction for next fetch
|
logic [15:0] last_fetch_rdata_Q, last_fetch_rdata_n; // A 16 bit register to store one compressed instruction or half of a full instruction for next fetch
|
||||||
logic [31:0] current_fetch_rdata_Q, current_fetch_rdata_n; // A 32 bit register to store full instruction when valid fetch was stalled. Reduces memory accesses
|
logic [31:0] current_fetch_rdata_Q, current_fetch_rdata_n; // A 32 bit register to store full instruction when valid fetch was stalled. Reduces memory accesses
|
||||||
|
|
||||||
logic last_fetch_valid_Q, last_fetch_valid_n; // Fetch was stalled so we need instruction word in register
|
logic last_fetch_valid_Q, last_fetch_valid_n; // 16 bit instruction (part) in register of last fetch is valid
|
||||||
logic last_addr_misaligned_Q, last_addr_misaligned_n; // Indicates whether we need to fetch the second part of an misaligned full instruction
|
logic last_addr_misaligned_Q, last_addr_misaligned_n; // Indicates whether we need to fetch the second part of an misaligned full instruction
|
||||||
logic fetch_stalled_Q, fetch_stalled_n; // Current fetch is stalled and we need to store full 32 bit instruction to memory to reduce memory accesses
|
logic fetch_stalled_Q, fetch_stalled_n; // Current fetch is stalled and we need to store full 32 bit instruction to memory to reduce memory accesses
|
||||||
|
|
||||||
|
|
|
@ -1,109 +0,0 @@
|
||||||
// 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
|
|
||||||
|
|
||||||
|
|
||||||
// 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
|
|
|
@ -91,7 +91,7 @@
|
||||||
|
|
||||||
// CONFIG: SIMPLE_ALU
|
// CONFIG: SIMPLE_ALU
|
||||||
// will enable simplified ALU for less gates. It does not support vectors, shuffling, nor bit operations.
|
// will enable simplified ALU for less gates. It does not support vectors, shuffling, nor bit operations.
|
||||||
`define SIMPLE_ALU
|
//`define SIMPLE_ALU
|
||||||
|
|
||||||
// CONFIG: SMALL_IF
|
// CONFIG: SMALL_IF
|
||||||
// will disable large FIFO in IF stage and use a more simple one.
|
// will disable large FIFO in IF stage and use a more simple one.
|
Loading…
Add table
Add a link
Reference in a new issue