mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-11 06:05:49 +00:00
Removed int/integer from parameters)
This commit is contained in:
parent
4b196736a5
commit
5a81a26c9e
@ -30,10 +30,10 @@
|
|||||||
`include "wally-config.vh"
|
`include "wally-config.vh"
|
||||||
|
|
||||||
module ahbcacheinterface #(
|
module ahbcacheinterface #(
|
||||||
parameter integer BEATSPERLINE, // Number of AHBW words (beats) in cacheline
|
parameter BEATSPERLINE, // Number of AHBW words (beats) in cacheline
|
||||||
parameter integer AHBWLOGBWPL, // Log2 of ^
|
parameter AHBWLOGBWPL, // Log2 of ^
|
||||||
parameter integer LINELEN, // Number of bits in cacheline
|
parameter LINELEN, // Number of bits in cacheline
|
||||||
parameter integer LLENPOVERAHBW // Number of AHB beats in a LLEN word. AHBW cannot be larger than LLEN. (implementation limitation)
|
parameter LLENPOVERAHBW // Number of AHB beats in a LLEN word. AHBW cannot be larger than LLEN. (implementation limitation)
|
||||||
)(
|
)(
|
||||||
input logic HCLK, HRESETn,
|
input logic HCLK, HRESETn,
|
||||||
// bus interface controls
|
// bus interface controls
|
||||||
|
@ -32,8 +32,8 @@
|
|||||||
|
|
||||||
// HCLK and clk must be the same clock!
|
// HCLK and clk must be the same clock!
|
||||||
module buscachefsm #(
|
module buscachefsm #(
|
||||||
parameter integer BeatCountThreshold, // Largest beat index
|
parameter BeatCountThreshold, // Largest beat index
|
||||||
parameter integer AHBWLOGBWPL // Log2 of BEATSPERLINE
|
parameter AHBWLOGBWPL // Log2 of BEATSPERLINE
|
||||||
)(
|
)(
|
||||||
input logic HCLK,
|
input logic HCLK,
|
||||||
input logic HRESETn,
|
input logic HRESETn,
|
||||||
|
@ -28,10 +28,8 @@
|
|||||||
|
|
||||||
`include "wally-config.vh"
|
`include "wally-config.vh"
|
||||||
|
|
||||||
module RASPredictor
|
module RASPredictor #(parameter StackSize = 16) (
|
||||||
#(parameter int StackSize = 16
|
input logic clk,
|
||||||
)
|
|
||||||
(input logic clk,
|
|
||||||
input logic reset,
|
input logic reset,
|
||||||
input logic PopF,
|
input logic PopF,
|
||||||
output logic [`XLEN-1:0] RASPCF,
|
output logic [`XLEN-1:0] RASPCF,
|
||||||
|
@ -30,10 +30,8 @@
|
|||||||
|
|
||||||
`include "wally-config.vh"
|
`include "wally-config.vh"
|
||||||
|
|
||||||
module btb
|
module btb #(parameter Depth = 10) (
|
||||||
#(parameter int Depth = 10
|
input logic clk,
|
||||||
)
|
|
||||||
(input logic clk,
|
|
||||||
input logic reset,
|
input logic reset,
|
||||||
input logic StallF, StallE,
|
input logic StallF, StallE,
|
||||||
input logic [`XLEN-1:0] PCNextF,
|
input logic [`XLEN-1:0] PCNextF,
|
||||||
|
@ -28,11 +28,8 @@
|
|||||||
|
|
||||||
`include "wally-config.vh"
|
`include "wally-config.vh"
|
||||||
|
|
||||||
module foldedgshare
|
module foldedgshare #(parameter k = 16, depth = 10) (
|
||||||
#(parameter int k = 16,
|
input logic clk,
|
||||||
parameter int depth = 10
|
|
||||||
)
|
|
||||||
(input logic clk,
|
|
||||||
input logic reset,
|
input logic reset,
|
||||||
input logic StallF, StallD, StallE, StallM, StallW,
|
input logic StallF, StallD, StallE, StallM, StallW,
|
||||||
input logic FlushD, FlushE, FlushM, FlushW,
|
input logic FlushD, FlushE, FlushM, FlushW,
|
||||||
|
@ -28,10 +28,8 @@
|
|||||||
|
|
||||||
`include "wally-config.vh"
|
`include "wally-config.vh"
|
||||||
|
|
||||||
module globalhistory
|
module globalhistory #(parameter k = 10) (
|
||||||
#(parameter int k = 10
|
input logic clk,
|
||||||
)
|
|
||||||
(input logic clk,
|
|
||||||
input logic reset,
|
input logic reset,
|
||||||
input logic StallF, StallD, StallE, StallM,
|
input logic StallF, StallD, StallE, StallM,
|
||||||
input logic FlushD, FlushE, FlushM,
|
input logic FlushD, FlushE, FlushM,
|
||||||
|
@ -28,10 +28,8 @@
|
|||||||
|
|
||||||
`include "wally-config.vh"
|
`include "wally-config.vh"
|
||||||
|
|
||||||
module gshare
|
module gshare #(parameter k = 10) (
|
||||||
#(parameter int k = 10
|
input logic clk,
|
||||||
)
|
|
||||||
(input logic clk,
|
|
||||||
input logic reset,
|
input logic reset,
|
||||||
input logic StallF, StallD, StallE, StallM,
|
input logic StallF, StallD, StallE, StallM,
|
||||||
input logic FlushD, FlushE, FlushM,
|
input logic FlushD, FlushE, FlushM,
|
||||||
|
@ -28,11 +28,9 @@
|
|||||||
|
|
||||||
`include "wally-config.vh"
|
`include "wally-config.vh"
|
||||||
|
|
||||||
module localHistoryPredictor
|
module localHistoryPredictor #(parameter m = 6, // 2^m = number of local history branches
|
||||||
#( parameter int m = 6, // 2^m = number of local history branches
|
k = 10) ( // number of past branches stored
|
||||||
parameter int k = 10 // number of past branches stored
|
input logic clk,
|
||||||
)
|
|
||||||
(input logic clk,
|
|
||||||
input logic reset,
|
input logic reset,
|
||||||
input logic StallF, StallE,
|
input logic StallF, StallE,
|
||||||
input logic [`XLEN-1:0] LookUpPC,
|
input logic [`XLEN-1:0] LookUpPC,
|
||||||
@ -41,7 +39,6 @@ module localHistoryPredictor
|
|||||||
input logic [`XLEN-1:0] UpdatePC,
|
input logic [`XLEN-1:0] UpdatePC,
|
||||||
input logic UpdateEN, PCSrcE,
|
input logic UpdateEN, PCSrcE,
|
||||||
input logic [1:0] UpdatePrediction
|
input logic [1:0] UpdatePrediction
|
||||||
|
|
||||||
);
|
);
|
||||||
|
|
||||||
logic [2**m-1:0][k-1:0] LHRNextF;
|
logic [2**m-1:0][k-1:0] LHRNextF;
|
||||||
|
@ -28,10 +28,8 @@
|
|||||||
|
|
||||||
`include "wally-config.vh"
|
`include "wally-config.vh"
|
||||||
|
|
||||||
module optgshare
|
module optgshare #(parameter k = 10) (
|
||||||
#(parameter int k = 10
|
input logic clk,
|
||||||
)
|
|
||||||
(input logic clk,
|
|
||||||
input logic reset,
|
input logic reset,
|
||||||
input logic StallF, StallD, StallE, StallM, StallW,
|
input logic StallF, StallD, StallE, StallM, StallW,
|
||||||
input logic FlushD, FlushE, FlushM, FlushW,
|
input logic FlushD, FlushE, FlushM, FlushW,
|
||||||
|
@ -28,10 +28,8 @@
|
|||||||
|
|
||||||
`include "wally-config.vh"
|
`include "wally-config.vh"
|
||||||
|
|
||||||
module speculativeglobalhistory
|
module speculativeglobalhistory #(parameter k = 10) (
|
||||||
#(parameter int k = 10
|
input logic clk,
|
||||||
)
|
|
||||||
(input logic clk,
|
|
||||||
input logic reset,
|
input logic reset,
|
||||||
input logic StallF, StallD, StallE, StallM, StallW,
|
input logic StallF, StallD, StallE, StallM, StallW,
|
||||||
input logic FlushD, FlushE, FlushM, FlushW,
|
input logic FlushD, FlushE, FlushM, FlushW,
|
||||||
|
@ -28,10 +28,8 @@
|
|||||||
|
|
||||||
`include "wally-config.vh"
|
`include "wally-config.vh"
|
||||||
|
|
||||||
module speculativegshare
|
module speculativegshare #(parameter k = 10) (
|
||||||
#(parameter int k = 10
|
input logic clk,
|
||||||
)
|
|
||||||
(input logic clk,
|
|
||||||
input logic reset,
|
input logic reset,
|
||||||
input logic StallF, StallD, StallE, StallM, StallW,
|
input logic StallF, StallD, StallE, StallM, StallW,
|
||||||
input logic FlushD, FlushE, FlushM, FlushW,
|
input logic FlushD, FlushE, FlushM, FlushW,
|
||||||
|
@ -28,10 +28,8 @@
|
|||||||
|
|
||||||
`include "wally-config.vh"
|
`include "wally-config.vh"
|
||||||
|
|
||||||
module twoBitPredictor
|
module twoBitPredictor #(parameter k = 10) (
|
||||||
#(parameter int k = 10
|
input logic clk,
|
||||||
)
|
|
||||||
(input logic clk,
|
|
||||||
input logic reset,
|
input logic reset,
|
||||||
input logic StallF, StallD, StallE, StallM,
|
input logic StallF, StallD, StallE, StallM,
|
||||||
input logic FlushD, FlushE, FlushM,
|
input logic FlushD, FlushE, FlushM,
|
||||||
|
Loading…
Reference in New Issue
Block a user