Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: m-labs/nmigen-soc
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1b0f2e9f69b6
Choose a base ref
...
head repository: m-labs/nmigen-soc
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 120ea5387c85
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Oct 25, 2019

  1. test: silence spurious warning.

    whitequark committed Oct 25, 2019
    Copy the full SHA
    120ea53 View commit details
Showing with 2 additions and 0 deletions.
  1. +2 −0 nmigen_soc/test/test_csr_bus.py
2 changes: 2 additions & 0 deletions nmigen_soc/test/test_csr_bus.py
Original file line number Diff line number Diff line change
@@ -85,6 +85,7 @@ def test_data_width_wrong(self):
class DecoderTestCase(unittest.TestCase):
def setUp(self):
self.dut = Decoder(addr_width=16, data_width=8)
Fragment.get(self.dut, platform=None) # silence UnusedElaboratable

def test_add_4b(self):
self.assertEqual(self.dut.add(Element(4, "rw")),
@@ -197,6 +198,7 @@ def sim_test():
class DecoderAlignedTestCase(unittest.TestCase):
def setUp(self):
self.dut = Decoder(addr_width=16, data_width=8, alignment=2)
Fragment.get(self.dut, platform=None) # silence UnusedElaboratable

def test_add_two(self):
self.assertEqual(self.dut.add(Element(8, "rw")),