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
Keerthan Jaic
2cb885283c
replace iteritems with items in toverilog
2015-03-17 17:25:37 -04:00
Keerthan Jaic
9cb4b23ef9
handle py3's renaming of argument names in the ast
...
In python3, arg is a raw string of the argument name. In python2,
arguments are represented as Name nodes. The _get_argnames function is
introduced for accessing argument names in a version agnostic way.
2015-03-17 15:15:29 -04:00
Josy Boelen
2b220aac4a
corrected URL for MEP-107
2015-03-14 13:30:40 +01:00
jandecaluwe
4349b6169c
Merge pull request #21 from cogenda/issue_19
...
fix Issue 19
2015-03-13 23:03:41 +01:00
Shen Chen
ce81dd7253
In co-simulation, map 4-value logic of external simulator to 0/1/None in MyHDL:
...
0 -> 0
1 -> 1
Z -> None
X -> s._init # None for tristate, 0/1 for others.
2015-03-13 22:59:31 +08:00
Shen Chen
b35aadad0b
fix portmap when tristate signals are present: cosimulatin should connect to the driver of the tristate signal.
2015-03-13 22:59:31 +08:00
Shen Chen
6d0e555ad0
test case of tristate output buffer, using interface.
2015-03-13 22:59:31 +08:00
Shen Chen
9eff8fcc61
In co-simulation, if external simulator returns X, the signal's next value is set to its initial value.
...
In the case of tri-state signals, this means next value being None, which is appropriate.
2015-03-13 22:59:31 +08:00
Shen Chen
e0ff30860e
fixes jandecaluwe/myhdl#19 : mark tristate signal as driven if its driver is driven.
2015-03-13 22:59:31 +08:00