Skip to content

Commit e09d260

Browse files
committed
[vpr][place] raise error when read/write of simple place delay model is called
1 parent e99cfd4 commit e09d260

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

vpr/src/place/place_delay_model.cpp

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,14 @@ float SimpleDelayModel::delay(const t_physical_tile_loc& from_loc, int /*from_pi
170170
"is disable because VTR_ENABLE_CAPNPROTO=OFF." \
171171
"Re-compile with CMake option VTR_ENABLE_CAPNPROTO=ON to enable."
172172

173+
void SimpleDelayModel::read(const std::string& /*file*/) {
174+
VPR_THROW(VPR_ERROR_PLACE, "SimpleDelayModel::read " DISABLE_ERROR);
175+
}
176+
177+
void SimpleDelayModel::write(const std::string& /*file*/) const {
178+
VPR_THROW(VPR_ERROR_PLACE, "SimpleDelayModel::write " DISABLE_ERROR);
179+
}
180+
173181
void DeltaDelayModel::read(const std::string& /*file*/) {
174182
VPR_THROW(VPR_ERROR_PLACE, "DeltaDelayModel::read " DISABLE_ERROR);
175183
}

0 commit comments

Comments
 (0)