Skip to content

Commit 0bc72de

Browse files
authored
Merge pull request #112 from siliconcompiler/rc2
update names of classes to match SC
2 parents 6fa0386 + 0382a5c commit 0bc72de

File tree

9 files changed

+20
-20
lines changed

9 files changed

+20
-20
lines changed

examples/chip/chip.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
import subprocess
22

3-
from siliconcompiler import DesignSchema
3+
from siliconcompiler import Design
44

55
from lambdalib.padring import Padring
66

77

8-
class Chip(DesignSchema):
8+
class Chip(Design):
99
def __init__(self):
1010

1111
name = 'chip'

lambdalib/__init__.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from siliconcompiler import DesignSchema, ASICProject
1+
from siliconcompiler import Design, ASICProject
22

33
# individual modules
44
from lambdalib import auxlib
@@ -9,11 +9,11 @@
99
from lambdalib import ramlib
1010
from lambdalib import veclib
1111

12-
__version__ = "0.4.0-rc1"
12+
__version__ = "0.4.0-rc2"
1313

1414

15-
class LambalibTechLibrary(DesignSchema):
16-
"""A DesignSchema class to manage a lambda library and its associated technology libraries.
15+
class LambalibTechLibrary(Design):
16+
"""A Design class to manage a lambda library and its associated technology libraries.
1717
1818
This class encapsulates a main lambda library cell and a list of technology
1919
libraries, providing a mechanism to alias them within an ASIC project.

lambdalib/auxlib/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from siliconcompiler import DesignSchema
1+
from siliconcompiler import Design
22

33
from .la_drsync.la_drsync import Drsync
44
from .la_dsync.la_dsync import Dsync
@@ -47,7 +47,7 @@
4747
'Tbuf']
4848

4949

50-
class AUXLib(DesignSchema):
50+
class AUXLib(Design):
5151
def __init__(self):
5252
super().__init__("la_auxlib")
5353

lambdalib/fpgalib/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from siliconcompiler import DesignSchema
1+
from siliconcompiler import Design
22

33
from .la_lut4.la_lut4 import Lut4
44
from .la_ble4p0.la_ble4p0 import Ble4p0
@@ -9,7 +9,7 @@
99
'Lut4']
1010

1111

12-
class FPGALib(DesignSchema):
12+
class FPGALib(Design):
1313
def __init__(self):
1414
super().__init__("la_fpgalib")
1515

lambdalib/iolib/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from siliconcompiler import DesignSchema
1+
from siliconcompiler import Design
22

33
from .la_ioanalog.la_ioanalog import Ioanalog
44
from .la_iobidir.la_iobidir import Iobidir
@@ -35,7 +35,7 @@
3535
'Ioxtal']
3636

3737

38-
class IOLib(DesignSchema):
38+
class IOLib(Design):
3939
def __init__(self):
4040
super().__init__("la_iolib")
4141

lambdalib/lambdalib.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
from pathlib import Path
22
from typing import Union, List
3-
from siliconcompiler import DesignSchema
3+
from siliconcompiler import Design
44

55

6-
class Lambda(DesignSchema):
6+
class Lambda(Design):
77
def __init__(self,
88
name: str,
99
path: Union[str, Path],

lambdalib/ramlib/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from siliconcompiler import DesignSchema
1+
from siliconcompiler import Design
22

33
from .la_asyncfifo.la_asyncfifo import Asyncfifo
44
from .la_syncfifo.la_syncfifo import Syncfifo
@@ -11,7 +11,7 @@
1111
'Spram']
1212

1313

14-
class RAMLib(DesignSchema):
14+
class RAMLib(Design):
1515
def __init__(self):
1616
super().__init__("la_ramlib")
1717

lambdalib/stdlib/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from siliconcompiler import DesignSchema
1+
from siliconcompiler import Design
22

33
from .la_and2.la_and2 import And2
44
from .la_and3.la_and3 import And3
@@ -195,7 +195,7 @@
195195
'Xor4']
196196

197197

198-
class STDLib(DesignSchema):
198+
class STDLib(Design):
199199
def __init__(self):
200200
super().__init__("la_stdlib")
201201

lambdalib/veclib/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from siliconcompiler import DesignSchema
1+
from siliconcompiler import Design
22

33
from .la_vbuf.la_vbuf import Vbuf
44
from .la_vinv.la_vinv import Vinv
@@ -25,7 +25,7 @@
2525
'Vmux8']
2626

2727

28-
class STDLib(DesignSchema):
28+
class STDLib(Design):
2929
def __init__(self):
3030
super().__init__("la_veclib")
3131

0 commit comments

Comments
 (0)