mirror of
https://github.com/YosysHQ/yosys
synced 2026-05-15 14:45:35 +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
|
|
@ -55,7 +55,7 @@ class FstData
|
|||
std::string valueOf(fstHandle signal);
|
||||
fstHandle getHandle(std::string name);
|
||||
dict<int,fstHandle> getMemoryHandles(std::string name);
|
||||
double getTimescale() { return timescale; }
|
||||
int getScale() { return scale; }
|
||||
const char *getTimescaleString() { return timescale_str.c_str(); }
|
||||
private:
|
||||
void extractVarNames();
|
||||
|
|
@ -69,7 +69,7 @@ private:
|
|||
uint64_t last_time;
|
||||
std::map<fstHandle, std::string> past_data;
|
||||
uint64_t past_time;
|
||||
double timescale;
|
||||
int scale;
|
||||
std::string timescale_str;
|
||||
uint64_t start_time;
|
||||
uint64_t end_time;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue