URL
                    https://opencores.org/ocsvn/uart2bus_testbench/uart2bus_testbench/trunk
                
            Subversion Repositories uart2bus_testbench
[/] [uart2bus_testbench/] [trunk/] [tb/] [uvm_src/] [dpi/] [uvm_svcmd_dpi.svh] - Rev 16
Compare with Previous | Blame | View Log
////------------------------------------------------------------------------------// Copyright 2011 Mentor Graphics Corporation// Copyright 2011 Cadence Design Systems, Inc.// Copyright 2011 Synopsys, Inc.// All Rights Reserved Worldwide//// Licensed under the Apache License, Version 2.0 (the// "License"); you may not use this file except in// compliance with the License. You may obtain a copy of// the License at//// http://www.apache.org/licenses/LICENSE-2.0//// Unless required by applicable law or agreed to in// writing, software distributed under the License is// distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR// CONDITIONS OF ANY KIND, either express or implied. See// the License for the specific language governing// permissions and limitations under the License.//------------------------------------------------------------------------------// Import DPI functions used by the interface to generate the// lists.`ifndef UVM_CMDLINE_NO_DPIimport "DPI-C" function string uvm_dpi_get_next_arg_c (int init);import "DPI-C" function string uvm_dpi_get_tool_name_c ();import "DPI-C" function string uvm_dpi_get_tool_version_c ();function string uvm_dpi_get_next_arg(int init=0);return uvm_dpi_get_next_arg_c(init);endfunctionfunction string uvm_dpi_get_tool_name();return uvm_dpi_get_tool_name_c();endfunctionfunction string uvm_dpi_get_tool_version();return uvm_dpi_get_tool_version_c();endfunctionimport "DPI-C" function chandle uvm_dpi_regcomp(string regex);import "DPI-C" function int uvm_dpi_regexec(chandle preg, string str);import "DPI-C" function void uvm_dpi_regfree(chandle preg);`elsefunction string uvm_dpi_get_next_arg(int init=0);return "";endfunctionfunction string uvm_dpi_get_tool_name();return "?";endfunctionfunction string uvm_dpi_get_tool_version();return "?";endfunctionfunction chandle uvm_dpi_regcomp(string regex); return null; endfunctionfunction int uvm_dpi_regexec(chandle preg, string str); return 0; endfunctionfunction void uvm_dpi_regfree(chandle preg); endfunction`endif

