Entity: flash_mp_data_region_sel

Diagram

int Regions req_i flash_lcmgr_phase_e phase_i [AllPagesW-1:0] addr_i data_region_attr_t region_attrs_i mp_region_cfg_t sel_cfg_o

Description

Copyright lowRISC contributors. Licensed under the Apache License, Version 2.0, see LICENSE for details. SPDX-License-Identifier: Apache-2.0

Flash Memory Properties

Generics

Generic name Type Value Description
Regions int 4

Ports

Port name Direction Type Description
req_i input
phase_i input flash_lcmgr_phase_e
addr_i input [AllPagesW-1:0]
region_attrs_i input data_region_attr_t
sel_cfg_o output mp_region_cfg_t

Signals

Name Type Description
region_end logic [AllPagesW:0] There could be multiple region matches due to region overlap Lower indices always have priority
region_match logic [Regions-1:0]
region_sel logic [Regions-1:0]

Processes

Type: always_comb

Description
check for region match

Type: always_comb

Description
select appropriate region configuration