URL
https://opencores.org/ocsvn/pltbutils/pltbutils/trunk
Subversion Repositories pltbutils
Compare Revisions
- This comparison shows the changes necessary to convert path
/pltbutils/tags
- from Rev 102 to Rev 104
- ↔ Reverse comparison
Rev 102 → Rev 104
/v1.0/doc/release_note.txt
0,0 → 1,110
pltbutils release_note.txt |
|
v1.0 January 26, 2016 |
1. Updated specification_pltbutils.docx / .pdf |
|
beta004 January 3, 2016 |
1. Added skiptest argument to startsim(). |
2. Added function is_test_active(). |
3. Updated examples, testbenches and templates. |
4. Updated specification_pltbutils.docx / .pdf |
|
beta0003 November 23, 2015 |
1. Added check() for boolean. |
2. Added check() for boolean against integer. |
3. Added check() for time. |
4. Added check() for time with tolerance. Suggested by Stefan Eriksson. |
5. Updated tb_pltbutils.vhd with tests for the new check() procedures. |
6. Updated specification_pltbutils.docx / .pdf |
|
Thanks to Stefan Eriksson for suggesting features and providing feedback |
on documentation. |
|
beta0002 February 2, 2015 |
1. endsim(): renamed argument from force to force_stop for clarity. |
2. print2(string, string): corrected call, from print() to print2(). |
3. print2(pltbv_t, pltbs_t, string): corrected call, from print() to print2(). |
4. pltbutils_func_pkg.vhd: more comments. |
5. waitsig(): added overloaded unclocked variant. |
6. hxstr(): no longer wrapper for hstr, improved with unlimited length of |
argument s. |
7. Updated author's email address in all files where applicable. |
8: Updated specification_pltbutils.docx/.pdf. |
|
beta0001 April 9, 2014 |
1. Added check() for string. |
|
alpha0007 January 13, 2014 |
1. Renamed example/vhdl/*.* to examples/vhdl/examples2/*.* |
This is example code where the testcase process(es) are located |
in a testcase component, enabling multiple testcase architectures. |
Renamed sim/example_sim/ to sim/modelsim_tb_example2/ |
2. Created examples/vhdl/examples1/ |
This is example code where the testcase process is located in the |
testbench top. |
Created sim/modelsim_tb_example1/ |
3. Renamed sim/bench_sim/ to sim/modelsim_tb_pltbutils/ |
4. Renamed template/vhdl/*.* to templates/vhdl/template2/*.* |
5. Created templates/vhdl/template1/ |
6. Updated specification_pltbutils.docx/pdf to rev 0.5 |
|
alpha0006 January 09, 2014 |
1. Replaced shared variables with a normal variable, and global signals with |
a normal signal. |
VHDL-2000 and later requires that shared variables use protected types, |
but protected types weren't available in earlier VHDL versions. |
As a consequence, some simulators in VHDL-200x mode require protected |
types. But some simulators still don't support protected types at all. |
To make pltbutils work in all (or at least in most) VHDL simulators, |
shared variables have now been removed. |
In previous versions of pltbutils, protected types were used by default. |
There were comments in the pltbutils code as an aid to modify the code |
for simulators that don't support protected types, but it was too much |
work to do the modifications. One possible solution could have been to |
make separate variants of pltbutils; one with, and one without protected |
types. But that solution was not tempting. |
2. Removed src/vhdl/pltbutils_type_pkg.vhd . |
3. Added doc/required_updates.txt . |
|
alpha0005 January 05, 2014 |
1. In pltbutils_func_pkg.vhd, added starttest() and endtest(). |
2. testname() is now depricated, and will be removed. Use starttest() instead. |
3. Added pltbutils_user_cfg_pkg.vhd and modified pltbutils_func_pkg.vhd to |
support user configurable report messages, to support continous |
integration environments, e.g. TeamCity. |
4. Updated specification. |
|
alpha0004 December 3, 2013 |
1. Corrected returned ranges from to_ascending() and to_descending() |
in pltbutils_func_pkg.vhd, to make them work with vectors where the lowest |
bit does not have number 0. |
|
alpha0003 December 2, 2013 |
1. Added a line feed before printing the test name for clarity, |
in procedure testname() in pltbutils.vhd . |
2. Added functions to_ascending(), to_descending() and hxstr() |
in pltbutils.vhd (not yet included in the specification). |
3. check() in pltbutils.vhd now outputs hexadecimal values instead of |
binary values for std_logic_vector, unsigned and signed. |
4. Updated tb_example.vhd, tc_example.vhd and tc1.vhd to feed |
the generic G_DISABLE_BUGS to tc1. |
The message "Bug here somewhere" is now only output when |
G_DISABLE_BUGS=0. |
|
alpha0002 November 10, 2013 |
1. Added doc/release_note.txt |
2. Removed file paths from pltbutils_files.lst |
3. Added overloaded print procedures with boolean argument called active, |
which is useful for debug switches, etc. |
4. Added inverted clock output and a generic for setting initial value to |
pltbutils_clkgen in pltbutils_comp.vhd and pltbutils_comp_pkg.vhd . |
The inverted clock output can be used when a differential |
clock is needed. |
5. Added overloaded procedures waitsig(). |
6. Updated specification. |
|
alpha0001 September 2, 2013 |
1. First commit |
|
April 14, 2013 |
1. PlTbUtils project registered on OpenCores. |
/v1.0/doc/required_updates.txt
0,0 → 1,98
pltbutils required_updates.txt |
|
While pltbutils is still in alpha- and beta state, backwards compatibility in |
new versions of pltbutils is not prioritized, because the code is still under |
development. |
If you have made testbenches which use pltbutils, you may need to make |
modifications if you update to a newer version of pltbutils. |
This document lists required modifications to your testbenches. |
|
beta0003 -> beta0004 and later |
1. In your testbench, replace |
startsim("ExampleName", pltbv, pltbs); |
with |
startsim("ExampleName", "", pltbv, pltbs); |
The new argument 2 is a std_logic_vector for skipping tests. |
Read more in the specification. |
2. If you have created your own procedure custom_endsim_msg(), |
it must now have a new argument: |
procedure custom_endsim_msg( |
constant testcase_name : in string; |
constant timestamp : in time; |
constant num_tests : in integer; |
constant num_skip_tests : in integer; -- New argument |
constant num_checks : in integer; |
constant num_errors : in integer; |
constant show_success_fail : in boolean |
) |
3. If you have created your own procedure custom_endtest_msg(), |
it must now have a new argument: |
procedure custom_endtest_msg( |
constant test_num : in integer; |
constant test_name : in string; |
constant timestamp : in time; |
constant test_active : in boolean; -- New argument |
constant num_checks_in_test : in integer; |
constant num_errors_in_test : in integer |
) |
|
alpha0006 -> alpha0007 and later |
Nothing. |
|
alpha0005 -> alpha0006 |
For more information and examples, see specification_pltbutils.pdf . |
1. One less file to be compiled: |
src/vhdl/pltbutils_type_pkg.vhd has been removed. |
2. testname() has been removed. Call starttest() and endtest() instead. |
3. In the testbech top, replace |
-- Simulation status- and control signals |
signal test_num : integer; |
-- VHDL-1993: |
--signal test_name : string(pltbutils_test_name'range); |
--signal info : string(pltbutils_info'range); |
-- VHDL-2002: |
signal test_name : string(pltbutils_sc.test_name'range); |
signal info : string(pltbutils_sc.info'range); |
|
signal checks : integer; |
signal errors : integer; |
signal stop_sim : std_logic; |
with |
-- Simulation status- and control signals |
-- for accessing .stop_sim and for viewing in waveform window |
signal pltbs : pltbs_t := C_PLTBS_INIT; |
|
4. In the testbench top, under begin, remove |
-- Simulation status and control for viewing in waveform window |
-- VHDL-1993: |
--test_num <= pltbutils_test_num; |
--test_name <= pltbutils_test_name; |
--checks <= pltbutils_chk_cnt; |
--errors <= pltbutils_err_cnt; |
-- VHDL-2002: |
test_num <= pltbutils_sc.test_num; |
test_name <= pltbutils_sc.test_name; |
info <= pltbutils_sc.info; |
checks <= pltbutils_sc.chk_cnt; |
errors <= pltbutils_sc.err_cnt; |
stop_sim <= pltbutils_sc.stop_sim; |
|
5. Feed stop_sim input of testbench component with pltbs.stop_sim instead |
of just stop_sim. |
6. If the testcase procudure resides in a separate VHDL component, |
that component should output pltbs of type pltbs_t. |
7. The testcase process should instansiate the following variable: |
variable pltbv : pltbv_t := C_PLTBV_INIT; |
8. In calls to pltbutils procedures, replace the argument |
pltbutils_sc |
with |
pltbv, pltbs |
9. In the waveform window, replace the old simulation status signals |
with pltbs, and expand it to view the member elements. |
|
alpha0004 -> alpha0005 |
1. One more file needs to be compiled: src/vhdl/pltbutils_user_cfg_pkg.vhd . |
2. Call starttest() before a test, and endtest() after. |
Previously, testname() should be called before a test, but testname() is |
now depricated and will be removed in a later version. |
|
/v1.0/doc/src/specification_pltbutils.docx
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
v1.0/doc/src/specification_pltbutils.docx
Property changes :
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: v1.0/doc/src/example_wave.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: v1.0/doc/src/example_wave.png
===================================================================
--- v1.0/doc/src/example_wave.png (nonexistent)
+++ v1.0/doc/src/example_wave.png (revision 104)
v1.0/doc/src/example_wave.png
Property changes :
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: v1.0/doc/src/example_transcript_bugfixed.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: v1.0/doc/src/example_transcript_bugfixed.png
===================================================================
--- v1.0/doc/src/example_transcript_bugfixed.png (nonexistent)
+++ v1.0/doc/src/example_transcript_bugfixed.png (revision 104)
v1.0/doc/src/example_transcript_bugfixed.png
Property changes :
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: v1.0/doc/src/example_transcript.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: v1.0/doc/src/example_transcript.png
===================================================================
--- v1.0/doc/src/example_transcript.png (nonexistent)
+++ v1.0/doc/src/example_transcript.png (revision 104)
v1.0/doc/src/example_transcript.png
Property changes :
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: v1.0/doc/src/example_wave_bugfixed.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: v1.0/doc/src/example_wave_bugfixed.png
===================================================================
--- v1.0/doc/src/example_wave_bugfixed.png (nonexistent)
+++ v1.0/doc/src/example_wave_bugfixed.png (revision 104)
v1.0/doc/src/example_wave_bugfixed.png
Property changes :
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: v1.0/doc/specification_pltbutils.pdf
===================================================================
--- v1.0/doc/specification_pltbutils.pdf (nonexistent)
+++ v1.0/doc/specification_pltbutils.pdf (revision 104)
@@ -0,0 +1,6874 @@
+%PDF-1.5
+%µµµµ
+1 0 obj
+<>>>
+endobj
+2 0 obj
+<>
+endobj
+3 0 obj
+<>/XObject<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI] >>/Annots[ 13 0 R] /MediaBox[ 0 0 612 792] /Contents 4 0 R/Group<>/Tabs/S/StructParents 0>>
+endobj
+4 0 obj
+<>
+stream
+xœ•–ÝnÚ@…ï-ùæÒ®êeg½Uµ´J”H´õ"ê…k9 l
+I¥¾}wÁnmÂ$[ˆoÎœFS¸¸Ýo&@GwY¹€¨(“‡Y|y W“1\ÍÃ`ôÌŸÂ Ú/לpŠÂÌ×a@aá.ŸÂà1‚øÌoÃàÚÃõý •}ivjˆ¡2"ì3DæÎŽ…×pi,œ
+s?œƒH»® ArF´¬áÓÕüûÃórµk%iW+#\tcÀ³–1N„¡5‘ÍÚ٦ȗOË<{^VeŽN\oÑ¢ÏQ¦ˆu°]wÃçÖ\3„/Ïõ@C¤‚ÐAD5ÈUê¶h Qû=€’ÕÝ{ÛY).^ó?¼<ÿˆUq£í;߶
+Á‰4ÝÐi±…»lëw»8Az€œÙᢷºôœ_ÜŠB[ÚžÑ5qã$«ÌÝHµq¥eœ°(¯Üu[ìÜ?ﱊÖûEËÉ«õ‘æ㤑ßNÖ+ßüßæÔ|føÀÍGï0}•sAù#k1³MVþÓ£j ?à ±ž>\Û÷{S÷Š Æòl‹0øúÊ0`)&÷I
+uTƒ„ËÛŠ„Üæݬ³EaûhRÁç:ñSºàã
+endstream
+endobj
+5 0 obj
+<>
+endobj
+6 0 obj
+<>
+endobj
+7 0 obj
+<>
+endobj
+8 0 obj
+<>
+endobj
+9 0 obj
+<>
+endobj
+10 0 obj
+<>
+endobj
+11 0 obj
+<>
+endobj
+12 0 obj
+<>
+endobj
+13 0 obj
+<>/F 4/A<>/StructParent 1>>
+endobj
+14 0 obj
+<>
+stream
+ÿØÿà JFIF ` ` ÿÛ C
+
+ $.' ",#(7),01444'9=82<.342ÿÛ C
+
+2!!22222222222222222222222222222222222222222222222222ÿÀ yw" ÿÄ
+ÿÄ µ } !1AQa"q2‘¡#B±ÁRÑð$3br‚
+%&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyzƒ„…†‡ˆ‰Š’“”•–—˜™š¢£¤¥¦§¨©ª²³´µ¶·¸¹ºÂÃÄÅÆÇÈÉÊÒÓÔÕÖ×ØÙÚáâãäåæçèéêñòóôõö÷øùúÿÄ
+ÿÄ µ w !1AQaq"2B‘¡±Á #3RðbrÑ
+$4á%ñ&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz‚ƒ„…†‡ˆ‰Š’“”•–—˜™š¢£¤¥¦§¨©ª²³´µ¶·¸¹ºÂÃÄÅÆÇÈÉÊÒÓÔÕÖ×ØÙÚâãäåæçèéêòóôõö÷øùúÿÚ ? ÷ú(¢€
+(¢€
+(¬ox›Oð®‘&¡¨I…Gýù[²¨ÿ 8¦“nÈMÛV&ñ6Ÿá]"MCP“
+8Ž%ûò·eQþq_;^|GñÏ‹SÄ rb–<¬Và“ÇžPŽà÷=IçŒfx§Å:‹uw¿¿|(ùaOÉúê{Ö%zTpêÞÜâ©UÉé±õoƒ¼c§øÇIV¤Gqų´MýAì®Etuòƒ¯jÕ¢Ô´ÙŒsGÁ•uî¬;ƒ_Mø;Æ:Œt‘ujDwà\[1ËDßÔÇúäW%zëc¢•^mçGEW9°QE QE QE QE QE QE QE QE QE QE QE QE QE QE QE QE QE QE QE QE Wâ_†)âÍMïuMvì‘‘QFª¯ 9íŸSùWETfâïJ*Z3Ä5O€÷1ÆÏ¥k1ÌÝ¢¹ˆ§þ< þUæ:߇uo^}—U²’ÚC¥¹WªÃƒøW×µCXÑ´ýM“OÔ–{yFê§ÔÇÞº)⤟½©Œ¨Eü'ÇÕ¥ ëÚ‡†õhµ-6cÑðAå]{«àÖ§Ž<sàÝpÙÈÍ-¬ ½´äczúö‡CøõÌ× šœ|™ÈÓ‹>ðwŒtÿ é"êÔˆî#À¸¶c–‰¿¨=õÈ®Ž¾AÐuíCÃz´Z–›1Žhø ò®½Õ‡pké¿xÇOñŽ’.HŽâ<‹f9h›úƒØÿ \ŠókÐpw[”ªóh÷::(¢¹Í‚Š*¶¡¨ZiVßßÜGok–Y@h¯œüUûEjÜÉ…ìa‚ÙNÍÚï‘ýÂçøçð®;þ‡Ä/7öêíÎv}Ž}>æZ úöŠùÛ´UìwQÛø¦Ê)m˜€ní«§»&pÃ顯 l/u;/¬§IígA$R¡Èe=
+ X¢Š( ¢Š( ¢Š( ¢Š( ¢Š( ¢Šòˆ_ì|1{.“¡ÛG¨ê1²Êíû˜[û¼rÄw Œzç"€=zŠùëã§î&2E«Ãl§þYÅgQÿ }+Ö¯i_´,eSzÖZŒÄ²À#b=Šcð4õ]Ïx#ÅQøÓ–ºävj'.¦}ÛJ±SÎG•ÐÐEPEPEPEPEPEPEâoiþÒ$Ô5 0£ˆâ_¿+vUçÒmÙ »jÍš+„øcâ[ïYjÚó`›¿.(Tü± @@™Éï]Ý9ÅÅÙ„d¤®6ø“ñ,øYÆ•¥,rjŽ›ß•·§ØõÇn ÎkÅ.¼gâkË:mQßœ—€`¤øT~+»–ûÅÚ½Ìå·½ä¼7Pà …cקJŒc¦§
+JŽLôü]Öt‹ÈàÖ§}GOb™9–1ýàÝ[èsøWÐv×ÝÛEso"ɨ7^Œ¤døWÆ•ô§Áû©n¾Z,¬[È–HŸî†Èþx®|U(¥ÌhM·ÊË?<>š÷‚/
+¦nl”ÝB{ü£æŠçñÅ|Å_fËOÅ Ê:•aê
+|eUƒ“qhX…ªaZZ½¨xoV‹RÓf1ÍU׺°î
+fÑ]&¬Îtì}[àïéþ1ÒEÕ©ÜGqlÇ-P{ë‘]|ƒ ëÚ‡†õhµ-6cÑðAå]{«à×Ó~ñŽŸã$]Z‘ÄxÌrÑ7õ±þ¹æW àî¶;iUæÑîtuóÿ íâY’M3Ã0HV'O¶\¨?’¨Ð«}=+è
+ùSö‚Yâf_F?÷rÃùƒ\æÆoÂAã:jŽ™cšáTãÌ$áS=@<“ŽÊzg5õü!~þÏûü#Ú_Ùq/ì©LôëïÖ¼ƒögx¾ÏâDówÛ“êWcõÏç^ù@ü\ð4>ñ`†Ä7ömä~u°c’œá“'“ƒÀŠôOÙÇÄÓK§á™Ü´p¯Û-?pÇÓ%OÔŸZ‹ö™e2xaAÀº$wÁò±üs_³º±ø‘9PH]:RØì7Çýq@]~Ð^3†îh–-+j;(Í»týúµâÚ#^º1Å ÚÁe ß4È$‘ÛÊ£9ã“ï^Aÿ !Ÿúêÿ Ì×Ùžðo†bð•ºèiŽkXÌ¡‘Œ„¨$±#$ýhÂü;ûAø–ËQûu-õ`% ŽTªFúϨë_C^ø«FÓü-ÿ $÷Š4³
+γãV(¹9 ZùâVkáˆZ¾“d¥-b‘^$ªè®'Óv?
+±x–îïáw†´##ù÷7.Àžü·¿ç@ž½ûBx—R¾0øzÊrØ‹|~tÏÏÏËÏ ‰¬‘ñ£âNrŸÚ7AÉù„W– aÿ U8ük'៎´ßjš…Þˆu¹QR ¡#ØÈ<ž?/zè¾!übÓ|wáwқò[Ü,‹,
+pË`yãhê¹{J ö†?m~ [Mo4g«[(i`VʺtÞ™çàƒÓ#“šòwãÏ‹ôïêv0E¦m®¥…7[±;UÈùºàW'ðjõì~*è¥\ªÌïŽÌ`þ8?…s~,ÿ ‘Ë\ÿ °…ÇþŒj õ=_öŠÖ¥Ó--ô«x/<•ûUÔ©»2cæòÓ8= '>‚²ôÚÅöWé&¤mu\2
+ÆØïµ—?PGµzç߇þ“À:=ÜþÓînnìã–ina³3’g†+ç‰Z¯‡>"k:U”~U¬R«Esµ]Àú
+ÔôŸ¼{¯Â)¼M¤JÊ×Ð*Y±dy8üFãõZù7LÓîµ^ÓNµî¯&X£ÉêÌq’Mz†®eoÙ‹@ÚÌUu†Ü3À\ÏúdŠåþ
xOÄÖ¯äXE¥_cä¹²Œ ÏûH0¬={û× Ñ@s¡>ü,Ž?ÝC!µ–M¿e%¼æw%UCÎ>˜=†kÈ5ÏÚÅ·÷ý”–š]¾NÀ± dÇmÌùýV§í%ªNþ$Ò4Ì †ÐÜíìYÝ—?€õ57ìçáË+ÛÝ[\»·If´òá¶. „fÉfø +÷>´Ìiß¼ug2½ÍåúÌsÚ¢‚>¨×¾|:ø“§|@ÓœÅÙu+p +Å£6ì̧ºÿ #ÁìO?ñïÖ:‡€.5“ý>HÙ&ó²3„*OqóøW‡|!ÕfÒ¾(h¯·ýšEÄ®1ƒô8?… w^/øãâÍƾ•išmí.¤†3$[jœÝjäÿ ´\–Þ±XtønõÉ#-tì8"mÇ åŽ1ž@÷¯)ø‘ÿ %+Äö›ÿ B5ë?>xgÄ>ÓµÍRkùg»Vf%‹†eãžÞ´¿ðûâüúdžµýoÅFÎÖÛMxö›XØÞå ±É$ >¼× ®þÐ~&ÔïŒ>³‚Â؈üé›ëŸ—ðñ5›ñ‡Ãgg²Ð´YnŵØ7³Å<†àJ&8~¤õ¬Ÿ†^>Ó|y{{s¢6¡w:ªC(”!…yÜTõãò +5øÓñ'GºQ¨Ü‡$nÞX$yðSƽÃá§Å/ÙMž«l»§·Ý•dé½ íž£¶G¨'Æ~"ü_Ó|yá¿ìÓáÖ·¹IVH.^pæ?ïòƒÈ㯧¥r +ìž0V}BÊîÑpq’ð>ßɶŸÂ€=SÆŸ´,–÷óXøRÒ bŠëX9õEqèIçÒ¸Ÿø^?Š™…ô>Vî¿bM¿Lâ¼à¬–—Ee‹l°¾9W£È þ¢½çHý£’Õ-µOEP¤ÙL6cÐ#¶ã@?~2ëž,ñM¾ƒ«YY0™…Ä‘†Õ-ÈÉ8íŠ+ ðEßÃø™5ÿ Ú–·o·Ùä±VI(ÖëÕsמÔPoâoiþÒ$Ô5 0£ˆâ_¿+vUçóŠ|S¨ø·W{û÷–ü‘/ þ§½h|D¿×ï|Ypž ŒÃ4$¬0)Ìim‡¸>½ÿ AÊW§‡¢ ¹ºœ5j9;t=£à6¨€júK6칌g¨ûÿ ²~uíòG…|C?…üGiªÀ›ÇŸõ‘ž.žø¯«4ÍJÓXÓ`Ô,fÛN»‘Çò>„t"¹±Pj|ÝÍèJñ±óÏÅ Üh~(¸Ô£‰ŽŸ¨HeI ád<²ŸCœ‘ì}pöEí•®£i%í¼wò