fix pass-through case
This commit is contained in:
1 parent
3d25b50a13
commit
a0cbf7c296
1 file changed
+1
@@ -183,6 +183,7 @@ class FaultSet:
|
||||
def fault_site_str(circuit: Circuit, tlib: TechLib, fault: int) -> str:
|
||||
site = circuit.lines[fault//2]
|
||||
if site.driver.kind == '__fork__':
|
||||
if site.reader.kind == '__fork__': return f'{site.driver.name}' # edge-case: pass-through connection
|
||||
return f'{site.reader.name}/{tlib.pin_name(site.reader.kind, site.reader_pin)}'
|
||||
elif site.driver.kind == 'input':
|
||||
return f'{site.driver.name}'
|
||||
|
||||
Reference in new issue
Block a user