aboutsummaryrefslogtreecommitdiffstats
path: root/backends/verilog/verilog_backend.h
diff options
context:
space:
mode:
Diffstat (limited to 'backends/verilog/verilog_backend.h')
-rw-r--r--backends/verilog/verilog_backend.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/backends/verilog/verilog_backend.h b/backends/verilog/verilog_backend.h
index c40830ef2..7e6ef5ab9 100644
--- a/backends/verilog/verilog_backend.h
+++ b/backends/verilog/verilog_backend.h
@@ -29,11 +29,10 @@
#ifndef VERILOG_BACKEND_H
#define VERILOG_BACKEND_H
-#include "kernel/rtlil.h"
-#include <stdio.h>
+#include "kernel/yosys.h"
namespace VERILOG_BACKEND {
- void verilog_backend(FILE *f, std::vector<std::string> args, RTLIL::Design *design);
+ void verilog_backend(std::ostream &f, std::vector<std::string> args, RTLIL::Design *design);
}
#endif