Compiling UVM Express examples with ModelSim 10.1b

OK, I figured it out myself.
For anybody else new to UVM with a clean-room ModeSim installation, this is what I had to do (and yes, I realize this is the Academy Forum, not the ModelSim helpdesk):

  • point ModelSim to it’s own built-in UVM library using the LibrarySearchPath variable in the [vlog] section of the modelsim.ini file
  • download the appropriate UVM package from Accellera, since the built-in lib seems not to provide the include files required

I could raise the question of

  • why ModelSim doesn’t come with the LibrarySearchPath pre-configured
  • why ModelSim wouldn’t provide the include files with the built-in library

but what’s the point…