pymtl / pymtl3

Pymtl 3 (Mamba), an open-source Python-based hardware generation, simulation, and verification framework
BSD 3-Clause "New" or "Revised" License
388 stars 46 forks source link

Fix out-of-bound index in verilog_cmp #200

Closed ptpan closed 4 years ago

ptpan commented 4 years ago

This PR fixes an index out-of-bound bug when comparing two Verilog files.

codecov[bot] commented 4 years ago

Codecov Report

Merging #200 into master will increase coverage by 0.00%. The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #200   +/-   ##
=======================================
  Coverage   90.49%   90.49%           
=======================================
  Files         316      316           
  Lines       27832    27833    +1     
=======================================
+ Hits        25186    25187    +1     
  Misses       2646     2646           
Impacted Files Coverage Δ
pymtl3/passes/backends/verilog/util/utility.py 92.59% <100.00%> (+0.04%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 475bfeb...706b596. Read the comment docs.