1
0
mirror of https://github.com/myhdl/myhdl.git synced 2024-12-14 07:44:38 +08:00

doc for other improvements

--HG--
branch : 0.8-dev
This commit is contained in:
Jan Decaluwe 2013-03-10 22:25:20 +01:00
parent f04d53a0fa
commit 7e2fdba7bc
2 changed files with 27 additions and 15 deletions

View File

@ -89,7 +89,8 @@ Waveform tracing
.. attribute:: timescale
This attribute is used to set the timescale corresponding to unit steps,
according to the VCD format. The default is "1ns".
according to the VCD format. The assigned value should be a string.
The default timescale is "1ns".
.. _ref-model:
@ -712,8 +713,8 @@ Conversion
.. attribute:: timescale
This attribute is used to set the timescale in Verilog format. Default is
"1ns/10ps".
This attribute is used to set the timescale in Verilog format. The assigned value
should be a string. The default timescale is "1ns/10ps".
.. function:: toVHDL(func[, *args][, **kwargs])
@ -741,6 +742,12 @@ Conversion
VHDL output. When a string is assigned to it, it will be copied
to the appropriate place in the output file.
.. attribute:: library
This attribute can be used to set the library in the VHDL output
file. The assigned value should be a string. The default
library is ``work``.
.. _ref-conv-user:

View File

@ -269,9 +269,6 @@ adapt the :func:`always_seq` and :func:`always` decorators to support such
variables.
See also
--------
@ -279,25 +276,33 @@ For a more in-depth discussion, see `mep-109`_.
.. _mep-109: http://www.myhdl.org/doku.php/meps:mep-109
Small changes
=============
Other improvements
==================
Conversion of top-level class methods
-------------------------------------
todo
TODO
``timescale`` directive for func:`traceSignals`
-----------------------------------------------
todo
Tracing lists of signals
------------------------
Tracing lists of signals is now supported.
Contributed by Frederik Teichtert, http://teichert-ing.de
todo
``library`` attribute for func:`toVHDL`
---------------------------------------
:func:`toVHDL` now has a ``library`` function that
can be used to set the library name in the
VHDL output. The assigned value should be a string.
The default library is "work".
``timescale`` attribute for func:`traceSignals`
-----------------------------------------------
:func:`traceSignals` now has a ``timescale`` attribute
that can be used to set the timescale
in the VCD output. The assigned value should be a string.
The default timescale is "1ns".
Acknowledgments