mirror of
https://github.com/YosysHQ/yosys
synced 2025-10-03 22:43:57 +00:00
More PEP 8 fixes.
This commit is contained in:
parent
c4ba1965fd
commit
d88cd0ae7f
2 changed files with 6 additions and 7 deletions
|
@ -22,7 +22,8 @@ import subprocess
|
|||
from select import select
|
||||
from time import time
|
||||
|
||||
class smtmodinfo:
|
||||
|
||||
class SmtModInfo:
|
||||
def __init__(self):
|
||||
self.inputs = set()
|
||||
self.outputs = set()
|
||||
|
@ -34,6 +35,7 @@ class smtmodinfo:
|
|||
self.asserts = dict()
|
||||
self.anyconsts = dict()
|
||||
|
||||
|
||||
class SmtIo:
|
||||
def __init__(self, solver=None, debug_print=None, debug_file=None, timeinfo=None, opts=None):
|
||||
if opts is not None:
|
||||
|
@ -108,7 +110,7 @@ class SmtIo:
|
|||
|
||||
if fields[1] == "yosys-smt2-module":
|
||||
self.curmod = fields[2]
|
||||
self.modinfo[self.curmod] = smtmodinfo()
|
||||
self.modinfo[self.curmod] = SmtModInfo()
|
||||
|
||||
if fields[1] == "yosys-smt2-cell":
|
||||
self.modinfo[self.curmod].cells[fields[3]] = fields[2]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue