CDL Modules
Files
apb_master_mux

Files

file  apb_target_gpio.cdl
 Simple GPIO target for an APB bus.
 

Detailed Description

Modules

module apb_master_mux::apb_master_mux ( clock  clk,
input bit  reset_n,
input t_apb_request  apb_request_0,
output t_apb_response  apb_response_0,
input t_apb_request  apb_request_1,
output t_apb_response  apb_response_1,
output t_apb_request  apb_request,
input t_apb_response  apb_response 
)

APB multiplexer - or rather, arbiter and multiplexer

The module takes two APB requests in, and provides a single APB request out.

An APB request from each master is registered, and APB transactions are performed using simple round-robin arbitration.

Parameters
[in]clkSystem clock
[in]reset_nActive low reset
[in]apb_request_0APB request to master 0
[out]apb_response_0APB response to master 0
[in]apb_request_1APB request to master 1
[out]apb_response_1APB response to master 1
[out]apb_requestAPB request to targets
[in]apb_responseAPB response from targets