CDL Modules
Files
csr_target_timeout

Files

file  csr_target_timeout.cdl
 Timeout target to auto-complete CSR transactions on a timeout.
 

Detailed Description

Modules

module csr_target_timeout::csr_target_timeout ( clock  clk,
input bit  reset_n,
input t_csr_request  csr_request,
output t_csr_response  csr_response,
input bit  csr_timeout[16] 
)

This module provides a CSR target interface which never directly responds to a request, but which will complete a read or write if the request stays for a specified period of time.

This permits any transaction to be attempted by a CSR interface master, even if no target decodes the transaction. Such transactions will be handled by this module.

Parameters
[in]clkClock for the CSR interface, possibly gated version of master CSR clock
[in]reset_nActive low reset
[in]csr_requestPipelined csr request interface input
[out]csr_responsePipelined csr request interface response
[in]csr_timeoutNumber of cycles to wait for until auto-acknowledging a request