summaryrefslogtreecommitdiff
path: root/kernel/rtlil.h
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2015-06-17 09:38:56 +0200
committerClifford Wolf <clifford@clifford.at>2015-06-17 09:38:56 +0200
commit99100f367d9239b4607a7fee05855a5f34be4467 (patch)
treed858fc477e922432708583ce687a8ac8b7a18479 /kernel/rtlil.h
parent9f7a5b4ef92357761a3526fdc1c8171d8be9888c (diff)
Added "rename -top new_name"
Diffstat (limited to 'kernel/rtlil.h')
-rw-r--r--kernel/rtlil.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/rtlil.h b/kernel/rtlil.h
index e9deb1d5..b6248c4c 100644
--- a/kernel/rtlil.h
+++ b/kernel/rtlil.h
@@ -800,6 +800,7 @@ struct RTLIL::Design
RTLIL::ObjRange<RTLIL::Module*> modules();
RTLIL::Module *module(RTLIL::IdString name);
+ RTLIL::Module *top_module();
bool has(RTLIL::IdString id) const {
return modules_.count(id) != 0;