samna.testingModule.event#
Submodules#
Module content#
- class samna.testingModule.event.DebugDisable#
Bases:
pybind11_object
Event used to disable debug output on the Unifirm testing module. When disabled, only status messages detailing test results will be forwarded.
- class samna.testingModule.event.DebugEnable#
Bases:
pybind11_object
Event used to enable debug output on the Unifirm testing module.
- class samna.testingModule.event.EventMatchResult#
Bases:
pybind11_object
Event containing the result of an AER event match. EventMatchResult events are unordered, that is, they do not follow the way expected events were written into DRAM. To collect EventMatchResult events, the testing module debug mode must be enabled.
- property event#
AER event data.
- from_json(self: samna.testingModule.event.EventMatchResult, arg0: str) None #
- property success#
The result of the event match operation.
- to_json(self: samna.testingModule.event.EventMatchResult) str #
- class samna.testingModule.event.ExecuteAllTests#
Bases:
pybind11_object
Event used to execute a specific test.
- from_json(self: samna.testingModule.event.ExecuteAllTests, arg0: str) None #
- to_json(self: samna.testingModule.event.ExecuteAllTests) str #
- class samna.testingModule.event.ExecuteTest#
Bases:
pybind11_object
Event used to execute a specific test.
- from_json(self: samna.testingModule.event.ExecuteTest, arg0: str) None #
- to_json(self: samna.testingModule.event.ExecuteTest) str #
- class samna.testingModule.event.FlitMatchResult#
Bases:
pybind11_object
Event containing the result of a flit match. The ordering of FlitMatchResult events output by the testing module follows the way how the expected raw packet data is laid out in the DRAM. To collect FlitMatchResult events, the testing module debug mode must be enabled.
- property flit#
Flit data from a raw packet.
- from_json(self: samna.testingModule.event.FlitMatchResult, arg0: str) None #
- property success#
The result of the flit match operation.
- to_json(self: samna.testingModule.event.FlitMatchResult) str #
- class samna.testingModule.event.TestResult#
Bases:
pybind11_object
Event containing the result of a test.
- from_json(self: samna.testingModule.event.TestResult, arg0: str) None #
- property success#
The result of the test.
- property test_index#
The index of the test in the test suite.
- to_json(self: samna.testingModule.event.TestResult) str #
- class samna.testingModule.event.TestStart#
Bases:
pybind11_object
Event indicating the start of a test execution. To collect TestStart events, the testing module debug mode must be enabled.
- from_json(self: samna.testingModule.event.TestStart, arg0: str) None #
- property test_id#
The unique identifier of the test.
- property test_index#
The index of the test in the test suite.
- to_json(self: samna.testingModule.event.TestStart) str #
- class samna.testingModule.event.TimestepResult#
Bases:
pybind11_object
Event containing the result of a timestep. To collect TimestepResult events, the testing module debug mode must be enabled.
- property chip_stuck#
Indicates that the failure was caused by the chip getting stuck.
- property event_match_late#
Indicates that the event match failure was caused by receiving unexpected events after having finished the match successfully.
- property event_match_mismatch#
Indicates that the event match failure was caused by receiving unexpected events during matching.
- property event_match_success#
Indicates success of event data matching in the timestep.
- property event_match_timeout#
Indicates that the event match failure was caused by an event matcher time out.
- from_json(self: samna.testingModule.event.TimestepResult, arg0: str) None #
- property raw_match_mismatch#
Indicates that the raw match failure was caused by receiving an unexpected flit.
- property raw_match_success#
Indicates success of raw data matching in the timestep.
- property raw_match_timeout#
Indicates that the raw match failure was caused by a raw matcher time out.
- property success#
Indicates success of the timestep.
- property test_abort#
Indicates that the failure was caused by a test stop action.
- property test_timeout#
Indicates that the failure was caused by a test time out.
- property timestep_index#
The index of the timestep.
- property timestep_timeout#
Indicates that the failure was caused by a timestep time out.
- to_json(self: samna.testingModule.event.TimestepResult) str #
- class samna.testingModule.event.TimestepStart#
Bases:
pybind11_object
Event indicating the start of a timestep execution. To collect TimestepStart events, the testing module debug mode must be enabled.
- from_json(self: samna.testingModule.event.TimestepStart, arg0: str) None #
- property timestep_index#
The index of the timestep.
- to_json(self: samna.testingModule.event.TimestepStart) str #
- class samna.testingModule.event.WriteTestSuite#
Bases:
pybind11_object
Event used to write the test suite in the FPGA.
- from_json(self: samna.testingModule.event.WriteTestSuite, arg0: str) None #
- to_json(self: samna.testingModule.event.WriteTestSuite) str #