VMM OpenSource - sv/RAL/vmm_ral_env.sv

sv/RAL/vmm_ral_env.sv expanded source

00001 // 
00002 // -------------------------------------------------------------
00003 //    Copyright 2004-2008 Synopsys, Inc.
00004 //    All Rights Reserved Worldwide
00005 // 
00006 //    Licensed under the Apache License, Version 2.0 (the
00007 //    "License"); you may not use this file except in
00008 //    compliance with the License.  You may obtain a copy of
00009 //    the License at
00010 // 
00011 //        http://www.apache.org/licenses/LICENSE-2.0
00012 // 
00013 //    Unless required by applicable law or agreed to in
00014 //    writing, software distributed under the License is
00015 //    distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
00016 //    CONDITIONS OF ANY KIND, either express or implied.  See
00017 //    the License for the specific language governing
00018 //    permissions and limitations under the License.
00019 // -------------------------------------------------------------
00020 // 
00021 
00022 
00023 class vmm_ral_env extends `VMM_ENV;
00024    vmm_ral_access ral;
00025 
00026    extern function new(string name = "RAL-Based Verif Env");
00027 
00028    extern virtual task sw_reset(string domain = "");
00029 endclass: vmm_ral_env
00030 
00031 
00032 function vmm_ral_env::new(string name= "RAL-Based Verif Env");
00033    super.new(name);
00034    this.ral = new;
00035 endfunction: new
00036 
00037 
00038 task vmm_ral_env::sw_reset(string domain = "");
00039 endtask: sw_reset