forked from OSVVM/OSVVM-Scripts
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathVendorScripts_CompileList.tcl
More file actions
152 lines (125 loc) · 3.84 KB
/
VendorScripts_CompileList.tcl
File metadata and controls
152 lines (125 loc) · 3.84 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
# File Name: VendorScripts_Reports.tcl
# Purpose: Scripts for running simulations
# Revision: OSVVM MODELS STANDARD VERSION
#
# Maintainer: Jim Lewis email: jim@synthworks.com
# Contributor(s):
# Jim Lewis email: jim@synthworks.com
#
# Description
# VendorScript stub for report generation
#
# Developed by:
# SynthWorks Design Inc.
# VHDL Training Classes
# OSVVM Methodology and Model Library
# 11898 SW 128th Ave. Tigard, Or 97223
# http://www.SynthWorks.com
#
# Revision History:
# Date Version Description
# 5/2024 2024.05 Added ToolVersion variable
# 12/2022 2022.12 Updated variable naming
# 2/2022 2022.02 Added template of procedures needed for coverage support
# 9/2021 2021.09 Created from VendorScripts_xxx.tcl
#
#
# This file is part of OSVVM.
#
# Copyright (c) 2022 by SynthWorks Design Inc.
#
# 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
#
# https://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.
#
#
# Load the tool vendor base files so we get the files it compiles
#
# variable ScriptBaseName $::env(OSVVM_TOOL2)
# source ${::osvvm::OsvvmScriptDirectory}/VendorScripts_${::osvvm::ScriptBaseName}.tcl
#
# Now replace base level procedures with the following
#
namespace eval ::osvvm {
# -------------------------------------------------
# StartTranscript / StopTranscpript
#
# proc vendor_StartTranscript {FileName} {
# }
#
# proc vendor_StopTranscript {FileName} {
# }
# -------------------------------------------------
# IsVendorCommand
#
proc IsVendorCommand {LineOfText} {
return "false"
}
# -------------------------------------------------
# SetCoverageAnalyzeOptions
# SetCoverageCoverageOptions
#
proc vendor_SetCoverageAnalyzeDefaults {} {
variable CoverageAnalyzeOptions
# set defaults here
}
proc vendor_SetCoverageSimulateDefaults {} {
variable CoverageSimulateOptions
# set defaults here
}
# -------------------------------------------------
# Library
#
proc vendor_library {LibraryName PathToLib} {
}
proc vendor_LinkLibrary {LibraryName PathToLib} {}
proc vendor_UnlinkLibrary {LibraryName PathToLib} {}
# -------------------------------------------------
# analyze
#
proc vendor_analyze_vhdl {LibraryName FileName args} {
set ListOfLibraryFiles [open ${LibraryName}_${::osvvm::ToolName}.files a]
puts $ListOfLibraryFiles $FileName
close $ListOfLibraryFiles
set AllFiles [open OneList.files a]
puts $AllFiles [file normalize $FileName]
close $AllFiles
}
proc vendor_analyze_verilog {LibraryName FileName args} {
set ListOfLibraryFiles [open ${LibraryName}_${::osvvm::ToolName}.files a]
puts $ListOfLibraryFiles $FileName
close $ListOfLibraryFiles
}
# -------------------------------------------------
# End Previous Simulation
#
proc vendor_end_previous_simulation {} {
}
# -------------------------------------------------
# Simulate
#
proc vendor_simulate {LibraryName LibraryUnit args} {
}
# -------------------------------------------------
proc vendor_generic {Name Value} {
}
# -------------------------------------------------
# Merge Coverage
#
proc vendor_MergeCodeCoverage {TestSuiteName CoverageDirectory BuildName} {
}
proc vendor_ReportCodeCoverage {TestSuiteName ResultsDirectory} {
}
proc vendor_GetCoverageFileName {TestName} {
return $TestName
}
# end namespace ::osvvm
}