Skip to content

Commit

Permalink
update uncompressed read scanner so it can handle maybe token
Browse files Browse the repository at this point in the history
  • Loading branch information
bobcheng15 committed May 15, 2024
1 parent efd86e9 commit e44e024
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion sam/sim/src/rd_scanner.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,10 @@ def update(self):
stkn = increment_stkn(self.curr_in_ref)
self.curr_crd = stkn
self.curr_ref = stkn
return
elif is_0tkn(self.curr_in_ref):
self.curr_crd = 'N'
self.curr_ref = 'N'
self.emit_tkn = True
else:
self.curr_crd = 0
self.curr_ref = self.curr_crd + (self.curr_in_ref * self.meta_dim)
Expand Down

0 comments on commit e44e024

Please sign in to comment.