mirror of https://github.com/YosysHQ/yosys.git
Changed error message
This commit is contained in:
parent
41754b4207
commit
5f918803de
|
@ -27,7 +27,7 @@ FstData::FstData(std::string filename) : ctx(nullptr)
|
||||||
const std::vector<std::string> g_units = { "s", "ms", "us", "ns", "ps", "fs", "as", "zs" };
|
const std::vector<std::string> g_units = { "s", "ms", "us", "ns", "ps", "fs", "as", "zs" };
|
||||||
ctx = (fstReaderContext *)fstReaderOpen(filename.c_str());
|
ctx = (fstReaderContext *)fstReaderOpen(filename.c_str());
|
||||||
if (!ctx)
|
if (!ctx)
|
||||||
log_error("Error opening '%s'\n", filename.c_str());
|
log_error("Error opening '%s' as FST file\n", filename.c_str());
|
||||||
int scale = (int)fstReaderGetTimescale(ctx);
|
int scale = (int)fstReaderGetTimescale(ctx);
|
||||||
timescale = pow(10.0, scale);
|
timescale = pow(10.0, scale);
|
||||||
timescale_str = "";
|
timescale_str = "";
|
||||||
|
|
Loading…
Reference in New Issue