Skip to main content

Functions

hwdbg supports multiple pre-defined functions. In the first release, the functions shown in the table below are supported. Note that, to make the debugger smaller (utilizing fewer resources), hardware engineers can configure it to remove the support for these functions.

FunctionDescription
printfSend an input message to the debugger
hw_triggerTrigger an event
hw_block_allBlock sending any output (output zero)
hw_unblock_allUnblock sending any output (output valid)
hw_pin_blockBlock sending specific pin output (pin output zero)
hw_port_blockBlock sending specific port output (port output zero)
hw_pin_unblockUnblock sending specific pin output (pin output valid)
hw_port_unblockUnblock sending specific port output (port output valid)