From 483a1081e7587f8b3bee6d56fb4e577a97281fbe Mon Sep 17 00:00:00 2001 From: whitequark Date: Tue, 9 Jun 2020 09:55:48 +0000 Subject: RTLIL: add Module::addProcess, use it in Module::cloneInto. NFC. --- kernel/rtlil.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'kernel/rtlil.h') diff --git a/kernel/rtlil.h b/kernel/rtlil.h index f751bdce4..f3dc3af68 100644 --- a/kernel/rtlil.h +++ b/kernel/rtlil.h @@ -1175,6 +1175,8 @@ public: RTLIL::Memory *addMemory(RTLIL::IdString name, const RTLIL::Memory *other); + RTLIL::Process *addProcess(RTLIL::IdString name, const RTLIL::Process *other); + // The add* methods create a cell and return the created cell. All signals must exist in advance. RTLIL::Cell* addNot (RTLIL::IdString name, const RTLIL::SigSpec &sig_a, const RTLIL::SigSpec &sig_y, bool is_signed = false, const std::string &src = ""); -- cgit v1.2.3