diff --git a/doc/source/manual/reference.rst b/doc/source/manual/reference.rst index 4fa64df6..abd792e9 100644 --- a/doc/source/manual/reference.rst +++ b/doc/source/manual/reference.rst @@ -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: diff --git a/doc/source/whatsnew/0.8.rst b/doc/source/whatsnew/0.8.rst index 78c5bd1d..d068067c 100644 --- a/doc/source/whatsnew/0.8.rst +++ b/doc/source/whatsnew/0.8.rst @@ -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