Line 125... |
Line 125... |
-- -------------------------------------------------------------------------------------------
|
-- -------------------------------------------------------------------------------------------
|
neorv32_top_inst: neorv32_top
|
neorv32_top_inst: neorv32_top
|
generic map (
|
generic map (
|
-- General --
|
-- General --
|
CLOCK_FREQUENCY => f_clock_nat_c, -- clock frequency of clk_i in Hz
|
CLOCK_FREQUENCY => f_clock_nat_c, -- clock frequency of clk_i in Hz
|
HART_ID => x"00000000", -- custom hardware thread ID
|
|
BOOTLOADER_USE => false, -- implement processor-internal bootloader?
|
BOOTLOADER_USE => false, -- implement processor-internal bootloader?
|
CSR_COUNTERS_USE => true, -- implement RISC-V perf. counters ([m]instret[h], [m]cycle[h], time[h])?
|
CSR_COUNTERS_USE => true, -- implement RISC-V perf. counters ([m]instret[h], [m]cycle[h], time[h])?
|
|
USER_CODE => x"19880704", -- custom user code
|
-- RISC-V CPU Extensions --
|
-- RISC-V CPU Extensions --
|
CPU_EXTENSION_RISCV_C => true, -- implement compressed extension?
|
CPU_EXTENSION_RISCV_C => true, -- implement compressed extension?
|
CPU_EXTENSION_RISCV_E => false, -- implement embedded RF extension?
|
CPU_EXTENSION_RISCV_E => false, -- implement embedded RF extension?
|
CPU_EXTENSION_RISCV_M => true, -- implement muld/div extension?
|
CPU_EXTENSION_RISCV_M => true, -- implement muld/div extension?
|
CPU_EXTENSION_RISCV_Zicsr => true, -- implement CSR system?
|
CPU_EXTENSION_RISCV_Zicsr => true, -- implement CSR system?
|
Line 175... |
Line 175... |
wb_sel_o => wb_cpu.sel, -- byte enable
|
wb_sel_o => wb_cpu.sel, -- byte enable
|
wb_stb_o => wb_cpu.stb, -- strobe
|
wb_stb_o => wb_cpu.stb, -- strobe
|
wb_cyc_o => wb_cpu.cyc, -- valid cycle
|
wb_cyc_o => wb_cpu.cyc, -- valid cycle
|
wb_ack_i => wb_cpu.ack, -- transfer acknowledge
|
wb_ack_i => wb_cpu.ack, -- transfer acknowledge
|
wb_err_i => wb_cpu.err, -- transfer error
|
wb_err_i => wb_cpu.err, -- transfer error
|
|
-- Advanced memory control signals --
|
|
fence_o => open, -- indicates an executed FENCE operation
|
|
fencei_o => open, -- indicates an executed FENCEI operation
|
-- GPIO --
|
-- GPIO --
|
gpio_o => gpio, -- parallel output
|
gpio_o => gpio, -- parallel output
|
gpio_i => gpio, -- parallel input
|
gpio_i => gpio, -- parallel input
|
-- UART --
|
-- UART --
|
uart_txd_o => uart_txd, -- UART send data
|
uart_txd_o => uart_txd, -- UART send data
|