summaryrefslogtreecommitdiff
path: root/backends/spice/spice.cc
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2014-09-27 16:17:53 +0200
committerClifford Wolf <clifford@clifford.at>2014-09-27 16:17:53 +0200
commitf9a307a50b5ce67b67d2b53e8c1334ea23ffd997 (patch)
tree5a591d0d03c9623abc02aaa3773458193f67ffa1 /backends/spice/spice.cc
parentbcd2625a8247ddbcf4a8a819eadcb03846537223 (diff)
namespace Yosys
Diffstat (limited to 'backends/spice/spice.cc')
-rw-r--r--backends/spice/spice.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/backends/spice/spice.cc b/backends/spice/spice.cc
index b057063c..2aff9419 100644
--- a/backends/spice/spice.cc
+++ b/backends/spice/spice.cc
@@ -24,6 +24,9 @@
#include "kernel/log.h"
#include <string>
+USING_YOSYS_NAMESPACE
+PRIVATE_NAMESPACE_BEGIN
+
static void print_spice_net(std::ostream &f, RTLIL::SigBit s, std::string &neg, std::string &pos, std::string &ncpf, int &nc_counter)
{
if (s.wire) {
@@ -231,3 +234,4 @@ struct SpiceBackend : public Backend {
}
} SpiceBackend;
+PRIVATE_NAMESPACE_END