diff --git a/target/sim/src/tb_cheshire_pkg.sv b/target/sim/src/tb_cheshire_pkg.sv index 77ab78a2..1e322c98 100644 --- a/target/sim/src/tb_cheshire_pkg.sv +++ b/target/sim/src/tb_cheshire_pkg.sv @@ -16,11 +16,21 @@ package tb_cheshire_pkg; return ret; endfunction + // A dedicated Ara config + function automatic cheshire_cfg_t gen_cheshire_ara_cfg(); + cheshire_cfg_t ret = DefaultCfg; + ret.Ara = 1; + ret.AraNrLanes = 2; + ret.AraVLEN = 2048; + return ret; + endfunction + // Number of Cheshire configurations - localparam int unsigned NumCheshireConfigs = 32'd2; + localparam int unsigned NumCheshireConfigs = 32'd3; // Assemble a configuration array indexed by a numeric parameter localparam cheshire_cfg_t [NumCheshireConfigs-1:0] TbCheshireConfigs = { + gen_cheshire_ara_cfg(), // 2: Ara-enabled configuration gen_cheshire_rt_cfg(), // 1: RT-enabled configuration DefaultCfg // 0: Default configuration };