Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I dug out some old notes and I don't think I figured out the answer to this exact question using SDC constraints. I ended up solving the problem by (1) enforcing a multiplexer with gated inverters by // pragma map_to_mux on the ? operator, (2) using Tcl commands instead of SDC constraints: set_clock_gating_check -low my_mux_instance/q0 and set_clock_gating_check -high my_mux_instance/q1, (3) there was some trial and error