There are multiple issues related to SDF writer for Blackbox primitive
-
The primitives being modeled as Blackbox have combinational and sequential timings. In present --analysis code, blackbox combinational and sequential timings are not getting populated
-
Blackbox could have more than 1 reference clocks (e.g. Dual Port RAM). Current SDF generation does not handle timing checks w.r.t. specific clock. It uses a generic name "clk" to write out timing checks
Solution would be to traverse through all output and inputs pins of blackbox primitive to collect timing paths and
timing checks. Also store the correct reference clock during the traversal.