mirror of https://github.com/YosysHQ/yosys.git
Some fixes in stubnets example
This commit is contained in:
parent
263f672a3f
commit
751fb33688
|
@ -5,15 +5,16 @@
|
||||||
// binary, for any purpose, commercial or non-commercial, and by any
|
// binary, for any purpose, commercial or non-commercial, and by any
|
||||||
// means.
|
// means.
|
||||||
|
|
||||||
#include "kernel/rtlil.h"
|
#include "kernel/yosys.h"
|
||||||
#include "kernel/register.h"
|
|
||||||
#include "kernel/sigtools.h"
|
#include "kernel/sigtools.h"
|
||||||
#include "kernel/log.h"
|
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <map>
|
#include <map>
|
||||||
#include <set>
|
#include <set>
|
||||||
|
|
||||||
|
USING_YOSYS_NAMESPACE
|
||||||
|
PRIVATE_NAMESPACE_BEGIN
|
||||||
|
|
||||||
// this function is called for each module in the design
|
// this function is called for each module in the design
|
||||||
static void find_stub_nets(RTLIL::Design *design, RTLIL::Module *module, bool report_bits)
|
static void find_stub_nets(RTLIL::Design *design, RTLIL::Module *module, bool report_bits)
|
||||||
{
|
{
|
||||||
|
@ -126,3 +127,4 @@ struct StubnetsPass : public Pass {
|
||||||
}
|
}
|
||||||
} StubnetsPass;
|
} StubnetsPass;
|
||||||
|
|
||||||
|
PRIVATE_NAMESPACE_END
|
||||||
|
|
Loading…
Reference in New Issue