// For a detailed explanation of the purpose for this class,// see <Why is this necessary>.//classuvm_tlm_time;staticlocalrealm_resolution=1.0e-12;// ps by defaultlocalrealm_res;localtimem_time;// Number of 'm_res' time units,localstringm_name;// Function: set_time_resolution// Set the default canonical time resolution.//// Must be a power of 10.// When co-simulating with SystemC, it is recommended// that default canonical time resolution be set to the// SystemC time resolution.//// By default, the default resolution is 1.0e-12 (ps)
//// @uvm-ieee 1800.2-2020 auto 5.6.1classuvm_time;staticlocalrealm_resolution=1.0e-12;// ps by defaultlocalrealm_res;localtimem_time;// Number of 'm_res' time units,localstringm_name;// Function -- NODOCS -- set_time_resolution// Set the default canonical time resolution.//// Must be a power of 10.// When co-simulating with SystemC, it is recommended// that default canonical time resolution be set to the// SystemC time resolution.//// By default, the default resolution is 1.0e-12 (ps)
endfunctionendclasstypedefuvm_timeuvm_tlm_time;// Group -- NODOCS -- Why is this necessary//// Integers are not sufficient, on their own,// to represent time without any ambiguity:// you need to know the scale of that integer value.// That scale is information conveyed outside of that integer.// In SystemVerilog, it is based on the timescale// that was active when the code was compiled.// SystemVerilog properly scales time literals, but not integer values.// That's because it does not know the difference between an integer// that carries an integer value and an integer that carries a time value.// The 'time' variables are simply 64-bit integers,// they are not scaled back and forth to the underlying precision.//
// the License for the specific language governing// permissions and limitations under the License.//----------------------------------------------------------------------`include"tlm2/uvm_tlm2_defines.svh"`include"tlm2/uvm_tlm_time.svh"`include"tlm2/uvm_tlm2_generic_payload.svh"`include"tlm2/uvm_tlm2_ifs.svh"`include"tlm2/uvm_tlm2_imps.svh"`include"tlm2/uvm_tlm2_ports.svh"`include"tlm2/uvm_tlm2_exports.svh"`include"tlm2/uvm_tlm2_sockets_base.svh"`include"tlm2/uvm_tlm2_sockets.svh"