* fix

* fix pyrefly

* remove tests

* Update tests/unit/test_exporter.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update src/peakrdl_busdecoder/listener.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update tests/unit/test_exporter.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* fix iter

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Arnav Sacheti
2025-10-26 14:40:03 -07:00
committed by GitHub
parent c9addd6ac2
commit 93276ff616
11 changed files with 715 additions and 676 deletions

View File

@@ -1,6 +1,6 @@
"""Pytest fixtures for unit tests."""
from __future__ import annotations
from pathlib import Path
from tempfile import NamedTemporaryFile

View File

@@ -1,6 +1,6 @@
"""Tests for body classes used in code generation."""
from __future__ import annotations
import pytest

View File

@@ -1,6 +1,5 @@
"""Integration tests for the BusDecoderExporter."""
from __future__ import annotations
import os
from pathlib import Path
@@ -321,7 +320,6 @@ class TestAPB4Interface:
module_file = tmp_path / "test_block.sv"
module_content = module_file.read_text()
# For a [2][3] array where each register is 4 bytes:
# i0 (leftmost/slowest) should have stride = 3 * 4 = 12 (0xc)
# i1 (rightmost/fastest) should have stride = 4 (0x4)

View File

@@ -1,6 +1,6 @@
"""Tests for code generation classes."""
from __future__ import annotations
import pytest

View File

@@ -1,6 +1,6 @@
"""Tests for utility functions."""
from __future__ import annotations
import pytest
from systemrdl import RDLCompiler