• Writing a VCD to toggle-count generator in Python

    From artemismohseni@gmail.com@21:1/5 to All on Fri Sep 21 03:52:46 2018
    Hi Mark,

    Thanks for modifying the Paddy's code. The modification you have done works properly but the only problem is related to running vcd files bigger than 4.5 Gbytes. For this capacity I received the following error in the terminal. It will be great if you
    guide me about this issue.

    Traceback (most recent call last):
    File "VCD2ToggleCount.py", line 225, in <module>
    vcd_toggle_count(vcdfile)
    File "VCD2ToggleCount.py", line 221, in vcd_toggle_count
    raise "Don't understand: %s After %i words" % (token, count)
    MemoryError

    Sincerely,
    Artemis

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From amohseni.vkiani@gmail.com@21:1/5 to All on Fri Sep 21 03:48:24 2018
    Hi Mark,

    Thanks for modifying the Paddy's code. The modification you have done works properly but the only problem is related to running vcd files bigger than 4.5 Gbytes. For this capacity I received the following error in the terminal. It will be great if you
    guide me about this issue.

    Traceback (most recent call last):
    File "VCD2ToggleCount.py", line 225, in <module>
    vcd_toggle_count(vcdfile)
    File "VCD2ToggleCount.py", line 221, in vcd_toggle_count
    raise "Don't understand: %s After %i words" % (token, count)
    MemoryError

    Sincerely,
    Artemis

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From artemismohseni@gmail.com@21:1/5 to All on Fri Sep 21 07:00:13 2018
    Hi Paddy,

    Thanks for sharing your script and your experience. when I ran the python file, the following result is appeared for all the wires which shows that the script is not work well for my vcd files because there are lots of zero2one and one2zero for each wire,
    but the covered value is equal to FAIL10 for all of them. Could you please tell me what is the exact problem?

    "TOP.chip_top.Rocket.ioNetwork.ClientTileLinkNetworkPort.io_network_grant_bits_payload_manager_xact_id": ('FAIL10', 0, 0)

    Sincerely,
    Artemis

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)