original_docstring:  Assertion that fails iff a RAM register doesn't hold the expected value. 
docstring: Assertion that fails iff a RAM register doesn't hold the expected value.
docstring_tokens: Assertion that fails iff a RAM register doesn ' t hold the expected value .
code: def assertHyperRAMRegister(self, address: int, expected_value: int):
          """ Assertion that fails iff a RAM register doesn't hold the expected value. """
  
          self.dut.spi.register_write(REGISTER_RAM_REG_ADDR, address)
          self.dut.spi.register_write(REGISTER_RAM_REG_ADDR, address)
          actual_value =  self.dut.spi.register_read(REGISTER_RAM_VALUE)
  
          if actual_value != expected_value:
              raise AssertionError(f"PHY register {address} was {actual_value}, not expected {expected_value}")
code_tokens: def assertHyperRAMRegister ( self , address : int , expected_value : int ) : self . dut . spi . register_write ( REGISTER_RAM_REG_ADDR , address ) self . dut . spi . register_write ( REGISTER_RAM_REG_ADDR , address ) actual_value = self . dut . spi . register_read ( REGISTER_RAM_VALUE ) if actual_value != expected_value : raise AssertionError ( f"PHY register {address} was {actual_value}, not expected {expected_value}" )
short_docstring: Assertion that fails iff a RAM register doesn't hold the expected value.
short_docstring_tokens: Assertion that fails iff a RAM register doesn ' t hold the expected value .
comment: """ Assertion that fails iff a RAM register doesn't hold the expected value. """