mirror of
https://github.com/lowRISC/ibex.git
synced 2025-04-22 04:47:25 -04:00
Improve config scripts to not use small IF as it is bigger
This commit is contained in:
parent
c6f2cacb30
commit
6510bd3b65
17 changed files with 11 additions and 43 deletions
|
@ -99,7 +99,7 @@
|
|||
|
||||
// CONFIG: SMALL_IF
|
||||
// will disable large FIFO in IF stage and use a more simple one.
|
||||
`define SMALL_IF
|
||||
//`define SMALL_IF
|
||||
|
||||
// CONFIG: RV32E
|
||||
// will reduce the register file to 16 words
|
||||
|
@ -120,13 +120,11 @@
|
|||
// will merge/fuse the ID and EX stage
|
||||
`define MERGE_ID_EX
|
||||
|
||||
`ifdef SMALL_IF
|
||||
`ifdef MERGE_ID_EX
|
||||
// CONFIG: NO_JUMP_ADDER
|
||||
// will use ALU adder to calculate target and get return address from prefetcher
|
||||
`define NO_JUMP_ADDER
|
||||
`endif
|
||||
`endif
|
||||
|
||||
`endif
|
||||
`endif
|
||||
|
|
|
@ -119,13 +119,11 @@
|
|||
// will merge/fuse the ID and EX stage
|
||||
//`define MERGE_ID_EX
|
||||
|
||||
`ifdef SMALL_IF
|
||||
`ifdef MERGE_ID_EX
|
||||
// CONFIG: NO_JUMP_ADDER
|
||||
// will use ALU adder to calculate target and get return address from prefetcher
|
||||
//`define NO_JUMP_ADDER
|
||||
`endif
|
||||
`endif
|
||||
|
||||
`endif
|
||||
`endif
|
||||
|
|
|
@ -119,13 +119,11 @@
|
|||
// will merge/fuse the ID and EX stage
|
||||
//`define MERGE_ID_EX
|
||||
|
||||
`ifdef SMALL_IF
|
||||
`ifdef MERGE_ID_EX
|
||||
// CONFIG: NO_JUMP_ADDER
|
||||
// will use ALU adder to calculate target and get return address from prefetcher
|
||||
//`define NO_JUMP_ADDER
|
||||
`endif
|
||||
`endif
|
||||
|
||||
`endif
|
||||
`endif
|
||||
|
|
|
@ -123,13 +123,11 @@
|
|||
// will merge/fuse the ID and EX stage
|
||||
//`define MERGE_ID_EX
|
||||
|
||||
`ifdef SMALL_IF
|
||||
`ifdef MERGE_ID_EX
|
||||
// CONFIG: NO_JUMP_ADDER
|
||||
// will use ALU adder to calculate target and get return address from prefetcher
|
||||
//`define NO_JUMP_ADDER
|
||||
`endif
|
||||
`endif
|
||||
|
||||
`endif
|
||||
`endif
|
||||
|
|
|
@ -119,13 +119,11 @@
|
|||
// will merge/fuse the ID and EX stage
|
||||
//`define MERGE_ID_EX
|
||||
|
||||
`ifdef SMALL_IF
|
||||
`ifdef MERGE_ID_EX
|
||||
// CONFIG: NO_JUMP_ADDER
|
||||
// will use ALU adder to calculate target and get return address from prefetcher
|
||||
//`define NO_JUMP_ADDER
|
||||
`endif
|
||||
`endif
|
||||
|
||||
`endif
|
||||
`endif
|
||||
|
|
|
@ -119,13 +119,11 @@
|
|||
// will merge/fuse the ID and EX stage
|
||||
//`define MERGE_ID_EX
|
||||
|
||||
`ifdef SMALL_IF
|
||||
`ifdef MERGE_ID_EX
|
||||
// CONFIG: NO_JUMP_ADDER
|
||||
// will use ALU adder to calculate target and get return address from prefetcher
|
||||
//`define NO_JUMP_ADDER
|
||||
`endif
|
||||
`endif
|
||||
|
||||
`endif
|
||||
`endif
|
||||
|
|
|
@ -119,13 +119,11 @@
|
|||
// will merge/fuse the ID and EX stage
|
||||
//`define MERGE_ID_EX
|
||||
|
||||
`ifdef SMALL_IF
|
||||
`ifdef MERGE_ID_EX
|
||||
// CONFIG: NO_JUMP_ADDER
|
||||
// will use ALU adder to calculate target and get return address from prefetcher
|
||||
//`define NO_JUMP_ADDER
|
||||
`endif
|
||||
`endif
|
||||
|
||||
`endif
|
||||
`endif
|
||||
|
|
|
@ -119,13 +119,11 @@
|
|||
// will merge/fuse the ID and EX stage
|
||||
//`define MERGE_ID_EX
|
||||
|
||||
`ifdef SMALL_IF
|
||||
`ifdef MERGE_ID_EX
|
||||
// CONFIG: NO_JUMP_ADDER
|
||||
// will use ALU adder to calculate target and get return address from prefetcher
|
||||
//`define NO_JUMP_ADDER
|
||||
`endif
|
||||
`endif
|
||||
|
||||
`endif
|
||||
`endif
|
||||
|
|
|
@ -119,13 +119,11 @@
|
|||
// will merge/fuse the ID and EX stage
|
||||
//`define MERGE_ID_EX
|
||||
|
||||
`ifdef SMALL_IF
|
||||
`ifdef MERGE_ID_EX
|
||||
// CONFIG: NO_JUMP_ADDER
|
||||
// will use ALU adder to calculate target and get return address from prefetcher
|
||||
//`define NO_JUMP_ADDER
|
||||
`endif
|
||||
`endif
|
||||
|
||||
`endif
|
||||
`endif
|
||||
|
|
|
@ -119,13 +119,11 @@
|
|||
// will merge/fuse the ID and EX stage
|
||||
//`define MERGE_ID_EX
|
||||
|
||||
`ifdef SMALL_IF
|
||||
`ifdef MERGE_ID_EX
|
||||
// CONFIG: NO_JUMP_ADDER
|
||||
// will use ALU adder to calculate target and get return address from prefetcher
|
||||
//`define NO_JUMP_ADDER
|
||||
`endif
|
||||
`endif
|
||||
|
||||
`endif
|
||||
`endif
|
||||
|
|
|
@ -120,13 +120,11 @@
|
|||
// will merge/fuse the ID and EX stage
|
||||
//`define MERGE_ID_EX
|
||||
|
||||
`ifdef SMALL_IF
|
||||
`ifdef MERGE_ID_EX
|
||||
// CONFIG: NO_JUMP_ADDER
|
||||
// will use ALU adder to calculate target and get return address from prefetcher
|
||||
//`define NO_JUMP_ADDER
|
||||
`endif
|
||||
`endif
|
||||
|
||||
`endif
|
||||
`endif
|
||||
|
|
|
@ -74,10 +74,9 @@
|
|||
// 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
|
||||
//`define JUMP_IN_ID
|
||||
|
||||
|
||||
// Dependent definitions
|
||||
|
@ -100,11 +99,11 @@
|
|||
|
||||
// CONFIG: SMALL_IF
|
||||
// will disable large FIFO in IF stage and use a more simple one.
|
||||
`define SMALL_IF
|
||||
//`define SMALL_IF
|
||||
|
||||
// CONFIG: RV32E
|
||||
// will reduce the register file to 16 words
|
||||
`define RV32E
|
||||
//`define RV32E
|
||||
|
||||
// CONFIG: ONLY_ALIGNED
|
||||
// will only allow aligned memory accesses and therefore overlapping mustn't occur
|
||||
|
@ -120,13 +119,11 @@
|
|||
// will merge/fuse the ID and EX stage
|
||||
//`define MERGE_ID_EX
|
||||
|
||||
`ifdef SMALL_IF
|
||||
`ifdef MERGE_ID_EX
|
||||
// CONFIG: NO_JUMP_ADDER
|
||||
// will use ALU adder to calculate target and get return address from prefetcher
|
||||
//`define NO_JUMP_ADDER
|
||||
`endif
|
||||
`endif
|
||||
|
||||
`endif
|
||||
`endif
|
|
@ -74,6 +74,7 @@
|
|||
// 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
|
||||
|
@ -99,11 +100,11 @@
|
|||
|
||||
// CONFIG: SMALL_IF
|
||||
// will disable large FIFO in IF stage and use a more simple one.
|
||||
`define SMALL_IF
|
||||
//`define SMALL_IF
|
||||
|
||||
// CONFIG: RV32E
|
||||
// will reduce the register file to 16 words
|
||||
//`define RV32E
|
||||
`define RV32E
|
||||
|
||||
// CONFIG: ONLY_ALIGNED
|
||||
// will only allow aligned memory accesses and therefore overlapping mustn't occur
|
|
@ -100,7 +100,7 @@
|
|||
|
||||
// CONFIG: SMALL_IF
|
||||
// will disable large FIFO in IF stage and use a more simple one.
|
||||
`define SMALL_IF
|
||||
//`define SMALL_IF
|
||||
|
||||
// CONFIG: RV32E
|
||||
// will reduce the register file to 16 words
|
||||
|
@ -120,13 +120,11 @@
|
|||
// will merge/fuse the ID and EX stage
|
||||
//`define MERGE_ID_EX
|
||||
|
||||
`ifdef SMALL_IF
|
||||
`ifdef MERGE_ID_EX
|
||||
// CONFIG: NO_JUMP_ADDER
|
||||
// will use ALU adder to calculate target and get return address from prefetcher
|
||||
//`define NO_JUMP_ADDER
|
||||
`endif
|
||||
`endif
|
||||
|
||||
`endif
|
||||
`endif
|
|
@ -99,7 +99,7 @@
|
|||
|
||||
// CONFIG: SMALL_IF
|
||||
// will disable large FIFO in IF stage and use a more simple one.
|
||||
`define SMALL_IF
|
||||
//`define SMALL_IF
|
||||
|
||||
// CONFIG: RV32E
|
||||
// will reduce the register file to 16 words
|
||||
|
@ -119,13 +119,11 @@
|
|||
// will merge/fuse the ID and EX stage
|
||||
`define MERGE_ID_EX
|
||||
|
||||
`ifdef SMALL_IF
|
||||
`ifdef MERGE_ID_EX
|
||||
// CONFIG: NO_JUMP_ADDER
|
||||
// will use ALU adder to calculate target and get return address from prefetcher
|
||||
//`define NO_JUMP_ADDER
|
||||
`endif
|
||||
`endif
|
||||
|
||||
`endif
|
||||
`endif
|
||||
|
|
|
@ -98,7 +98,7 @@
|
|||
|
||||
// CONFIG: SMALL_IF
|
||||
// will disable large FIFO in IF stage and use a more simple one.
|
||||
`define SMALL_IF
|
||||
//`define SMALL_IF
|
||||
|
||||
// CONFIG: RV32E
|
||||
// will reduce the register file to 16 words
|
||||
|
@ -118,13 +118,11 @@
|
|||
// will merge/fuse the ID and EX stage
|
||||
//`define MERGE_ID_EX
|
||||
|
||||
`ifdef SMALL_IF
|
||||
`ifdef MERGE_ID_EX
|
||||
// CONFIG: NO_JUMP_ADDER
|
||||
// will use ALU adder to calculate target and get return address from prefetcher
|
||||
//`define NO_JUMP_ADDER
|
||||
`endif
|
||||
`endif
|
||||
|
||||
`endif
|
||||
`endif
|
||||
|
|
|
@ -98,7 +98,7 @@
|
|||
|
||||
// CONFIG: SMALL_IF
|
||||
// will disable large FIFO in IF stage and use a more simple one.
|
||||
`define SMALL_IF
|
||||
//`define SMALL_IF
|
||||
|
||||
// CONFIG: RV32E
|
||||
// will reduce the register file to 16 words
|
||||
|
@ -118,13 +118,11 @@
|
|||
// will merge/fuse the ID and EX stage
|
||||
//`define MERGE_ID_EX
|
||||
|
||||
`ifdef SMALL_IF
|
||||
`ifdef MERGE_ID_EX
|
||||
// CONFIG: NO_JUMP_ADDER
|
||||
// will use ALU adder to calculate target and get return address from prefetcher
|
||||
`define NO_JUMP_ADDER
|
||||
`endif
|
||||
`endif
|
||||
|
||||
`endif
|
||||
`endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue