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

arnavsacheti / PeakRDL-BusDecoder / 28911814161
92%

Build:
DEFAULT BRANCH: main
Ran 08 Jul 2026 01:58AM 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 01:54AM UTC coverage: 92.638% (+0.2%) from 92.425%
28911814161

push

github

web-flow
feat(cpuif): add --apb-buffer for APB slave-side I/O register slice (#75)

New exporter option (and CLI flag) inserts a single-flop register
slice on the APB slave-side I/O. Modes:

- "none" (default): no buffering
- "in":   register slave-side inputs  (PSEL/PENABLE/PWRITE/PADDR/
                                      PWDATA/PSTRB/PPROT)
- "out":  register slave-side outputs (PRDATA/PREADY/PSLVERR)
- "both": register both directions

Implementation:
- ``APBCpuifBase.signal()`` redirects slave-side references to
  ``apb_in_<X>``/``apb_out_<X>`` wires when the corresponding
  direction is buffered. Master-side fanout is unchanged.
- ``APBCpuifBase.apb_buffer_block()`` emits the wire declarations
  and (for the buffered direction) a single ``always_ff`` that
  flops on/off the slave port.
- The APB handshake is preserved by APB's PREADY-stretching
  semantics: each buffered direction adds one cycle to the access
  phase, which is allowed by the protocol.

Validation:
- ``apb_buffer != "none"`` requires ``clk_src=design`` (the flops
  use the design clk/rst).
- Non-APB cpuifs reject the option via
  ``BaseCpuif.supports_apb_buffer``.

Builds on the top-level ``clk``/``rst`` ports added by --clk-src
(#72), since the buffer flops use them. This is the foundation for
upcoming pipelining support.



Claude-Session: https://claude.ai/code/session_01GMyMaHGbpgrU6YvFVTjKYW

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

85 of 88 new or added lines in 5 files covered. (96.59%)

1 existing line in 1 file now uncovered.

1598 of 1725 relevant lines covered (92.64%)

0.93 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
98.71
-1.29% src/peakrdl_busdecoder/cpuif/apb/apb_cpuif.py
1
0.0
0.0% src/peakrdl_busdecoder/__peakrdl__.py

Coverage Regressions

Lines Coverage ∆ File
1
0.0
0.0% src/peakrdl_busdecoder/__peakrdl__.py
Jobs
ID Job ID Ran Files Coverage
1 28911814161.1 08 Jul 2026 01:58AM UTC 37
92.64
GitHub Action Run
Source Files on build 28911814161
  • Tree
  • List 37
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 7f689853 on github
  • Prev Build on main (#28910646470)
  • Next Build on main (#28911814070)
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