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

1588 Commits

Author SHA1 Message Date
Keerthan Jaic
b102b86d72 add test targets to icarus, modelsim makefiles 2015-03-29 09:57:37 -04:00
Keerthan Jaic
a9a9bb21c3 fix capitalization of cver makefiles 2015-03-29 09:37:05 -04:00
Keerthan Jaic
c673f1c1c5 deduplicate version info 2015-03-29 06:42:09 -04:00
Keerthan Jaic
db677326eb clean up setup.py
* Prefer setuptools over distutils
* Extend version checking to disallow python 3.0 to 3.3
* Add python version classifiers
2015-03-29 06:42:09 -04:00
Keerthan Jaic
c79bbc72c1 use pep440 compatible dev version number 2015-03-29 06:42:09 -04:00
Jan Decaluwe
821fc1cd6c Merge branch 'cogenda-tristate_vcd' 2015-03-28 18:05:26 +01:00
Jan Decaluwe
a8cd066839 Factor common functionality out 2015-03-28 18:04:37 +01:00
Jan Decaluwe
e2496dd0e5 Merge branch 'tristate_vcd' of https://github.com/cogenda/myhdl into cogenda-tristate_vcd 2015-03-28 17:43:13 +01:00
Jan Decaluwe
eb11a2716f Fix test for issue #40 2015-03-28 12:23:24 +01:00
jandecaluwe
91673b09c9 Merge pull request #42 from cfelton/issue44
Issue #40 test.
2015-03-26 16:02:47 +01:00
jandecaluwe
7f33977bf7 Merge pull request #41 from josyb/issue-40
fixes for issue #40
2015-03-26 09:29:32 +01:00
jandecaluwe
910e517a7c Merge pull request #43 from jck/modelsim
fix tests while running modelsim altera starter edition 10.3c
2015-03-25 19:21:12 +01:00
jandecaluwe
84a305c768 Merge pull request #44 from cfelton/docs_conversion_example
cleaned up a conversion example, removed unused code
2015-03-25 19:19:18 +01:00
jandecaluwe
dfedb90b83 Merge pull request #45 from jck/bugs
implement decorator to mark bug related tests as expected failures
2015-03-25 19:18:35 +01:00
Keerthan Jaic
a12cc4c602 implement decorator to mark bug related tests as expected failures 2015-03-25 11:01:06 -04:00
Christopher Felton
6c65f973b6 cleaned up a conversion example, removed unused code 2015-03-25 07:57:24 -05:00
Josy Boelen
663a08fe3e re-arranged test for 'non-signal' case-index 2015-03-25 12:50:30 +01:00
Keerthan Jaic
b2978f7a40 fix tests while running modelsim altera starter edition 10.3c 2015-03-25 04:22:07 -04:00
Christopher Felton
ed18120486 a test for issue #44 2015-03-24 21:47:03 -05:00
Jan Decaluwe
f2c5068dd9 bugs can be beautiful! (this one passes icarus, fails modelsim) 2015-03-24 21:06:01 +01:00
Josy Boelen
725e924a99 fixes for issue #40 2015-03-24 20:51:06 +01:00
jandecaluwe
a2df4a131f Merge pull request #37 from cfelton/master
Test constant in interfaces
2015-03-24 15:59:00 +01:00
Shen Chen
58e3376700 fix: Tristate signals' value may be None. Handle this situation in VCD dumps, by using _orival of TristateSignal. 2015-03-24 04:21:23 +08:00
Christopher Felton
9ba45e3310 Merge pull request #1 from jck/cfelton-master
mark test of yet to be solved bug as an expected failure
2015-03-18 19:48:52 -05:00
Keerthan Jaic
3f5827a72e mark test of yet to be solved bug as an expected failure 2015-03-18 17:26:25 -04:00
Jan Decaluwe
47af2b72e4 Merge branch 'master' of github.com:jandecaluwe/myhdl 2015-03-18 20:28:00 +01:00
Jan Decaluwe
b3e51a5528 Merge branch 'jck-pytest' 2015-03-18 20:27:06 +01:00
Jan Decaluwe
8b75ae6702 Merge branch 'pytest' of https://github.com/jck/myhdl into jck-pytest 2015-03-18 20:26:39 +01:00
jandecaluwe
9e39f81a02 Merge pull request #32 from josyb/reference
corrected URL for MEP-107 in 'What’s new in MyHDL 0.9'
2015-03-18 20:21:54 +01:00
Jan Decaluwe
5934e06383 Merge branch 'jck-py3-conv' 2015-03-18 20:17:12 +01:00
Jan Decaluwe
cdf97c10e0 Merge branch 'py3-conv' of https://github.com/jck/myhdl into jck-py3-conv 2015-03-18 20:15:53 +01:00
Jan Decaluwe
5167afa8fa Merge branch 'jck-cosim' 2015-03-18 20:05:18 +01:00
Chris Felton
72605327c1 enabled all test when running directly 2015-03-18 11:02:13 -05:00
Chris Felton
3ef676ac68 fixed typo in constant test 2015-03-18 11:00:40 -05:00
Chris Felton
6428addb73 initialize clock in test 2015-03-18 10:17:11 -05:00
Christopher Felton
f921260dd0 added an interface with constant test 2015-03-18 09:24:00 -05:00
Keerthan Jaic
43b5f18e67 fix tests which fail on python2 because they try to print a tuple 2015-03-18 05:43:28 -04:00
Keerthan Jaic
1be1f77f64 use parantheses in print statements of remaining general conv tests 2015-03-18 05:20:19 -04:00
Keerthan Jaic
bb1fdfe904 fix inferVhdlObj behaviour when obj.min is None
In python 2, None < 0 returns True
However, in py3, None cannot be compared with zero. This commit ensures
identical behaviour in py2,3 when obj.min is None
2015-03-18 05:15:46 -04:00
Keerthan Jaic
2870652844 Implement __hash__ for EnumItem
In python 3, if a class defines __eq__, the inheritance of __hash__ is
blocked. Therefore, __hash__ needs to be defined explicitly.

For EnumItem, we use self._type and self._index since they are sufficent
for uniquely identifying any particular EnumItem.
2015-03-18 05:15:46 -04:00
Keerthan Jaic
cafe06382d fix long literals in test_hec 2015-03-18 05:15:46 -04:00
Keerthan Jaic
608a233ba0 handle nameconstants
In py2, True False and None are instances of ast.Name with ctx=load.
However, in py3.4, they are instances of ast.NameConstant and the value
attribute holds one of these constants.
2015-03-18 05:15:24 -04:00
Keerthan Jaic
302c78fc30 support converting print functions 2015-03-18 04:59:20 -04:00
Keerthan Jaic
55b6cbfed9 make comsimulation py3 compatible 2015-03-18 00:49:34 -04:00
jmgc
36e98b6fbf make icarus cosim tests py3 compatible 2015-03-17 23:57:17 -04:00
Keerthan Jaic
7e21a01796 travis: run icarus cosim tests 2015-03-17 23:16:20 -04:00
Keerthan Jaic
ea8f703e1b add makefile for icarus cosim test 2015-03-17 23:15:39 -04:00
Keerthan Jaic
2672e9a4c6 verify: create tmpfiles in text mode 2015-03-17 18:45:07 -04:00
Keerthan Jaic
efce0a3e4f use key instead of cmp while sorting list
the cmp kwarg of list.sort method is deprecated in py3
2015-03-17 18:06:07 -04:00
Keerthan Jaic
7f500d1ec0 Add parentheses to print statements in most general conv tests
NOTE: This is equavalent to using a print statement on a tuple in py2.
In py3, it is a print function.
2015-03-17 17:44:55 -04:00