mirror of https://github.com/VLSIDA/OpenRAM.git
Merge branch 'dev' into automated_analytical_model
This commit is contained in:
commit
7259c197d8
|
|
@ -115,7 +115,7 @@ def bp():
|
||||||
Usage:
|
Usage:
|
||||||
1) Add a breakpoint anywhere in your code with "import debug; debug.bp()".
|
1) Add a breakpoint anywhere in your code with "import debug; debug.bp()".
|
||||||
2) Run "python3 -m pdb openram.py config.py" or "python3 -m pdb 05_bitcell_array.test" (for example)
|
2) Run "python3 -m pdb openram.py config.py" or "python3 -m pdb 05_bitcell_array.test" (for example)
|
||||||
3) When pdb starts, run "break debug.py" to set a SOFT breakpoint. (Or you can add this to your ~/.pdbrc)
|
3) When pdb starts, run "break debug.bp" to set a SOFT breakpoint. (Or you can add this to your ~/.pdbrc)
|
||||||
4) Then run "cont" to continue.
|
4) Then run "cont" to continue.
|
||||||
5) You can now set additional breakpoints or display commands
|
5) You can now set additional breakpoints or display commands
|
||||||
and whenever you encounter the debug.bp() they won't be "reset".
|
and whenever you encounter the debug.bp() they won't be "reset".
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue