From 25ec793e687821bd2ac5862fcf934c4c9c0f47b6 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Sun, 21 Oct 2012 07:29:40 -0700 Subject: moved commit and deprecated lock/unlock into hier block it can now be called from within a hier block once the design has been committed --- lib/hier_block.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/hier_block.cpp') diff --git a/lib/hier_block.cpp b/lib/hier_block.cpp index ef29cc2..422ed77 100644 --- a/lib/hier_block.cpp +++ b/lib/hier_block.cpp @@ -76,3 +76,8 @@ void HierBlock::disconnect_all(void) { (*this)->topology->clear_all(); } + +void HierBlock::commit(void) +{ + (*this)->topology->commit(); +} -- cgit