Skip to content

Commit

Permalink
[Sim][#37] Refine verbalization of transistors.
Browse files Browse the repository at this point in the history
  • Loading branch information
kosarev committed Jun 13, 2022
1 parent 5d03dc8 commit a7e5efa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/z80sim/z80sim.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def __init__(self, index, gate, c1, c2):
self.state = False

def __repr__(self):
return f'{self.id}({self.c1}, {self.gate}, {self.c2})'
return f'{self.c1} = {self.c2} [{self.gate}] # {self.id}'

def __lt__(self, other):
return self.index < other.index
Expand Down

0 comments on commit a7e5efa

Please sign in to comment.