summaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
Diffstat (limited to 'backends')
-rw-r--r--backends/spice/spice.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/spice/spice.cc b/backends/spice/spice.cc
index 28a91714..e1a196b8 100644
--- a/backends/spice/spice.cc
+++ b/backends/spice/spice.cc
@@ -139,7 +139,7 @@ struct SpiceBackend : public Backend {
virtual void execute(FILE *&f, std::string filename, std::vector<std::string> args, RTLIL::Design *design)
{
std::string top_module_name;
- RTLIL::Module *top_module;
+ RTLIL::Module *top_module = NULL;
bool big_endian = false;
std::string neg = "Vss", pos = "Vdd", ncpf = "_NC";