mirror of
https://github.com/YosysHQ/yosys
synced 2026-07-22 07:05:51 +00:00
Support for N-dimensional arrays in simulation
This commit is contained in:
parent
fe6dc21b49
commit
b6f118091c
3 changed files with 44 additions and 27 deletions
|
|
@ -55,7 +55,7 @@ class FstData
|
|||
std::string valueOf(fstHandle signal);
|
||||
fstHandle getHandle(std::string name);
|
||||
dict<int,fstHandle> getMemoryHandles(std::string name);
|
||||
dict<int,fstHandle> getArrayHandles(std::string name);
|
||||
dict<std::vector<int>,fstHandle> getArrayHandles(std::string name);
|
||||
double getTimescale() { return timescale; }
|
||||
const char *getTimescaleString() { return timescale_str.c_str(); }
|
||||
int getWidth(fstHandle signal);
|
||||
|
|
@ -68,7 +68,7 @@ private:
|
|||
std::map<fstHandle, FstVar> handle_to_var;
|
||||
std::map<std::string, fstHandle> name_to_handle;
|
||||
std::map<std::string, dict<int, fstHandle>> memory_to_handle;
|
||||
std::map<std::string, dict<int, fstHandle>> array_to_handle;
|
||||
std::map<std::string, dict<std::vector<int>, fstHandle>> array_to_handle;
|
||||
std::map<fstHandle, std::string> last_data;
|
||||
uint64_t last_time;
|
||||
std::map<fstHandle, std::string> past_data;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue