aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/fstdata.cc
Commit message (Collapse)AuthorAgeFilesLines
* Fixes for some of clang scan-build detected issuesMiodrag Milanovic2023-01-171-1/+1
|
* fstdata: Update past_data before end_time callbackJannis Harder2022-11-071-0/+1
| | | | Required to make the '-at' parameter work.
* fstdata: Handle square/angle bracket replacemnt, change memory handlingJannis Harder2022-11-071-8/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When writing VCDs smtbmc replaces square brackets with angle brackets to avoid the issues with VCD readers misinterpreting such signal names. For memory addresses it also uses angle brackets and hexadecimal addresses, while other tools will use square brackets and decimal addresses. Previously the code handled both forms of memory addresses, assuming that any signal that looks like a memory address is a memory address. This is not the case when the user uses regular signals whose names include square brackets _or_ when the verific frontend generates such names to represent various constructs. With this change all angular brackets are turned into square brackets when reading the trace _and_ when performing a signal lookup. This means no matter which kind of brackets are used in the design or in the VCD signals will be matched. This will not handle multiple signals that are the same apart from replacing square/angle brackets, but this will cause issues during the VCD writing of smtbmc already. It still uses the distinction between square and angle brackets for memories to decide whether the address is hex or decimal, but even if something looks like a memory and is added to the `memory_to_handle` data, the plain signal added to `name_to_handle` is used as-is, without rewriting the address. This last change is needed to successfully match verific generated signal names that look like memory addresses while keeping memories working at the same time. It may cause regressions when VCD generation was done with a design that had memories but simulation is done with a design where the memories were mapped to registers. This seems like an unusual setup, but could be worked around with some further changes should this be required.
* Observe $TMPDIR variable when creating tmp filesMohamed A. Bamakhrama2022-05-271-1/+1
| | | | | | | | | POSIX defines $TMPDIR as containing the pathname of the directory where programs can create temporary files. On most systems, this variable points to "/tmp". However, on some systems it can point to a different location. Without respecting this variable, yosys fails to run on such systems. Signed-off-by: Mohamed A. Bamakhrama <mohamed@alumni.tum.de>
* Handle possible non-memory indexed dataMiodrag Milanovic2022-05-061-8/+10
|
* map memory location to wire value, if memory is converted to FFsMiodrag Milanovic2022-05-041-0/+4
|
* Start restoring memory state from VCD/FSTMiodrag Milanovic2022-05-041-1/+31
|
* Ignore change on last edgeMiodrag Milanovic2022-04-221-4/+5
|
* Proper scope naming from FSTMiodrag Milanovic2022-03-301-8/+4
|
* More verbose warningsMiodrag Milanovic2022-03-181-1/+2
|
* Recognize registers and set initial state for them in tbMiodrag Milanovic2022-03-161-0/+1
|
* VCD reader support by using external toolMiodrag Milanovic2022-02-281-0/+19
|
* Fix for last clock edge dataMiodrag Milanovic2022-02-251-0/+1
|
* Changed error messageMiodrag Milanovic2022-02-181-1/+1
|
* Add support for various ff/latch cells simulationMiodrag Milanovic2022-02-161-98/+43
|
* Error detection for co-simulationMiodrag Milanovic2022-02-041-0/+2
|
* bug fix and cleanupsMiodrag Milanovic2022-02-041-1/+1
|
* CleanupMiodrag Milanovic2022-01-311-1/+0
|
* Display simulation time dataMiodrag Milanovic2022-01-311-1/+21
|
* ignore not found private signalsMiodrag Milanovic2022-01-281-2/+1
|
* preserve VCD mangled namesMiodrag Milanovic2022-01-281-1/+3
|
* detect edges even when xMiodrag Milanovic2022-01-281-2/+2
|
* cleanupMiodrag Milanovic2022-01-281-13/+1
|
* Do actual compareMiodrag Milanovic2022-01-281-65/+41
|
* Add more options and time handlingMiodrag Milanovic2022-01-281-0/+1
|
* Add fstdata helper classMiodrag Milanovic2022-01-261-0/+265