• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

arnavsacheti / PeakRDL-BusDecoder / 28907592898
92%

Build:
DEFAULT BRANCH: main
Ran 08 Jul 2026 12:11AM UTC
Jobs 1
Files 37
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

08 Jul 2026 12:08AM UTC coverage: 92.385% (-0.3%) from 92.641%
28907592898

push

github

web-flow
refactor(cpuif): hoist boilerplate into BaseCpuif and merge APB3/APB4 (#66)

Drives down per-protocol cpuif duplication:

1. Hoist shared cpuif scaffolding into BaseCpuif. The interface instance,
   `is_interface`, `signal()`, and `port_declaration` now live on the base,
   driven by class attributes (`flat_interface_cls`, `sv_interface_cls`,
   `slave_name_flat`, `slave_name_sv`, `master_signal_prefix`,
   `use_sv_interface`). Each SV-variant subclass collapses to a one-line
   `use_sv_interface = True`.

2. Replace the per-protocol SV-array fanin overrides with a declarative
   table (`sv_array_fanin_wr` / `sv_array_fanin_rd`). BaseCpuif now applies
   the override automatically and derives `fanin_intermediate_assignments`
   from the same tables. Subclasses only define `_default_fanin_wr` /
   `_default_fanin_rd`.

3. Collapse APB3 and APB4 into a shared `cpuif/apb/` package: one cpuif
   base, one interface module, one template. Variants differ by
   `apb_interface_type`, `has_pprot`, and `has_pstrb`. The `cpuif/apb3/`
   and `cpuif/apb4/` packages remain as thin re-exports for API stability.

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

182 of 182 new or added lines in 9 files covered. (100.0%)

2 existing lines in 1 file now uncovered.

1480 of 1602 relevant lines covered (92.38%)

0.92 hits per line

Coverage Regressions

Lines Coverage ∆ File
2
95.78
3.22% src/peakrdl_busdecoder/cpuif/base_cpuif.py
Jobs
ID Job ID Ran Files Coverage
1 28907592898.1 08 Jul 2026 12:11AM UTC 37
92.38
GitHub Action Run
Source Files on build 28907592898
  • Tree
  • List 37
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 690bb002 on github
  • Prev Build on main (#28907563270)
  • Next Build on main (#28909248224)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc