-
Notifications
You must be signed in to change notification settings - Fork 208
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
minor fixed following pull-request feedback
- Loading branch information
1 parent
ea890a5
commit 0aad5e4
Showing
2 changed files
with
65 additions
and
1 deletion.
There are no files selected for viewing
1 change: 0 additions & 1 deletion
1
lib/cv_dv_utils/python/param_sweeper/example/template_management.svh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
import uvm_pkg::*; | ||
|
||
class template_management extends uvm_object; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
# ---------------------------------------------------------------------------- | ||
# Copyright 2023 CEA* | ||
# *Commissariat a l'Energie Atomique et aux Energies Alternatives (CEA) | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# | ||
# 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. | ||
#[END OF HEADER] | ||
# ---------------------------------------------------------------------------- | ||
# ---------------------------------------------------------------------------- | ||
|
||
######################################################## | ||
# select default UNIMAKE target | ||
######################################################## | ||
ifeq (${UNIMAKE_TARGET},) | ||
UNIMAKE_TARGET=QUESTA_SIMULATION | ||
export UNIMAKE_TARGET | ||
$(info compiling for ${UNIMAKE_TARGET}) | ||
endif | ||
|
||
ifeq (${UNIMAKE_TARGET},QUESTA_SIMULATION) | ||
QUESTA_MODE=VOPT | ||
export QUESTA_MODE | ||
endif | ||
|
||
######################################################## | ||
# HDL compilation | ||
######################################################## | ||
MAKEFILE_DIR := $(abspath $(dir $(lastword $(MAKEFILE_LIST)))) | ||
|
||
REQ_ACK_AGENT_DIR = $(CV_DV_UTILS_DIR)/uvm/generic_agent | ||
|
||
SVLOG_SOURCES += generic_if.sv \ | ||
generic_agent_pkg.sv | ||
|
||
LIB_NAME := cv_uvm_dv_utils_lib | ||
TOP_ENTITY_NAME := | ||
|
||
WORK_LIB = cv_uvm_dv_utils_lib | ||
|
||
## Libraries options | ||
LIST_LIBS += -L cv_uvm_dv_utils_lib | ||
|
||
AM_VLOG_OPTIONS += $(LIST_LIBS) | ||
AM_SVLOG_OPTIONS += $(LIST_LIBS) | ||
AM_VOPT_OPTIONS += $(LIST_LIBS) | ||
AM_VSIM_OPTIONS += $(LIST_LIBS) | ||
|
||
WORK_DIR = $(PROJECT_LIBS_DIR)/$(WORK_LIB) | ||
|
||
################################################################## | ||
# Makefile inclusion (after definition of all previous variables) | ||
################################################################## | ||
|
||
include $(PROJECT_DIR)/config/Makefile.def |