Skip to content

Commit

Permalink
Fix debug option.
Browse files Browse the repository at this point in the history
  • Loading branch information
srg320 committed Aug 11, 2022
1 parent 16af487 commit af87ce1
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions Saturn.sv
Expand Up @@ -351,12 +351,14 @@ module Saturn (
.SCKO(),
.SCKI(1'b1),

.MD(6'b001000),

.MD(6'b001000)
`ifdef DEBUG
,
.DBG_REGN('0),
.DBG_REGQ(),
.DBG_RUN(1),
.DBG_BREAK()
`endif
);

SH7604 SSH
Expand Down Expand Up @@ -415,12 +417,14 @@ module Saturn (
.SCKO(),
.SCKI(1'b1),

.MD(6'b101000),

.MD(6'b101000)
`ifdef DEBUG
,
.DBG_REGN('0),
.DBG_REGQ(),
.DBG_RUN(1),
.DBG_BREAK()
`endif
);

assign MSHIRL_N = CIRL_N;
Expand Down

0 comments on commit af87ce1

Please sign in to comment.