Module: OrigenDebuggers::PEmicro::Custom
- Included in:
- OrigenDebuggers::PEmicro
- Defined in:
- lib/origen_debuggers/p_and_e.rb
Overview
Other methods can expose unique features of a given debugger
Instance Method Summary collapse
-
#enter_jtag ⇒ Object
not expected to be typically used, should be automatically handled in code, unless manually doing dw “…” calls.
-
#exit_jtag ⇒ Object
not expected to be typically used, should be automatically handled in code, unless manually doing dw “…” calls.
- #go ⇒ Object
- #halt ⇒ Object
- #set_pc(address) ⇒ Object (also: #setPC)
Instance Method Details
#enter_jtag ⇒ Object
not expected to be typically used, should be automatically handled in code, unless manually doing dw “…” calls
299 300 301 302 |
# File 'lib/origen_debuggers/p_and_e.rb', line 299 def enter_jtag # not expected to be typically used, should be automatically handled in code, unless manually doing dw "..." calls dw 'jtag_start' @in_jtag = true end |
#exit_jtag ⇒ Object
not expected to be typically used, should be automatically handled in code, unless manually doing dw “…” calls
294 295 296 297 |
# File 'lib/origen_debuggers/p_and_e.rb', line 294 def exit_jtag # not expected to be typically used, should be automatically handled in code, unless manually doing dw "..." calls dw 'jtag_end' @in_jtag = false end |
#go ⇒ Object
284 285 286 287 288 |
# File 'lib/origen_debuggers/p_and_e.rb', line 284 def go dw 'jtag_end' if @in_jtag @in_jtag = false dw 'GO' end |
#halt ⇒ Object
290 291 292 |
# File 'lib/origen_debuggers/p_and_e.rb', line 290 def halt dw "\n" end |
#set_pc(address) ⇒ Object Also known as: setPC
277 278 279 280 281 |
# File 'lib/origen_debuggers/p_and_e.rb', line 277 def set_pc(address) dw 'jtag_end' if @in_jtag @in_jtag = false dw "PC $#{address.to_s(16).upcase}" end |