cocotb 1.9.1__tar.gz → 1.9.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of cocotb might be problematic. Click here for more details.

Files changed (108) hide show
  1. {cocotb-1.9.1/cocotb.egg-info → cocotb-1.9.2}/PKG-INFO +3 -1
  2. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/__init__.py +20 -3
  3. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/_version.py +1 -1
  4. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/regression.py +1 -5
  5. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/share/makefiles/simulators/Makefile.activehdl +10 -3
  6. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/share/makefiles/simulators/Makefile.questa +12 -9
  7. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/share/makefiles/simulators/Makefile.riviera +15 -9
  8. {cocotb-1.9.1 → cocotb-1.9.2/cocotb.egg-info}/PKG-INFO +3 -1
  9. {cocotb-1.9.1 → cocotb-1.9.2}/setup.py +2 -0
  10. {cocotb-1.9.1 → cocotb-1.9.2}/LICENSE +0 -0
  11. {cocotb-1.9.1 → cocotb-1.9.2}/MANIFEST.in +0 -0
  12. {cocotb-1.9.1 → cocotb-1.9.2}/README.md +0 -0
  13. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/ANSI.py +0 -0
  14. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/_deprecation.py +0 -0
  15. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/_py_compat.py +0 -0
  16. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/_sim_versions.py +0 -0
  17. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/_vendor/README.md +0 -0
  18. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/_vendor/__init__.py +0 -0
  19. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/_vendor/distutils_version.py +0 -0
  20. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/_vendor/fli/acc_user.h +0 -0
  21. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/_vendor/fli/acc_vhdl.h +0 -0
  22. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/_vendor/fli/mti.h +0 -0
  23. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/_vendor/tcl/license.terms +0 -0
  24. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/_vendor/tcl/tcl.h +0 -0
  25. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/_vendor/tcl/tclDecls.h +0 -0
  26. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/_vendor/tcl/tclPlatDecls.h +0 -0
  27. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/_vendor/vhpi/vhpi_user.h +0 -0
  28. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/_vendor/vpi/sv_vpi_user.h +0 -0
  29. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/_vendor/vpi/vpi_user.h +0 -0
  30. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/binary.py +0 -0
  31. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/clock.py +0 -0
  32. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/config.py +0 -0
  33. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/decorators.py +0 -0
  34. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/handle.py +0 -0
  35. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/ipython_support.py +0 -0
  36. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/log.py +0 -0
  37. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/memdebug.py +0 -0
  38. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/outcomes.py +0 -0
  39. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/queue.py +0 -0
  40. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/result.py +0 -0
  41. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/runner.py +0 -0
  42. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/scheduler.py +0 -0
  43. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/share/def/.gitignore +0 -0
  44. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/share/def/README.md +0 -0
  45. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/share/def/aldec.def +0 -0
  46. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/share/def/ghdl.def +0 -0
  47. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/share/def/icarus.def +0 -0
  48. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/share/def/modelsim.def +0 -0
  49. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/share/include/cocotb_utils.h +0 -0
  50. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/share/include/embed.h +0 -0
  51. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/share/include/exports.h +0 -0
  52. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/share/include/gpi.h +0 -0
  53. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/share/include/gpi_logging.h +0 -0
  54. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/share/include/py_gpi_logging.h +0 -0
  55. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/share/include/vhpi_user_ext.h +0 -0
  56. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/share/include/vpi_user_ext.h +0 -0
  57. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/share/lib/embed/embed.cpp +0 -0
  58. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/share/lib/embed/gpi_embed.cpp +0 -0
  59. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/share/lib/fli/FliCbHdl.cpp +0 -0
  60. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/share/lib/fli/FliImpl.cpp +0 -0
  61. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/share/lib/fli/FliImpl.h +0 -0
  62. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/share/lib/fli/FliObjHdl.cpp +0 -0
  63. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/share/lib/gpi/GpiCbHdl.cpp +0 -0
  64. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/share/lib/gpi/GpiCommon.cpp +0 -0
  65. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/share/lib/gpi/gpi_priv.h +0 -0
  66. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/share/lib/gpi_log/gpi_logging.cpp +0 -0
  67. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/share/lib/py_gpi_log/py_gpi_logging.cpp +0 -0
  68. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/share/lib/simulator/simulatormodule.cpp +0 -0
  69. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/share/lib/utils/cocotb_utils.cpp +0 -0
  70. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/share/lib/verilator/verilator.cpp +0 -0
  71. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/share/lib/vhpi/VhpiCbHdl.cpp +0 -0
  72. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/share/lib/vhpi/VhpiImpl.cpp +0 -0
  73. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/share/lib/vhpi/VhpiImpl.h +0 -0
  74. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/share/lib/vpi/VpiCbHdl.cpp +0 -0
  75. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/share/lib/vpi/VpiImpl.cpp +0 -0
  76. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/share/lib/vpi/VpiImpl.h +0 -0
  77. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/share/makefiles/Makefile.deprecations +0 -0
  78. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/share/makefiles/Makefile.inc +0 -0
  79. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/share/makefiles/Makefile.sim +0 -0
  80. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/share/makefiles/simulators/Makefile.cvc +0 -0
  81. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/share/makefiles/simulators/Makefile.ghdl +0 -0
  82. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/share/makefiles/simulators/Makefile.icarus +0 -0
  83. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/share/makefiles/simulators/Makefile.ius +0 -0
  84. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/share/makefiles/simulators/Makefile.modelsim +0 -0
  85. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/share/makefiles/simulators/Makefile.nvc +0 -0
  86. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/share/makefiles/simulators/Makefile.vcs +0 -0
  87. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/share/makefiles/simulators/Makefile.verilator +0 -0
  88. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/share/makefiles/simulators/Makefile.xcelium +0 -0
  89. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/task.py +0 -0
  90. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/triggers.py +0 -0
  91. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/types/__init__.py +0 -0
  92. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/types/array.py +0 -0
  93. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/types/logic.py +0 -0
  94. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/types/logic_array.py +0 -0
  95. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/types/range.py +0 -0
  96. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/utils.py +0 -0
  97. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/wavedrom.py +0 -0
  98. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb/xunit_reporter.py +0 -0
  99. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb.egg-info/SOURCES.txt +0 -0
  100. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb.egg-info/dependency_links.txt +0 -0
  101. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb.egg-info/entry_points.txt +0 -0
  102. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb.egg-info/requires.txt +0 -0
  103. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb.egg-info/top_level.txt +0 -0
  104. {cocotb-1.9.1 → cocotb-1.9.2}/cocotb_build_libs.py +0 -0
  105. {cocotb-1.9.1 → cocotb-1.9.2}/pygpi/__init__.py +0 -0
  106. {cocotb-1.9.1 → cocotb-1.9.2}/pygpi/entry.py +0 -0
  107. {cocotb-1.9.1 → cocotb-1.9.2}/pyproject.toml +0 -0
  108. {cocotb-1.9.1 → cocotb-1.9.2}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: cocotb
3
- Version: 1.9.1
3
+ Version: 1.9.2
4
4
  Summary: cocotb is a coroutine based cosimulation library for writing VHDL and Verilog testbenches in Python.
5
5
  Home-page: https://www.cocotb.org
6
6
  Author: Chris Higgs, Stuart Hodgson
@@ -18,6 +18,8 @@ Classifier: Programming Language :: Python :: 3.8
18
18
  Classifier: Programming Language :: Python :: 3.9
19
19
  Classifier: Programming Language :: Python :: 3.10
20
20
  Classifier: Programming Language :: Python :: 3.11
21
+ Classifier: Programming Language :: Python :: 3.12
22
+ Classifier: Programming Language :: Python :: 3.13
21
23
  Classifier: License :: OSI Approved :: BSD License
22
24
  Classifier: Topic :: Scientific/Engineering :: Electronic Design Automation (EDA)
23
25
  Classifier: Framework :: cocotb
@@ -313,7 +313,13 @@ def _initialise_testbench_(argv_):
313
313
  top = cocotb.handle.SimHandle(handle)
314
314
 
315
315
  global regression_manager
316
- regression_manager = RegressionManager.from_discovery(top)
316
+ try:
317
+ regression_manager = RegressionManager.from_discovery(top)
318
+ except BaseException as e:
319
+ log.error(e)
320
+ simulator.stop_simulator()
321
+ _stop_library_coverage()
322
+ return # pragma: no cover
317
323
 
318
324
  global scheduler
319
325
  scheduler = Scheduler(handle_result=regression_manager._handle_result)
@@ -322,6 +328,13 @@ def _initialise_testbench_(argv_):
322
328
  regression_manager._execute()
323
329
 
324
330
 
331
+ def _stop_library_coverage() -> None:
332
+ if _library_coverage is not None:
333
+ # TODO: move this once we have normal shutdown behavior to _sim_event
334
+ _library_coverage.stop()
335
+ _library_coverage.save() # pragma: no cover
336
+
337
+
325
338
  def _sim_event(message):
326
339
  """Function that can be called externally to signal an event."""
327
340
  from cocotb.result import SimFailure
@@ -329,8 +342,12 @@ def _sim_event(message):
329
342
  # We simply return here as the simulator will exit
330
343
  # so no cleanup is needed
331
344
  msg = f"Failing test at simulator request before test run completion: {message}"
332
- scheduler.log.error(msg)
333
- scheduler._finish_scheduler(SimFailure(msg))
345
+ if scheduler is not None:
346
+ scheduler.log.error(msg)
347
+ scheduler._finish_scheduler(SimFailure(msg))
348
+ else:
349
+ log.error(msg)
350
+ _stop_library_coverage()
334
351
 
335
352
 
336
353
  @deprecated("This function is now private")
@@ -5,4 +5,4 @@
5
5
  # 1) we don't load dependencies by storing it in __init__.py
6
6
  # 2) we can import it in setup.py for the same reason
7
7
  # 3) we can import it into your module
8
- __version__ = "1.9.1"
8
+ __version__ = "1.9.2"
@@ -204,7 +204,6 @@ class RegressionManager:
204
204
  except Exception as E:
205
205
  _logger.critical("Failed to import module %s: %s", module_name, E)
206
206
  _logger.info('MODULE variable was "%s"', ".".join(modules))
207
- _logger.info("Traceback: ")
208
207
  _logger.info(traceback.format_exc())
209
208
  raise
210
209
 
@@ -304,13 +303,10 @@ class RegressionManager:
304
303
  self.log.info("Writing coverage data")
305
304
  self._cov.save()
306
305
  self._cov.html_report()
307
- if cocotb._library_coverage is not None:
308
- # TODO: move this once we have normal shutdown behavior to _sim_event
309
- cocotb._library_coverage.stop()
310
- cocotb._library_coverage.save()
311
306
 
312
307
  # Setup simulator finalization
313
308
  simulator.stop_simulator()
309
+ cocotb._stop_library_coverage()
314
310
 
315
311
  @deprecated("This method is now private.")
316
312
  def next_test(self) -> Optional[Test]:
@@ -22,8 +22,15 @@ ALOG_ARGS += $(COMPILE_ARGS)
22
22
  ACOM_ARGS += $(COMPILE_ARGS)
23
23
  ASIM_ARGS += $(SIM_ARGS)
24
24
 
25
- RTL_LIBRARY ?= work
26
25
  ALOG_ARGS += +define+COCOTB_SIM -dbg
26
+
27
+ ifdef RTL_LIBRARY
28
+ $(warning Using RTL_LIBRARY is deprecated, please use TOPLEVEL_LIBRARY instead.)
29
+ TOPLEVEL_LIBRARY ?= $(RTL_LIBRARY)
30
+ else
31
+ TOPLEVEL_LIBRARY ?= work
32
+ endif
33
+
27
34
  ACOM_ARGS += -dbg
28
35
 
29
36
  GPI_EXTRA:=
@@ -46,8 +53,8 @@ endif
46
53
 
47
54
  # Create a DO script (Tcl-like but not fully compatible) based on the list of $(VERILOG_SOURCES)
48
55
  $(SIM_BUILD)/runsim.do : $(VERILOG_SOURCES) $(VHDL_SOURCES) | $(SIM_BUILD)
49
- @echo "alib $(RTL_LIBRARY)" > $@
50
- @echo "set worklib $(RTL_LIBRARY)" >> $@
56
+ @echo "alib $(TOPLEVEL_LIBRARY)" > $@
57
+ @echo "set worklib $(TOPLEVEL_LIBRARY)" >> $@
51
58
  ifneq ($(VHDL_SOURCES),)
52
59
  @echo "acom $(ACOM_ARGS) $(call to_tcl_path,$(VHDL_SOURCES))" >> $@
53
60
  endif
@@ -42,9 +42,12 @@ ifeq (, $(CMD))
42
42
  $(error Unable to locate command >$(CMD_BIN)<)
43
43
  endif
44
44
 
45
- RTL_LIBRARY ?= work
46
-
47
- TOPLEVEL_LIBRARY ?= $(RTL_LIBRARY)
45
+ ifdef RTL_LIBRARY
46
+ $(warning Using RTL_LIBRARY is deprecated, please use TOPLEVEL_LIBRARY instead.)
47
+ TOPLEVEL_LIBRARY ?= $(RTL_LIBRARY)
48
+ else
49
+ TOPLEVEL_LIBRARY ?= work
50
+ endif
48
51
  TOPLEVEL := "$(TOPLEVEL_LIBRARY).$(TOPLEVEL)"
49
52
 
50
53
  ifndef VLOG_ARGS
@@ -127,19 +130,19 @@ $(SIM_BUILD)/runsim.do : $(VHDL_SOURCES) $(VERILOG_SOURCES) $(CUSTOM_COMPILE_DEP
127
130
  @echo "}" >> $@
128
131
  @echo "vmap -c" >> $@
129
132
  $(foreach LIB, $(VHDL_LIB_ORDER), $(make_lib))
130
- @echo "if [file exists $(SIM_BUILD)/$(RTL_LIBRARY)] {vdel -lib $(SIM_BUILD)/$(RTL_LIBRARY) -all}" >> $@
131
- @echo "vlib $(SIM_BUILD)/$(RTL_LIBRARY)" >> $@
132
- @echo "vmap $(RTL_LIBRARY) $(SIM_BUILD)/$(RTL_LIBRARY)" >> $@
133
+ @echo "if [file exists $(SIM_BUILD)/$(TOPLEVEL_LIBRARY)] {vdel -lib $(SIM_BUILD)/$(TOPLEVEL_LIBRARY) -all}" >> $@
134
+ @echo "vlib $(SIM_BUILD)/$(TOPLEVEL_LIBRARY)" >> $@
135
+ @echo "vmap $(TOPLEVEL_LIBRARY) $(SIM_BUILD)/$(TOPLEVEL_LIBRARY)" >> $@
133
136
  ifneq ($(VHDL_SOURCES),)
134
- @echo "vcom -work $(RTL_LIBRARY) $(VCOM_ARGS) $(call to_tcl_path,$(VHDL_SOURCES))" >> $@
137
+ @echo "vcom -work $(TOPLEVEL_LIBRARY) $(VCOM_ARGS) $(call to_tcl_path,$(VHDL_SOURCES))" >> $@
135
138
  endif
136
139
  ifneq ($(VERILOG_SOURCES),)
137
- @echo "vlog -work $(RTL_LIBRARY) +define+COCOTB_SIM -sv $(VLOG_ARGS) $(EXTRA_ARGS) $(call to_tcl_path,$(VERILOG_SOURCES))" >> $@
140
+ @echo "vlog -work $(TOPLEVEL_LIBRARY) +define+COCOTB_SIM -sv $(VLOG_ARGS) $(EXTRA_ARGS) $(call to_tcl_path,$(VERILOG_SOURCES))" >> $@
138
141
  endif
139
142
  ifdef SCRIPT_FILE
140
143
  @echo "do $(SCRIPT_FILE)" >> $@
141
144
  endif
142
- @echo "vsim $(VSIM_ARGS) $(EXTRA_ARGS) $(PLUSARGS) $(SIM_BUILD)/$(TOPLEVEL)" >> $@
145
+ @echo "vsim $(VSIM_ARGS) $(EXTRA_ARGS) $(PLUSARGS) $(TOPLEVEL)" >> $@
143
146
  ifeq ($(WAVES),1)
144
147
  @echo "log -recursive /*" >> $@
145
148
  endif
@@ -69,9 +69,15 @@ ASIM_ARGS += $(SIM_ARGS)
69
69
  # Plusargs need to be passed to ASIM command not vsimsa
70
70
  ASIM_ARGS += $(PLUSARGS)
71
71
 
72
- RTL_LIBRARY ?= work
73
72
  ALOG_ARGS += +define+COCOTB_SIM
74
73
 
74
+ ifdef RTL_LIBRARY
75
+ $(warning Using RTL_LIBRARY is deprecated, please use TOPLEVEL_LIBRARY instead.)
76
+ TOPLEVEL_LIBRARY ?= $(RTL_LIBRARY)
77
+ else
78
+ TOPLEVEL_LIBRARY ?= work
79
+ endif
80
+
75
81
  # Pass the VPI library to the Verilog compilation to get extended checking.
76
82
  ALOG_ARGS += -pli $(shell cocotb-config --lib-name-path vpi riviera)
77
83
 
@@ -127,15 +133,15 @@ $(SIM_BUILD)/runsim.tcl : $(VERILOG_SOURCES) $(VHDL_SOURCES) | $(SIM_BUILD)
127
133
  @echo "@if [string length [array get env LICENSE_QUEUE]] {" >> $@
128
134
  @echo " set LICENSE_QUEUE $$::env(LICENSE_QUEUE)" >> $@
129
135
  @echo "}" >> $@
130
- @echo "if [file exists $(SIM_BUILD)/$(RTL_LIBRARY)] {adel -lib $(SIM_BUILD)/$(RTL_LIBRARY) -all}" >> $@;
131
- @echo "alib $(SIM_BUILD)/$(RTL_LIBRARY)" >> $@
132
- @echo "amap $(RTL_LIBRARY) $(SIM_BUILD)/$(RTL_LIBRARY)" >> $@;
133
- @echo "set worklib $(RTL_LIBRARY)" >> $@;
136
+ @echo "if [file exists $(SIM_BUILD)/$(TOPLEVEL_LIBRARY)] {adel -lib $(SIM_BUILD)/$(TOPLEVEL_LIBRARY) -all}" >> $@;
137
+ @echo "alib $(SIM_BUILD)/$(TOPLEVEL_LIBRARY)" >> $@
138
+ @echo "amap $(TOPLEVEL_LIBRARY) $(SIM_BUILD)/$(TOPLEVEL_LIBRARY)" >> $@;
139
+ @echo "set worklib $(TOPLEVEL_LIBRARY)" >> $@;
134
140
  ifneq ($(VHDL_SOURCES),)
135
- @echo "acom -work $(RTL_LIBRARY) $(ACOM_ARGS) $(call to_tcl_path,$(VHDL_SOURCES))" >> $@
141
+ @echo "acom -work $(TOPLEVEL_LIBRARY) $(ACOM_ARGS) $(call to_tcl_path,$(VHDL_SOURCES))" >> $@
136
142
  endif
137
143
  ifneq ($(VERILOG_SOURCES),)
138
- @echo "alog -work $(RTL_LIBRARY) $(ALOG_ARGS) $(call to_tcl_path,$(VERILOG_SOURCES))" >> $@
144
+ @echo "alog -work $(TOPLEVEL_LIBRARY) $(ALOG_ARGS) $(call to_tcl_path,$(VERILOG_SOURCES))" >> $@
139
145
  endif
140
146
  ifdef SCRIPT_FILE
141
147
  @echo "do $(SCRIPT_FILE)" >> $@
@@ -154,8 +160,8 @@ else
154
160
  @echo "run -all" >> $@
155
161
  @echo "endsim" >> $@
156
162
  ifeq ($(COVERAGE),1)
157
- @echo "acdb report -cov $(COVERAGE_TYPES) -db $(RTL_LIBRARY).acdb -html -o coverage/acdb_report.html" >> $@
158
- @echo "acdb report -cov $(COVERAGE_TYPES) -db $(RTL_LIBRARY).acdb -txt -o coverage/acdb_report.txt" >> $@
163
+ @echo "acdb report -cov $(COVERAGE_TYPES) -db $(TOPLEVEL_LIBRARY).acdb -html -o coverage/acdb_report.html" >> $@
164
+ @echo "acdb report -cov $(COVERAGE_TYPES) -db $(TOPLEVEL_LIBRARY).acdb -txt -o coverage/acdb_report.txt" >> $@
159
165
  endif
160
166
  @echo "exit" >> $@
161
167
  endif
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: cocotb
3
- Version: 1.9.1
3
+ Version: 1.9.2
4
4
  Summary: cocotb is a coroutine based cosimulation library for writing VHDL and Verilog testbenches in Python.
5
5
  Home-page: https://www.cocotb.org
6
6
  Author: Chris Higgs, Stuart Hodgson
@@ -18,6 +18,8 @@ Classifier: Programming Language :: Python :: 3.8
18
18
  Classifier: Programming Language :: Python :: 3.9
19
19
  Classifier: Programming Language :: Python :: 3.10
20
20
  Classifier: Programming Language :: Python :: 3.11
21
+ Classifier: Programming Language :: Python :: 3.12
22
+ Classifier: Programming Language :: Python :: 3.13
21
23
  Classifier: License :: OSI Approved :: BSD License
22
24
  Classifier: Topic :: Scientific/Engineering :: Electronic Design Automation (EDA)
23
25
  Classifier: Framework :: cocotb
@@ -125,6 +125,8 @@ setup(
125
125
  "Programming Language :: Python :: 3.9",
126
126
  "Programming Language :: Python :: 3.10",
127
127
  "Programming Language :: Python :: 3.11",
128
+ "Programming Language :: Python :: 3.12",
129
+ "Programming Language :: Python :: 3.13",
128
130
  "License :: OSI Approved :: BSD License",
129
131
  "Topic :: Scientific/Engineering :: Electronic Design Automation (EDA)",
130
132
  "Framework :: cocotb",
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes