summaryrefslogtreecommitdiff
path: root/frontends/liberty
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/liberty')
-rw-r--r--frontends/liberty/liberty.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/liberty/liberty.cc b/frontends/liberty/liberty.cc
index 83bfce37..a9ab022a 100644
--- a/frontends/liberty/liberty.cc
+++ b/frontends/liberty/liberty.cc
@@ -430,7 +430,7 @@ struct LibertyFrontend : public Frontend {
log(" set the specified attribute (to the value 1) on all loaded modules\n");
log("\n");
}
- virtual void execute(FILE *&f, std::string filename, std::vector<std::string> args, RTLIL::Design *design)
+ virtual void execute(std::istream *&f, std::string filename, std::vector<std::string> args, RTLIL::Design *design)
{
bool flag_lib = false;
bool flag_ignore_redef = false;
@@ -467,7 +467,7 @@ struct LibertyFrontend : public Frontend {
}
extra_args(f, filename, args, argidx);
- LibertyParser parser(f);
+ LibertyParser parser(*f);
int cell_count = 0;
for (auto cell : parser.ast->children)