mirror of
https://github.com/YosysHQ/yosys
synced 2026-05-13 13:45:28 +00:00
Make sure co-simulation only uses integer arithmetic
This commit is contained in:
parent
7e7336cdb8
commit
e69341cd5f
3 changed files with 38 additions and 25 deletions
|
|
@ -45,8 +45,7 @@ FstData::FstData(std::string filename) : ctx(nullptr)
|
|||
ctx = (fstReaderContext *)fstReaderOpen(filename.c_str());
|
||||
if (!ctx)
|
||||
log_error("Error opening '%s' as FST file\n", filename);
|
||||
int scale = (int)fstReaderGetTimescale(ctx);
|
||||
timescale = pow(10.0, scale);
|
||||
scale = (int)fstReaderGetTimescale(ctx);
|
||||
timescale_str = "";
|
||||
int unit = 0;
|
||||
int zeros = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue