Created
August 7, 2020 06:27
-
-
Save splhack/27bdefdb19f95eca9d7b05da8805e867 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| =================================== FAILURES =================================== | |
| __________________________ test_sequential2_ite_tuple __________________________ | |
| def test_sequential2_ite_tuple(): | |
| @m.sequential2() | |
| > class Test: | |
| tests/test_syntax/test_sequential2.py:441: | |
| _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
| magma/syntax/sequential2.py:387: in seq_inner | |
| class SequentialCircuit(Circuit): | |
| magma/syntax/sequential2.py:404: in SequentialCircuit | |
| call_result = cls.__call__(*call_args) | |
| magma/syntax/sequential2.py:232: in _seq_phi | |
| return s.ite(t, f) | |
| magma/bit.py:176: in ite | |
| return self._Mux(2, t_type)()(f_branch, t_branch, self) | |
| magma/generator.py:102: in __call__ | |
| this = _make_type(cls, *args, **kwargs) | |
| magma/generator.py:75: in _make_type | |
| cls.__init__(dummy, *args, **kwargs) | |
| magma/primitives/mux.py:56: in __init__ | |
| data = [Array[N, Bit](getattr(self.io, f"I{i}").flatten()) | |
| magma/primitives/mux.py:56: in <listcomp> | |
| data = [Array[N, Bit](getattr(self.io, f"I{i}").flatten()) | |
| magma/tuple.py:354: in flatten | |
| return sum([t.flatten() for t in self.ts], []) | |
| magma/tuple.py:354: in <listcomp> | |
| return sum([t.flatten() for t in self.ts], []) | |
| magma/protocol_type.py:90: in flatten | |
| return self._get_magma_value_().flatten() | |
| _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
| self = <magma.syntax.sequential2._SequentialRegisterWrapperOut(Bit) object at 0x15357b715a00> | |
| def _get_magma_value_(self): | |
| # Return output | |
| > return self.circuit() | |
| E TypeError: __call__() missing 1 required positional argument: 'output' | |
| magma/syntax/sequential2.py:99: TypeError | |
| _________________________ test_sequential2_ite_product _________________________ | |
| def test_sequential2_ite_product(): | |
| @m.sequential2() | |
| > class Test: | |
| tests/test_syntax/test_sequential2.py:492: | |
| _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
| magma/syntax/sequential2.py:387: in seq_inner | |
| class SequentialCircuit(Circuit): | |
| magma/syntax/sequential2.py:404: in SequentialCircuit | |
| call_result = cls.__call__(*call_args) | |
| magma/syntax/sequential2.py:232: in _seq_phi | |
| return s.ite(t, f) | |
| magma/bit.py:176: in ite | |
| return self._Mux(2, t_type)()(f_branch, t_branch, self) | |
| magma/generator.py:102: in __call__ | |
| this = _make_type(cls, *args, **kwargs) | |
| magma/generator.py:75: in _make_type | |
| cls.__init__(dummy, *args, **kwargs) | |
| magma/primitives/mux.py:56: in __init__ | |
| data = [Array[N, Bit](getattr(self.io, f"I{i}").flatten()) | |
| magma/primitives/mux.py:56: in <listcomp> | |
| data = [Array[N, Bit](getattr(self.io, f"I{i}").flatten()) | |
| magma/tuple.py:354: in flatten | |
| return sum([t.flatten() for t in self.ts], []) | |
| magma/tuple.py:354: in <listcomp> | |
| return sum([t.flatten() for t in self.ts], []) | |
| magma/protocol_type.py:90: in flatten | |
| return self._get_magma_value_().flatten() | |
| _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
| self = <magma.syntax.sequential2._SequentialRegisterWrapperOut(Bit) object at 0x15357b752760> | |
| def _get_magma_value_(self): | |
| # Return output | |
| > return self.circuit() | |
| E TypeError: __call__() missing 1 required positional argument: 'output' | |
| magma/syntax/sequential2.py:99: TypeError | |
| __________________________ test_sequential2_ite_bits ___________________________ | |
| def test_sequential2_ite_bits(): | |
| @m.sequential2() | |
| > class Test: | |
| tests/test_syntax/test_sequential2.py:581: | |
| _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
| magma/syntax/sequential2.py:387: in seq_inner | |
| class SequentialCircuit(Circuit): | |
| magma/syntax/sequential2.py:404: in SequentialCircuit | |
| call_result = cls.__call__(*call_args) | |
| magma/syntax/sequential2.py:232: in _seq_phi | |
| return s.ite(t, f) | |
| magma/bit.py:176: in ite | |
| return self._Mux(2, t_type)()(f_branch, t_branch, self) | |
| magma/generator.py:102: in __call__ | |
| this = _make_type(cls, *args, **kwargs) | |
| magma/generator.py:75: in _make_type | |
| cls.__init__(dummy, *args, **kwargs) | |
| magma/primitives/mux.py:56: in __init__ | |
| data = [Array[N, Bit](getattr(self.io, f"I{i}").flatten()) | |
| magma/primitives/mux.py:56: in <listcomp> | |
| data = [Array[N, Bit](getattr(self.io, f"I{i}").flatten()) | |
| magma/tuple.py:354: in flatten | |
| return sum([t.flatten() for t in self.ts], []) | |
| magma/tuple.py:354: in <listcomp> | |
| return sum([t.flatten() for t in self.ts], []) | |
| magma/protocol_type.py:90: in flatten | |
| return self._get_magma_value_().flatten() | |
| _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
| self = <magma.syntax.sequential2._SequentialRegisterWrapperOut(Bits[8]) object at 0x15357b533cd0> | |
| def _get_magma_value_(self): | |
| # Return output | |
| > return self.circuit() | |
| E TypeError: __call__() missing 1 required positional argument: 'o' | |
| magma/syntax/sequential2.py:99: TypeError | |
| _________________________ test_sequential2_ite_complex _________________________ | |
| def test_sequential2_ite_complex(): | |
| @m.sequential2() | |
| > class Test: | |
| tests/test_syntax/test_sequential2.py:637: | |
| _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
| magma/syntax/sequential2.py:387: in seq_inner | |
| class SequentialCircuit(Circuit): | |
| magma/syntax/sequential2.py:404: in SequentialCircuit | |
| call_result = cls.__call__(*call_args) | |
| magma/syntax/sequential2.py:232: in _seq_phi | |
| return s.ite(t, f) | |
| magma/bit.py:176: in ite | |
| return self._Mux(2, t_type)()(f_branch, t_branch, self) | |
| magma/generator.py:102: in __call__ | |
| this = _make_type(cls, *args, **kwargs) | |
| magma/generator.py:75: in _make_type | |
| cls.__init__(dummy, *args, **kwargs) | |
| magma/primitives/mux.py:56: in __init__ | |
| data = [Array[N, Bit](getattr(self.io, f"I{i}").flatten()) | |
| magma/primitives/mux.py:56: in <listcomp> | |
| data = [Array[N, Bit](getattr(self.io, f"I{i}").flatten()) | |
| magma/tuple.py:354: in flatten | |
| return sum([t.flatten() for t in self.ts], []) | |
| magma/tuple.py:354: in <listcomp> | |
| return sum([t.flatten() for t in self.ts], []) | |
| magma/tuple.py:354: in flatten | |
| return sum([t.flatten() for t in self.ts], []) | |
| magma/tuple.py:354: in <listcomp> | |
| return sum([t.flatten() for t in self.ts], []) | |
| magma/protocol_type.py:90: in flatten | |
| return self._get_magma_value_().flatten() | |
| _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
| self = <magma.syntax.sequential2._SequentialRegisterWrapperOut(Bits[2]) object at 0x15357c1ee130> | |
| def _get_magma_value_(self): | |
| # Return output | |
| > return self.circuit() | |
| E TypeError: __call__() missing 1 required positional argument: 'o' | |
| magma/syntax/sequential2.py:99: TypeError | |
| =========================== short test summary info ============================ | |
| FAILED tests/test_syntax/test_sequential2.py::test_sequential2_ite_tuple - Ty... | |
| FAILED tests/test_syntax/test_sequential2.py::test_sequential2_ite_product - ... | |
| FAILED tests/test_syntax/test_sequential2.py::test_sequential2_ite_bits - Typ... | |
| FAILED tests/test_syntax/test_sequential2.py::test_sequential2_ite_complex - ... | |
| ================= 4 failed, 14 passed, 14 deselected in 2.91s ================== |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment