UCSBarchlab / PyRTL

A collection of classes providing simple hardware specification, simulation, tracing, and testing suitable for teaching and research. Simplicity, usability, clarity, and extensibility are the overarching goals, rather than performance or optimization.
http://ucsbarchlab.github.io/PyRTL
BSD 3-Clause "New" or "Revised" License
253 stars 76 forks source link

Fix tox tests on arm64: #426

Closed fdxmw closed 2 years ago

fdxmw commented 2 years ago

With this change the tox tests pass on a M1 Macbook Air:

$ uname -s -m
Darwin arm64
$ tox -p
GLOB sdist-make: /Users/lauj/projects/ucsb/pyrtl/setup.py 
✔ OK pycodestyle in 2.762 seconds
✔ OK py37-test in 38.054 seconds
✔ OK py27-test in 39.716 seconds
  py37-test: commands succeeded
  py27-test: commands succeeded
  pycodestyle: commands succeeded
  congratulations :)
codecov-commenter commented 2 years ago

Codecov Report

Merging #426 (3e2d4fd) into development (255a7a0) will decrease coverage by 0.01%. The diff coverage is 66.66%.

@@               Coverage Diff               @@
##           development     #426      +/-   ##
===============================================
- Coverage        90.52%   90.51%   -0.02%     
===============================================
  Files               24       24              
  Lines             6069     6071       +2     
===============================================
+ Hits              5494     5495       +1     
- Misses             575      576       +1     
Impacted Files Coverage Δ
pyrtl/compilesim.py 91.49% <66.66%> (-0.19%) :arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.