Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
andyfox-rushc committed Feb 8, 2024
1 parent ab50b08 commit 377760f
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/rmp/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,14 @@ target_sources(rmp
blifParser.cpp
blif.cpp
Restructure.cpp
Cut.cpp
CutGen.cpp
FuncExpr2Kit.cpp
LibRead.cpp
Ntk2Cut.cpp
Cut2Ntk.cpp
MakeRestructure.cpp
PhysRemap.cpp
)

messages(
Expand Down
44 changes: 44 additions & 0 deletions src/rmp/src/PhysRemap.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,46 @@
#include <sys/types.h>
#include <sys/wait.h>
#include <time.h>
#include <unistd.h>

#include <fstream>
#include <iostream>
#include <sstream>
#include <sta/Corner.hh>
#include <sta/PathRef.hh>
#include <sta/VertexVisitor.hh>

#include "base/abc/abc.h"
#include "base/main/abcapis.h"
#include "db_sta/dbNetwork.hh"
#include "db_sta/dbSta.hh"
#include "map/mio/mio.h"
#include "map/mio/mioInt.h"
#include "odb/db.h"
#include "ord/OpenRoad.hh"
#include "rmp/FuncExpr2Kit.h"
#include "rmp/blif.h"
#include "sta/ConcreteNetwork.hh"
#include "sta/Graph.hh"
#include "sta/Liberty.hh"
#include "sta/Network.hh"
#include "sta/PathEnd.hh"
#include "sta/PathExpanded.hh"
#include "sta/PathRef.hh"
#include "sta/PatternMatch.hh"
#include "sta/PortDirection.hh"
#include "sta/Sdc.hh"
#include "sta/Search.hh"
#include "sta/Sta.hh"
#include "utl/Logger.h"

#include "rmp/Restructure.h"
#include <base/io/ioAbc.h>
#include <base/main/main.h>
#include <base/main/mainInt.h>
#include <map/amap/amapInt.h>
using namespace abc;
namespace rmp {
void PhysRemap::Remap()
{
if (script_) {
Expand Down Expand Up @@ -170,3 +213,4 @@ void PhysRemap::BuildCutRealization(Abc_Ntk_t* nwk)
Ntk2Cut n2c(nwk, cut_, nwk_);
n2c.BuildNwkElements();
}
}

0 comments on commit 377760f

Please sign in to comment.