bump py versions
This commit is contained in:
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
@@ -25,6 +25,7 @@ jobs:
|
|||||||
- "3.10"
|
- "3.10"
|
||||||
- "3.11"
|
- "3.11"
|
||||||
- "3.12"
|
- "3.12"
|
||||||
|
- "3.13"
|
||||||
include:
|
include:
|
||||||
- os: ubuntu-latest
|
- os: ubuntu-latest
|
||||||
|
|
||||||
@@ -91,7 +92,7 @@ jobs:
|
|||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: "3.10"
|
python-version: "3.13"
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
@@ -113,7 +114,7 @@ jobs:
|
|||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: "3.10"
|
python-version: "3.13"
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
@@ -141,7 +142,7 @@ jobs:
|
|||||||
- uses: actions/setup-python@v4
|
- uses: actions/setup-python@v4
|
||||||
name: Install Python
|
name: Install Python
|
||||||
with:
|
with:
|
||||||
python-version: "3.10"
|
python-version: "3.13"
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -194,7 +194,7 @@ class DecodeLogicGenerator(RDLForLoopGenerator):
|
|||||||
n_subwords = regwidth // accesswidth
|
n_subwords = regwidth // accesswidth
|
||||||
subword_stride = accesswidth // 8
|
subword_stride = accesswidth // 8
|
||||||
for i in range(n_subwords):
|
for i in range(n_subwords):
|
||||||
rhs = f"cpuif_req_masked & (cpuif_addr == {self._get_address_str(node, subword_offset=(i*subword_stride))})"
|
rhs = f"cpuif_req_masked & (cpuif_addr == {self._get_address_str(node, subword_offset=i*subword_stride)})"
|
||||||
s = f"{self.addr_decode.get_access_strobe(node)}[{i}] = {rhs};"
|
s = f"{self.addr_decode.get_access_strobe(node)}[{i}] = {rhs};"
|
||||||
self.add_content(s)
|
self.add_content(s)
|
||||||
if node.external:
|
if node.external:
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ class StickyWEL(Sticky, WELWrite):
|
|||||||
|
|
||||||
class StickybitWE(Stickybit, WEWrite):
|
class StickybitWE(Stickybit, WEWrite):
|
||||||
"""
|
"""
|
||||||
Normal stickybiti with write enable
|
Normal stickybit with write enable
|
||||||
"""
|
"""
|
||||||
comment = "stickybit with WE"
|
comment = "stickybit with WE"
|
||||||
def is_match(self, field: 'FieldNode') -> bool:
|
def is_match(self, field: 'FieldNode') -> bool:
|
||||||
|
|||||||
@@ -50,10 +50,6 @@ load-plugins=
|
|||||||
# Pickle collected data for later comparisons.
|
# Pickle collected data for later comparisons.
|
||||||
persistent=yes
|
persistent=yes
|
||||||
|
|
||||||
# When enabled, pylint would attempt to guess common misconfiguration and emit
|
|
||||||
# user-friendly hints instead of false-positive error messages.
|
|
||||||
suggestion-mode=yes
|
|
||||||
|
|
||||||
# Allow loading of arbitrary C extensions. Extensions are imported into the
|
# Allow loading of arbitrary C extensions. Extensions are imported into the
|
||||||
# active Python interpreter and may run arbitrary code.
|
# active Python interpreter and may run arbitrary code.
|
||||||
unsafe-load-any-extension=no
|
unsafe-load-any-extension=no
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ cd "$(dirname "$0")"
|
|||||||
|
|
||||||
# Initialize venv
|
# Initialize venv
|
||||||
rm -rf .venv
|
rm -rf .venv
|
||||||
python3 -m venv .venv
|
python3.13 -m venv .venv
|
||||||
source .venv/bin/activate
|
source .venv/bin/activate
|
||||||
|
|
||||||
# Install test dependencies
|
# Install test dependencies
|
||||||
|
|||||||
Reference in New Issue
Block a user