Skip to content

Commit 184e6c9

Browse files
committed
analyze and simulate for building a dictionary
1 parent e9b9e8d commit 184e6c9

File tree

1 file changed

+149
-0
lines changed

1 file changed

+149
-0
lines changed

VendorScripts_DryRunDict.tcl

Lines changed: 149 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,149 @@
1+
# File Name: VendorScripts_Reports.tcl
2+
# Purpose: Scripts for running simulations
3+
# Revision: OSVVM MODELS STANDARD VERSION
4+
#
5+
# Maintainer: Jim Lewis email: jim@synthworks.com
6+
# Contributor(s):
7+
# Jim Lewis email: jim@synthworks.com
8+
#
9+
# Description
10+
# VendorScript stub for report generation
11+
#
12+
# Developed by:
13+
# SynthWorks Design Inc.
14+
# VHDL Training Classes
15+
# OSVVM Methodology and Model Library
16+
# 11898 SW 128th Ave. Tigard, Or 97223
17+
# http://www.SynthWorks.com
18+
#
19+
# Revision History:
20+
# Date Version Description
21+
# 1/2026 2026.01 Derived from VendorScripts_CompileList.tcl
22+
#
23+
#
24+
# This file is part of OSVVM.
25+
#
26+
# Copyright (c) 2026 by SynthWorks Design Inc.
27+
#
28+
# Licensed under the Apache License, Version 2.0 (the "License");
29+
# you may not use this file except in compliance with the License.
30+
# You may obtain a copy of the License at
31+
#
32+
# https://www.apache.org/licenses/LICENSE-2.0
33+
#
34+
# Unless required by applicable law or agreed to in writing, software
35+
# distributed under the License is distributed on an "AS IS" BASIS,
36+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
37+
# See the License for the specific language governing permissions and
38+
# limitations under the License.
39+
#
40+
41+
42+
#
43+
# Load the tool vendor base files so we get the files it compiles
44+
#
45+
# variable ScriptBaseName $::env(OSVVM_TOOL2)
46+
# source ${::osvvm::OsvvmScriptDirectory}/VendorScripts_${::osvvm::ScriptBaseName}.tcl
47+
48+
#
49+
# Now replace base level procedures with the following
50+
#
51+
52+
53+
# Namespace not used since calling from within OSVVM
54+
55+
# namespace eval ::osvvm {}
56+
namespace eval ::osvvm {
57+
58+
# -------------------------------------------------
59+
# StartTranscript / StopTranscpript
60+
#
61+
proc vendor_StartTranscript {FileName} {
62+
}
63+
64+
proc vendor_StopTranscript {FileName} {
65+
}
66+
67+
68+
# -------------------------------------------------
69+
# IsVendorCommand
70+
#
71+
proc IsVendorCommand {LineOfText} {
72+
73+
return "false"
74+
}
75+
76+
# -------------------------------------------------
77+
# SetCoverageAnalyzeOptions
78+
# SetCoverageCoverageOptions
79+
#
80+
proc vendor_SetCoverageAnalyzeDefaults {} {
81+
variable CoverageAnalyzeOptions
82+
# set defaults here
83+
}
84+
85+
proc vendor_SetCoverageSimulateDefaults {} {
86+
variable CoverageSimulateOptions
87+
# set defaults here
88+
}
89+
90+
91+
# -------------------------------------------------
92+
# Library
93+
#
94+
proc vendor_library {LibraryName PathToLib} {
95+
}
96+
97+
proc vendor_LinkLibrary {LibraryName PathToLib} {}
98+
proc vendor_UnlinkLibrary {LibraryName PathToLib} {}
99+
100+
# -------------------------------------------------
101+
# analyze
102+
#
103+
proc vendor_analyze_vhdl {LibraryName FileName args} {
104+
dict lappend ::osvvm::AnalyzeDict $LibraryName \
105+
[dict create FileName [file normalize $FileName] LanguageVersion ${::osvvm::VhdlVersion} ]
106+
}
107+
108+
proc vendor_analyze_verilog {LibraryName FileName args} {
109+
dict lappend ::osvvm::AnalyzeDict $LibraryName \
110+
[dict create FileName [file normalize $FileName] LanguageVersion ${::osvvm::VhdlVersion} ]
111+
}
112+
113+
# -------------------------------------------------
114+
# End Previous Simulation
115+
#
116+
proc vendor_end_previous_simulation {} {
117+
}
118+
119+
# -------------------------------------------------
120+
# Simulate
121+
#
122+
proc vendor_simulate {LibraryName LibraryUnit args} {
123+
dict lappend ::osvvm::SimulateDict $LibraryName \
124+
[dict create FileName [file normalize $FileName] \
125+
LanguageVersion ${::osvvm::VhdlVersion} \
126+
Generics ${::osvvm::GenericDict} \
127+
TimeUnits ${::osvvm::SimulateTimeUnits} ]
128+
}
129+
130+
# -------------------------------------------------
131+
proc vendor_generic {Name Value} {
132+
}
133+
134+
135+
# -------------------------------------------------
136+
# Merge Coverage
137+
#
138+
proc vendor_MergeCodeCoverage {TestSuiteName CoverageDirectory BuildName} {
139+
}
140+
141+
proc vendor_ReportCodeCoverage {TestSuiteName ResultsDirectory} {
142+
}
143+
144+
proc vendor_GetCoverageFileName {TestName} {
145+
return $TestName
146+
}
147+
148+
# end namespace ::osvvm
149+
}

0 commit comments

Comments
 (0)