aboutsummaryrefslogtreecommitdiffstats
path: root/frontends/liberty
diff options
context:
space:
mode:
authorN. Engelhardt <nak@yosyshq.com>2023-01-11 18:34:24 +0100
committerN. Engelhardt <nakengelhardt@gmail.com>2023-01-11 21:31:46 +0100
commit692a0fa33be72a5987e6ffe1cd591d2d501da507 (patch)
tree6dff5073646279ad77484e0556b444e94981d46e /frontends/liberty
parent4173daa70803ed6214eaf6d8e9b20ac8132cddbe (diff)
downloadyosys-692a0fa33be72a5987e6ffe1cd591d2d501da507.tar.gz
yosys-692a0fa33be72a5987e6ffe1cd591d2d501da507.tar.bz2
yosys-692a0fa33be72a5987e6ffe1cd591d2d501da507.zip
print filename in liberty log_header
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 188ef2e04..cadbcaee6 100644
--- a/frontends/liberty/liberty.cc
+++ b/frontends/liberty/liberty.cc
@@ -500,8 +500,6 @@ struct LibertyFrontend : public Frontend {
bool flag_ignore_miss_data_latch = false;
std::vector<std::string> attributes;
- log_header(design, "Executing Liberty frontend.\n");
-
size_t argidx;
for (argidx = 1; argidx < args.size(); argidx++) {
std::string arg = args[argidx];
@@ -546,6 +544,8 @@ struct LibertyFrontend : public Frontend {
if (flag_wb && flag_lib)
log_error("-wb and -lib cannot be specified together!\n");
+ log_header(design, "Executing Liberty frontend: %s\n", filename.c_str());
+
LibertyParser parser(*f);
int cell_count = 0;