Skip to content

Commit

Permalink
odb dft: adding no-serializer-in and no-serializer-out to dbScanInst
Browse files Browse the repository at this point in the history
Signed-off-by: Felipe Garay <fgaray@google.com>
  • Loading branch information
fgaray committed Mar 20, 2024
1 parent 696a880 commit 92083d4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
4 changes: 4 additions & 0 deletions src/odb/src/codeGenerator/schema/scan/dbScanInst.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@
"name": "scan_out",
"type": "std::variant<dbBTerm*, dbITerm*>"
}
],
"flags": [
"no-serializer-in",
"no-serializer-out"
]
}
],
Expand Down
12 changes: 0 additions & 12 deletions src/odb/src/db/dbScanInst.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -109,12 +109,6 @@ _dbScanInst::_dbScanInst(_dbDatabase* db, const _dbScanInst& r)
clock_edge_ = r.clock_edge_;
}

dbIStream& operator>>(dbIStream& stream, dbScanInst::AccessPins& obj)
{
stream >> obj.scan_in;
stream >> obj.scan_out;
return stream;
}
dbIStream& operator>>(dbIStream& stream, _dbScanInst& obj)
{
stream >> obj.bits_;
Expand All @@ -126,12 +120,6 @@ dbIStream& operator>>(dbIStream& stream, _dbScanInst& obj)
return stream;
}

dbOStream& operator<<(dbOStream& stream, const dbScanInst::AccessPins& obj)
{
stream << obj.scan_in;
stream << obj.scan_out;
return stream;
}
dbOStream& operator<<(dbOStream& stream, const _dbScanInst& obj)
{
stream << obj.bits_;
Expand Down

0 comments on commit 92083d4

Please sign in to comment.