cocotb 1.9.0rc1__cp310-cp310-macosx_10_9_x86_64.whl → 1.9.1__cp310-cp310-macosx_10_9_x86_64.whl

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.

cocotb/_version.py CHANGED
@@ -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.0rc1"
8
+ __version__ = "1.9.1"
cocotb/binary.py CHANGED
@@ -569,13 +569,16 @@ class BinaryValue:
569
569
  if isinstance(other, (BinaryValue, LogicArray)):
570
570
  return self.binstr == other.binstr
571
571
  elif isinstance(other, int):
572
- return self.integer == other
572
+ try:
573
+ return self.integer == other
574
+ except ValueError:
575
+ return False
573
576
  elif isinstance(other, str):
574
577
  return self.binstr == other
575
578
  elif isinstance(other, Logic):
576
579
  return self.binstr == str(other)
577
580
  else:
578
- return False
581
+ return NotImplemented
579
582
 
580
583
  def __int__(self):
581
584
  return self.integer
cocotb/libs/libgpilog.so CHANGED
Binary file
@@ -188,7 +188,8 @@ int main(int argc, char** argv) {
188
188
  // VM_COVERAGE is a define which is set if Verilator is
189
189
  // instructed to collect coverage (when compiling the simulation)
190
190
  #if VM_COVERAGE
191
- VerilatedCov::write("coverage.dat");
191
+ VerilatedCov::write(); // Uses +verilator+coverage+file+<filename>,
192
+ // defaults to coverage.dat
192
193
  #endif
193
194
 
194
195
  return 0;
@@ -48,10 +48,11 @@ ifeq ($(VERILATOR_SIM_DEBUG), 1)
48
48
  endif
49
49
 
50
50
  ifeq ($(VERILATOR_TRACE),1)
51
- EXTRA_ARGS += --trace --trace-structs
51
+ COMPILE_ARGS += --trace --trace-structs
52
+ SIM_ARGS += --trace
52
53
  endif
53
54
 
54
- EXTRA_ARGS += --timescale $(COCOTB_HDL_TIMEUNIT)/$(COCOTB_HDL_TIMEPRECISION)
55
+ COMPILE_ARGS += --timescale $(COCOTB_HDL_TIMEUNIT)/$(COCOTB_HDL_TIMEPRECISION)
55
56
 
56
57
  COMPILE_ARGS += --vpi --public-flat-rw --prefix Vtop -o Vtop -LDFLAGS "-Wl,-rpath,$(shell cocotb-config --lib-dir) -L$(shell cocotb-config --lib-dir) -lcocotbvpi_verilator"
57
58
 
@@ -70,7 +71,7 @@ $(COCOTB_RESULTS_FILE): $(SIM_BUILD)/Vtop $(CUSTOM_SIM_DEPS)
70
71
  $(RM) $(COCOTB_RESULTS_FILE)
71
72
 
72
73
  MODULE=$(MODULE) TESTCASE=$(TESTCASE) TOPLEVEL=$(TOPLEVEL) TOPLEVEL_LANG=$(TOPLEVEL_LANG) \
73
- $(SIM_CMD_PREFIX) $< $(PLUSARGS) $(SIM_CMD_SUFFIX)
74
+ $(SIM_CMD_PREFIX) $< $(SIM_ARGS) $(EXTRA_ARGS) $(PLUSARGS) $(SIM_CMD_SUFFIX)
74
75
 
75
76
  $(call check_for_results_file)
76
77
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: cocotb
3
- Version: 1.9.0rc1
3
+ Version: 1.9.1
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
@@ -26,7 +26,7 @@ Description-Content-Type: text/markdown
26
26
  License-File: LICENSE
27
27
  Requires-Dist: find-libpython
28
28
  Provides-Extra: bus
29
- Requires-Dist: cocotb-bus ; extra == 'bus'
29
+ Requires-Dist: cocotb-bus; extra == "bus"
30
30
 
31
31
  **cocotb** is a coroutine based cosimulation library for writing VHDL and Verilog testbenches in Python.
32
32
 
@@ -1,20 +1,20 @@
1
1
  pygpi/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
2
  pygpi/entry.py,sha256=DYNuWRXyh60vjyM95JFltJSF67XtGkiqBD73-O37iXc,946
3
- cocotb-1.9.0rc1.dist-info/RECORD,,
4
- cocotb-1.9.0rc1.dist-info/LICENSE,sha256=8u54oq_hgh2uhGSCf5Fo3UpyB6DoAluUkPWp-ES7AFU,1542
5
- cocotb-1.9.0rc1.dist-info/WHEEL,sha256=gItc7VKdKM0_zEwEmrvXArFilwP_irGIryx1skdUxg4,110
6
- cocotb-1.9.0rc1.dist-info/entry_points.txt,sha256=Z2JL-ZgU-G5au6uYpkWZz9Pfk7qnh4fcoQJmBxnHSZQ,53
7
- cocotb-1.9.0rc1.dist-info/top_level.txt,sha256=Fl4sx6K1RYh5oUwTHM1KkMz54rCexCBjdDi5QiC8McE,546
8
- cocotb-1.9.0rc1.dist-info/METADATA,sha256=aSuq-4K4yrB2YgH_MipfdwwaujrDFizvJpJfXNCgK6g,6803
3
+ cocotb-1.9.1.dist-info/RECORD,,
4
+ cocotb-1.9.1.dist-info/LICENSE,sha256=8u54oq_hgh2uhGSCf5Fo3UpyB6DoAluUkPWp-ES7AFU,1542
5
+ cocotb-1.9.1.dist-info/WHEEL,sha256=BCYtZaR43JppvbLXFkxh6rdU58tVUsbXdVsxF5XIt4o,110
6
+ cocotb-1.9.1.dist-info/entry_points.txt,sha256=Z2JL-ZgU-G5au6uYpkWZz9Pfk7qnh4fcoQJmBxnHSZQ,53
7
+ cocotb-1.9.1.dist-info/top_level.txt,sha256=Fl4sx6K1RYh5oUwTHM1KkMz54rCexCBjdDi5QiC8McE,546
8
+ cocotb-1.9.1.dist-info/METADATA,sha256=rJl0l-Ru8NXQD2qfVW-zo4H1CDfnTPpSqgKOhdftiqQ,6799
9
9
  cocotb/queue.py,sha256=ZHaad7RMKla0NqC2k06DmVV7wXrtrteRVx19iE-0_5w,5159
10
10
  cocotb/_sim_versions.py,sha256=nbUkauB7RKure0FrUz52sHkJzoAeErEKZQeUfhryrvY,3544
11
- cocotb/binary.py,sha256=KWPVNrpaBmWbDz5mTwhzoSrvNBbEUyaYr4fojmU71qE,27153
11
+ cocotb/binary.py,sha256=pvlBIKIA1gQpauoJ4PP9FR01gQzv1aSQCNG3pl3uZl4,27243
12
12
  cocotb/task.py,sha256=4TvJ3YHjDV6-ZhTVe2xJHE1dLjcx8rAphCfDcpDOdLU,11035
13
13
  cocotb/runner.py,sha256=sP7YS7gs8mXvP9-sqoKdJE2Cm5t6-hAuDq3sFsnJiAs,50285
14
14
  cocotb/regression.py,sha256=6bY3dfnTWkH8iizMMRT3y6lOMBCkWuNUv8gcO_JujYQ,32968
15
15
  cocotb/config.py,sha256=Bt7zHgQTraNlNNH__jk05V1hr9Wd9TMSntax3OYASUA,9654
16
16
  cocotb/triggers.py,sha256=jGdbOEojYKoXmS2rrZAsPPeIIT0pPJAcdcGzGKY_854,34973
17
- cocotb/_version.py,sha256=PmjM1osjfD8Dmg8eyz3CID355E4wCHkSUokbR8TS0bA,298
17
+ cocotb/_version.py,sha256=1PXuTSbIr6EjjozOXzaNXz7uhBife3Lh6Giy3DVwJMU,295
18
18
  cocotb/simulator.cpython-310-darwin.so,sha256=y6OY4Lyl_sGsS64Utwqah3cuK7dfdqZRc_qnQH1N4HA,68608
19
19
  cocotb/log.py,sha256=ydt4ZFo1iuvFRp9uu05KBhN1-bK-gH0huCbE8xbG6PY,10443
20
20
  cocotb/handle.py,sha256=Hh23PPe8uWwR3QtCMnMpCUu6YPPm0OkeKpAwI8-X7yY,41627
@@ -53,7 +53,7 @@ cocotb/libs/libpygpilog.so,sha256=K2-Y2Vgp6UeMhZH83Qvfoq6nyIyGup_39HdXFQmfjx8,56
53
53
  cocotb/libs/libcocotbvpi_ghdl.so,sha256=eldz-NsOwQif3tNxVdCoppeBQDRLTjDWEbqDeouEq2I,126288
54
54
  cocotb/libs/libembed.so,sha256=xBsFSkUeJExC4f8HLHizdhDiMRYiODd9IKP4SZL8Lr8,53104
55
55
  cocotb/libs/libcocotbfli_modelsim.so,sha256=uvSHypriuGF6_WuSLm4J0quCf9gB6RxKKkHDNYFn9Kk,160688
56
- cocotb/libs/libgpilog.so,sha256=oDQlHkNATJJJ6-7upiit-CtqSK8ZtC-CRuTZg8_8lqk,37016
56
+ cocotb/libs/libgpilog.so,sha256=1J-K8K7qUkvBek3QnZpRCQowvrKkEUrin7Ts8ePjhQU,37048
57
57
  cocotb/libs/libcocotbvpi_ius.so,sha256=wET-FRrcHXtzh4E1UhnqWxABDQM2jGOW4xN9UQyP23M,125920
58
58
  cocotb/libs/libcocotbvhpi_aldec.so,sha256=lvrshD3NOB6TCc96SH1aU1hRg4XfPx0myXqvwVTJ7HI,145856
59
59
  cocotb/libs/libcocotbvpi_modelsim.so,sha256=tkHZmjOiNYHJgPc9aO4WjJAzllHgwqyFUE3c_JCQFE0,126304
@@ -81,9 +81,9 @@ cocotb/share/makefiles/simulators/Makefile.vcs,sha256=-qG38z_449aqygByZglkccLWbX
81
81
  cocotb/share/makefiles/simulators/Makefile.ghdl,sha256=USZfU8lHX7tt-f1WzOgTMQU7DUsv7zad7Cnuwvk3GOA,4736
82
82
  cocotb/share/makefiles/simulators/Makefile.xcelium,sha256=kw3AAYVJlWR-E6ti9DqsB36xu-6y0Vi3280F50nuvXA,5626
83
83
  cocotb/share/makefiles/simulators/Makefile.cvc,sha256=T29SoVjycTQZvCBVLrK1hAtNUBZcGUjuqVgSHgPPqZY,3919
84
- cocotb/share/makefiles/simulators/Makefile.verilator,sha256=dXVxfg4OngAICbCLB1tH9p0ulIuLCyhsLkbtA7dbLcs,2572
84
+ cocotb/share/makefiles/simulators/Makefile.verilator,sha256=B0je4MFhqIkJzR5y2lDc8sB4So7O6VH0VuQpwdT7Ko4,2624
85
85
  cocotb/share/makefiles/simulators/Makefile.riviera,sha256=abfiA2sb8BYrMZn1VSnn-ipIEhIxHaERxhHTty9FilQ,6664
86
86
  cocotb/share/makefiles/simulators/Makefile.nvc,sha256=qec9doM_JsPqnDFzfA7wRXd2c9p29XPC58mzl5n_Dqs,2123
87
87
  cocotb/share/makefiles/simulators/Makefile.icarus,sha256=4s1VVBtdkSDgdkDmmlrmWEXTf-BbohEB3sEEd63qM5Q,4367
88
88
  cocotb/share/makefiles/simulators/Makefile.questa,sha256=ee8q0uN9cVsOtSd6cIQvIFo5ZqQFLf04Y1AruI0j-R8,6413
89
- cocotb/share/lib/verilator/verilator.cpp,sha256=P20wRTkxfigz-QYLZVRonuzSJopcZOVvwTZvnW7p79M,5646
89
+ cocotb/share/lib/verilator/verilator.cpp,sha256=O31U_LFTIRNsUHmbJjnFTib-82EPDcVQ3UR9yj2c0b8,5734
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (70.2.0)
2
+ Generator: setuptools (74.0.0)
3
3
  Root-Is-Purelib: false
4
4
  Tag: cp310-cp310-macosx_10_9_x86_64
5
5