Skip to content

Commit

Permalink
Fix defaults to CV32E40X in the right places
Browse files Browse the repository at this point in the history
  • Loading branch information
FrancescoConti committed May 15, 2024
1 parent df18da4 commit 4993433
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion hw/pulpissimo.sv
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
module pulpissimo #(
/// 0 for CV32E40P with XPULP Extensions, 1 for IBEX RV32IMC (formerly ZERORISCY),
/// 2 for IBEX RV32EC (formerly MICRORISCY), 3 for CV32E40X
parameter int unsigned CORE_TYPE = 3,
parameter int unsigned CORE_TYPE = 0,
/// Enable XPULP extensions on CV32E40P. Has no effect if an IBEX core variant is use.
parameter bit USE_XPULP = 1,
/// Mutually exclusive with the use of IBEX. I.e. if an IBEX core variant is used, this parameter
Expand Down
2 changes: 1 addition & 1 deletion target/fpga/pulpissimo-zyboz7/rtl/xilinx_pulpissimo.v
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ module xilinx_pulpissimo (
inout wire pad_pmodb_10
);

localparam CORE_TYPE = 0; // 0 for RISCY, 1 for IBEX RV32IMC (formerly ZERORISCY), 2 for IBEX RV32EC (formerly MICRORISCY)
localparam CORE_TYPE = 3; // 0 for RISCY, 1 for IBEX RV32IMC (formerly ZERORISCY), 2 for IBEX RV32EC (formerly MICRORISCY), 3 for CV32E40X
localparam USE_FPU = 0;
localparam USE_HWPE = 1;

Expand Down
4 changes: 2 additions & 2 deletions target/sim/tb/tb_pulp.sv
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ module tb_pulp;

// simulation platform parameters

// Choose your core: 0 for RISCY, 1 for IBEX RV32IMC (formerly ZERORISCY), 2 for IBEX RV32EC (formerly MICRORISCY)
parameter CORE_TYPE = 0;
// Choose your core: 0 for RISCY, 1 for IBEX RV32IMC (formerly ZERORISCY), 2 for IBEX RV32EC (formerly MICRORISCY), 3 for CV32E40X
parameter CORE_TYPE = 3;

// if RI5CY is instantiated (CORE_TYPE == 0), USE_FPU enables the FPU
parameter USE_FPU = 1;
Expand Down

0 comments on commit 4993433

Please sign in to comment.