Hardware interview practice
Multiple analysis implementations
A scoreboard receives expected and actual transactions of the same type through two analysis connections and must know which stream invoked it. Which implementation is appropriate?
Choose one
Answer choices
- A. Use two distinct transaction-level modeling (TLM) analysis-implementation suffixes with write_exp and write_act, or feed two separate analysis FIFOs
- B. Connect both to one plain analysis_imp and infer the source from call-stack order
- C. Give both ports the same name so UVM attaches source metadata
- D. Use seq_item_port because analysis_imp supports only one producer
