m-labs / nmigen
Showing 1 of 2 files from the diff.
Other files ignored by Codecov

@@ -304,6 +304,9 @@
Loading
304 304
        Part, out
305 305
            Selected part of the ``Value``
306 306
        """
307 +
        offset = Value.cast(offset)
308 +
        if type(offset) is Const and isinstance(width, int):
309 +
            return self[offset.value:offset.value + width]
307 310
        return Part(self, offset, width, stride=1, src_loc_at=1)
308 311
309 312
    def word_select(self, offset, width):
@@ -324,6 +327,9 @@
Loading
324 327
        Part, out
325 328
            Selected part of the ``Value``
326 329
        """
330 +
        offset = Value.cast(offset)
331 +
        if type(offset) is Const and isinstance(width, int):
332 +
            return self[offset.value * width:(offset.value + 1) * width]
327 333
        return Part(self, offset, width, stride=width, src_loc_at=1)
328 334
329 335
    def matches(self, *patterns):
Files Coverage
nmigen 82.30%
Project Totals (34 files) 82.30%
776.3
TRAVIS_PYTHON_VERSION=pypy3
TRAVIS_OS_NAME=linux
776.1
TRAVIS_PYTHON_VERSION=3.6
TRAVIS_OS_NAME=linux
778.2
TRAVIS_PYTHON_VERSION=3.7
TRAVIS_OS_NAME=linux
776.2
TRAVIS_PYTHON_VERSION=3.7
TRAVIS_OS_NAME=linux
778.3
TRAVIS_PYTHON_VERSION=pypy3
TRAVIS_OS_NAME=linux
778.1
TRAVIS_PYTHON_VERSION=3.6
TRAVIS_OS_NAME=linux

No yaml found.

Create your codecov.yml to customize your Codecov experience

Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading