From: Clifford Wolf Date: Mon, 24 Nov 2014 11:55:30 +0000 (+0100) Subject: Some fixes in stubnets example X-Git-Tag: yosys-0.5~271 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=751fb33688b06d8dab01b7f8334055d5cd227c94;p=yosys.git Some fixes in stubnets example --- diff --git a/manual/CHAPTER_Prog/stubnets.cc b/manual/CHAPTER_Prog/stubnets.cc index 8880af5a6..4849c6a7b 100644 --- a/manual/CHAPTER_Prog/stubnets.cc +++ b/manual/CHAPTER_Prog/stubnets.cc @@ -5,15 +5,16 @@ // binary, for any purpose, commercial or non-commercial, and by any // means. -#include "kernel/rtlil.h" -#include "kernel/register.h" +#include "kernel/yosys.h" #include "kernel/sigtools.h" -#include "kernel/log.h" #include #include #include +USING_YOSYS_NAMESPACE +PRIVATE_NAMESPACE_BEGIN + // this function is called for each module in the design static void find_stub_nets(RTLIL::Design *design, RTLIL::Module *module, bool report_bits) { @@ -126,3 +127,4 @@ struct StubnetsPass : public Pass { } } StubnetsPass; +PRIVATE_NAMESPACE_END