What is set_case_analysis?

oset_case_analysis: particular port or pin in the design should be treated as having a constant logic value (0 or 1) for the duration of the timing analysis run (or for specific modes).

Purpose:

Mode Setting: To model different operating modes of the chip (e.g., functional mode vs. test mode) where certain control signals are tied high or low.

Disabling Logic: By setting control signals (like multiplexer selects, enables) to constant values, specific logic paths can be disabled for timing analysis,

If a MUX select is set constant, only the path through the selected input is timed.

If an AND gate input is set to 0, its output is treated as 0, disabling downstream paths.

If an OR gate input is set to 1, its output is treated as 1.

Example: Suppose a design has a test mode enable signal TEST_MODE_EN at an input port. In functional mode, this signal is low (0), and in test mode, it’s high (1). To analyze timing specifically for functional mode:

set_case_analysis 0 [get_ports TEST_MODE_EN]

Share:
‹ What is the difference between MCP (Multicycle Path) and false path?
Home
What is min pulse width violation? How to solve it? ›