Skip to content

Commit

Permalink
rtl: processor_templates: enable Zicntr ISA extension on minimal temp…
Browse files Browse the repository at this point in the history
…lates (#1196)
  • Loading branch information
stnolting authored Mar 4, 2025
2 parents 5753b32 + 24ff7c6 commit 8ab1fec
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rtl/processor_templates/neorv32_ProcessorTop_Minimal.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ begin
CLOCK_FREQUENCY => CLOCK_FREQUENCY, -- clock frequency of clk_i in Hz
-- Boot Configuration --
BOOT_MODE_SELECT => 2, -- boot from pre-initialized interal IMEM
-- RISC-V CPU Extensions --
RISCV_ISA_Zicntr => true, -- implement base counters?
-- Internal Instruction memory --
MEM_INT_IMEM_EN => MEM_INT_IMEM_EN, -- implement processor-internal instruction memory
MEM_INT_IMEM_SIZE => MEM_INT_IMEM_SIZE, -- size of processor-internal instruction memory in bytes
Expand Down
2 changes: 2 additions & 0 deletions rtl/processor_templates/neorv32_ProcessorTop_MinimalBoot.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ begin
CLOCK_FREQUENCY => CLOCK_FREQUENCY, -- clock frequency of clk_i in Hz
-- Boot Configuration --
BOOT_MODE_SELECT => 0, -- boot via internal bootloader
-- RISC-V CPU Extensions --
RISCV_ISA_Zicntr => true, -- implement base counters?
-- Internal Instruction memory --
MEM_INT_IMEM_EN => MEM_INT_IMEM_EN, -- implement processor-internal instruction memory
MEM_INT_IMEM_SIZE => MEM_INT_IMEM_SIZE, -- size of processor-internal instruction memory in bytes
Expand Down

0 comments on commit 8ab1fec

Please sign in to comment.