From 3d1e1202f3e666ac8feaf600aa98070db2de4d0f Mon Sep 17 00:00:00 2001 From: Kip Macsai-Goren Date: Wed, 27 Apr 2022 18:18:49 +0000 Subject: [PATCH] set WFI timeout to after 16 bits of counting for all configs --- pipelined/config/buildroot/wally-config.vh | 2 +- pipelined/config/fpga/wally-config.vh | 2 +- pipelined/config/rv32e/wally-config.vh | 2 +- pipelined/config/rv32gc/wally-config.vh | 2 +- pipelined/config/rv32i/wally-config.vh | 2 +- pipelined/config/rv32ic/wally-config.vh | 2 +- pipelined/config/rv64BP/wally-config.vh | 2 +- pipelined/config/rv64fp/wally-config.vh | 2 +- pipelined/config/rv64gc/wally-config.vh | 2 +- pipelined/config/rv64i/wally-config.vh | 2 +- pipelined/config/rv64ic/wally-config.vh | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/pipelined/config/buildroot/wally-config.vh b/pipelined/config/buildroot/wally-config.vh index 92abecde3..a9a9bc7ea 100644 --- a/pipelined/config/buildroot/wally-config.vh +++ b/pipelined/config/buildroot/wally-config.vh @@ -78,7 +78,7 @@ `define RESET_VECTOR 64'h0000000000001000 // WFI Timeout Wait -`define WFI_TIMEOUT_BIT 20 +`define WFI_TIMEOUT_BIT 16 // Peripheral Addresses // Peripheral memory space extends from BASE to BASE+RANGE diff --git a/pipelined/config/fpga/wally-config.vh b/pipelined/config/fpga/wally-config.vh index b101a6796..863c33853 100644 --- a/pipelined/config/fpga/wally-config.vh +++ b/pipelined/config/fpga/wally-config.vh @@ -80,7 +80,7 @@ `define RESET_VECTOR 64'h0000000000001000 // WFI Timeout Wait -`define WFI_TIMEOUT_BIT 20 +`define WFI_TIMEOUT_BIT 16 // Peripheral Addresses // Peripheral memory space extends from BASE to BASE+RANGE diff --git a/pipelined/config/rv32e/wally-config.vh b/pipelined/config/rv32e/wally-config.vh index 5832033ab..8774625d3 100644 --- a/pipelined/config/rv32e/wally-config.vh +++ b/pipelined/config/rv32e/wally-config.vh @@ -81,7 +81,7 @@ `define RESET_VECTOR 32'h80000000 // WFI Timeout Wait -`define WFI_TIMEOUT_BIT 20 +`define WFI_TIMEOUT_BIT 16 // Peripheral Addresses // Peripheral memory space extends from BASE to BASE+RANGE diff --git a/pipelined/config/rv32gc/wally-config.vh b/pipelined/config/rv32gc/wally-config.vh index 41645e8ab..5deae9f82 100644 --- a/pipelined/config/rv32gc/wally-config.vh +++ b/pipelined/config/rv32gc/wally-config.vh @@ -79,7 +79,7 @@ `define RESET_VECTOR 32'h80000000 // WFI Timeout Wait -`define WFI_TIMEOUT_BIT 20 +`define WFI_TIMEOUT_BIT 16 // Peripheral Addresses // Peripheral memory space extends from BASE to BASE+RANGE diff --git a/pipelined/config/rv32i/wally-config.vh b/pipelined/config/rv32i/wally-config.vh index a263beaa4..64560dbb1 100644 --- a/pipelined/config/rv32i/wally-config.vh +++ b/pipelined/config/rv32i/wally-config.vh @@ -81,7 +81,7 @@ `define RESET_VECTOR 32'h80000000 // WFI Timeout Wait -`define WFI_TIMEOUT_BIT 5 +`define WFI_TIMEOUT_BIT 16 // Peripheral Addresses // Peripheral memory space extends from BASE to BASE+RANGE diff --git a/pipelined/config/rv32ic/wally-config.vh b/pipelined/config/rv32ic/wally-config.vh index b615c739d..c0cd6fb8f 100644 --- a/pipelined/config/rv32ic/wally-config.vh +++ b/pipelined/config/rv32ic/wally-config.vh @@ -79,7 +79,7 @@ `define RESET_VECTOR 32'h80000000 // WFI Timeout Wait -`define WFI_TIMEOUT_BIT 20 +`define WFI_TIMEOUT_BIT 16 // Peripheral Addresses // Peripheral memory space extends from BASE to BASE+RANGE diff --git a/pipelined/config/rv64BP/wally-config.vh b/pipelined/config/rv64BP/wally-config.vh index 417051f1c..0f4357297 100644 --- a/pipelined/config/rv64BP/wally-config.vh +++ b/pipelined/config/rv64BP/wally-config.vh @@ -83,7 +83,7 @@ `define AHBW 64 // WFI Timeout Wait -`define WFI_TIMEOUT_BIT 20 +`define WFI_TIMEOUT_BIT 16 // Peripheral Addresses // Peripheral memory space extends from BASE to BASE+RANGE diff --git a/pipelined/config/rv64fp/wally-config.vh b/pipelined/config/rv64fp/wally-config.vh index da74f981d..a99ae2df7 100644 --- a/pipelined/config/rv64fp/wally-config.vh +++ b/pipelined/config/rv64fp/wally-config.vh @@ -85,7 +85,7 @@ // Range should be a thermometer code with 0's in the upper bits and 1s in the lower bits // WFI Timeout Wait -`define WFI_TIMEOUT_BIT 20 +`define WFI_TIMEOUT_BIT 16 // *** each of these is `PA_BITS wide. is this paramaterizable INSIDE the config file? `define BOOTROM_SUPPORTED 1'b1 diff --git a/pipelined/config/rv64gc/wally-config.vh b/pipelined/config/rv64gc/wally-config.vh index b069a532c..f1476ea1e 100644 --- a/pipelined/config/rv64gc/wally-config.vh +++ b/pipelined/config/rv64gc/wally-config.vh @@ -83,7 +83,7 @@ `define AHBW 64 // WFI Timeout Wait -`define WFI_TIMEOUT_BIT 20 +`define WFI_TIMEOUT_BIT 16 // Peripheral Physiccal Addresses // Peripheral memory space extends from BASE to BASE+RANGE diff --git a/pipelined/config/rv64i/wally-config.vh b/pipelined/config/rv64i/wally-config.vh index e936364c5..89e399428 100644 --- a/pipelined/config/rv64i/wally-config.vh +++ b/pipelined/config/rv64i/wally-config.vh @@ -83,7 +83,7 @@ `define AHBW 64 // WFI Timeout Wait -`define WFI_TIMEOUT_BIT 5 +`define WFI_TIMEOUT_BIT 16 // Peripheral Physiccal Addresses // Peripheral memory space extends from BASE to BASE+RANGE diff --git a/pipelined/config/rv64ic/wally-config.vh b/pipelined/config/rv64ic/wally-config.vh index 592304764..5dbf70b19 100644 --- a/pipelined/config/rv64ic/wally-config.vh +++ b/pipelined/config/rv64ic/wally-config.vh @@ -83,7 +83,7 @@ `define AHBW 64 // WFI Timeout Wait -`define WFI_TIMEOUT_BIT 20 +`define WFI_TIMEOUT_BIT 16 // Peripheral Physiccal Addresses // Peripheral memory space extends from BASE to BASE+RANGE