Skip to content

Commit e0d25cb

Browse files
committed
gpl: make PortType private to MBFF
Signed-off-by: Matt Liberty <[email protected]>
1 parent 3b6533e commit e0d25cb

File tree

2 files changed

+16
-15
lines changed

2 files changed

+16
-15
lines changed

src/gpl/src/mbff.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -598,7 +598,7 @@ bool MBFF::IsValidTray(dbInst* tray)
598598
== tray->getITerms().size();
599599
}
600600

601-
PortName MBFF::PortType(const sta::LibertyPort* lib_port, dbInst* inst)
601+
MBFF::PortName MBFF::PortType(const sta::LibertyPort* lib_port, dbInst* inst)
602602
{
603603
dbMTerm* mterm = network_->staToDb(lib_port);
604604

src/gpl/src/mbff.h

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -35,20 +35,6 @@ struct Point;
3535
struct Tray;
3636
struct Flop;
3737
class AbstractGraphics;
38-
enum PortName
39-
{
40-
d,
41-
si,
42-
se,
43-
preset,
44-
clear,
45-
q,
46-
qn,
47-
vss,
48-
vdd,
49-
func,
50-
ifunc
51-
};
5238

5339
class MBFF
5440
{
@@ -69,6 +55,21 @@ class MBFF
6955
void Run(int mx_sz, float alpha, float beta);
7056

7157
private:
58+
enum PortName
59+
{
60+
d,
61+
si,
62+
se,
63+
preset,
64+
clear,
65+
q,
66+
qn,
67+
vss,
68+
vdd,
69+
func,
70+
ifunc
71+
};
72+
7273
// get the respective q/qn pins for a d pin
7374
struct FlopOutputs
7475
{

0 commit comments

Comments
 (0)