PyVCD
PyVCD包按照IEEE 1364-2005中的规定写入值更改转储(VCD)文件。
阅读。
访问 。
快速开始
>>> import sys
>>> from vcd import VCDWriter
>>> with VCDWriter(sys.stdout, timescale='1 ns', date='today') as writer:
... counter_var = writer.register_var('a.b.c', 'counter', 'integer', size=8)
... real_var = writer.register_var('a.b.c', 'x', 'real', init=1.23)
... for timestamp, value in enumerate(range(10, 20, 2)):
.
2021-11-04 14:36:54
32KB
Python
1