Skip to main content

wpe_psram_read_sta_tcl

Function wpe_psram_read_sta_tcl 

Source
pub fn wpe_psram_read_sta_tcl(
    caravel: &WpeCaravel,
    memory: &OffchipMemory,
    lib: &str,
    netlist: &str,
    spef: &str,
) -> String
Expand description

The OpenSTA script that closes a PSRAM read through the hardened macro, at the corner lib characterizes and over the parasitics in spef: the SCLK edge’s latest arrival at its pad-side port, the SIO data constrained to arrive the read’s round trip outside the macro after it (WpeCaravel::read_round_trip_ps), and the worst slack of that data into its capture flops at the edge the half SCLK period puts it on. The first two terms are the macro’s own share of the read window, which the harness check alone cannot see. Prints SCLK_ARRIVAL_NS <ns> and SIO_CAPTURE_SLACK_NS <ns>.