| ## | |
| ## ------------------------------------------------------------- | |
| ## Copyright 2008 Mentor Graphics Corporation | |
| ## 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. | |
| ## ------------------------------------------------------------- | |
| ## | |
| VMM_HOME = ../../../.. | |
| #TESTS = test_simple test_ovm_sb test_ovm_with_vmm_env test_ovm_env_wrap test_ovm_env | |
| TESTS = test_simple | |
| APB_HOME = apb | |
| IUS = irun $(VMM_HOME)/sv/std_lib/vmm_str_dpi.c -incdir $(VMM_HOME)/sv \ | |
| -incdir $(APB_HOME) | |
| run: $(addsuffix .log, $(TESTS)) | |
| %.log: %.sv | |
| $(IUS) +vmm_log_default=trace \ | |
| $*.sv tb_top.sv -l $@ | |
| clean: | |
| rm -rf INCA_libs *.log *.key |