Connecting Driver to Scoreboard in UVM?

Yes, you can as mentioned by “logie”. But it is not the best practice in general.

  1. The data is broadcasted to the subscribers (e.g. in this case scoreboard) before it is propagated into the bus.
  2. In case you have any callback function implemented in any other part of the TB (other than the driver class) which changes the transaction item’s certain fields, data driven on the bus will be different than the data broadcasted from the analysis port of the driver. Scoreboard in that context will not receive the same data as it is on the bus. This is a typical scenario in case of error injection.