Marcel Hellwig
04b9935626
fixed mistake where I replaced filename with name
2016-01-31 01:10:05 +01:00
Marcel Hellwig
cff6f1e54e
replaced self.name with name in _traceSignals
2016-01-30 21:44:46 +01:00
Marcel Hellwig
02c4f92ff6
fixed missing colon in _traceSignals
2016-01-30 21:26:46 +01:00
Marcel Hellwig
ea6cba2f40
Add 'filename' attribute to traceSignals
2016-01-30 20:17:01 +01:00
Jan Decaluwe
710821d5d6
Refactor
2016-01-30 16:39:57 +01:00
Jan Decaluwe
333928b810
removed unused imports
2016-01-30 12:21:20 +01:00
Jan Decaluwe
6f3808fc68
Take this out. No idea what it was supposed to do.
2016-01-30 09:23:03 +01:00
Jan Decaluwe
82f43f056d
Remove unused variable
2016-01-30 08:00:39 +01:00
Jan Decaluwe
1971a56a5c
sensible default
2016-01-28 12:47:22 +01:00
Jan Decaluwe
75d53cdadb
Removed unused code
2016-01-28 12:32:44 +01:00
jandecaluwe
1f960db066
Merge pull request #144 from nicmcd/master
...
Add 'directory' attribute to traceSignals.
2016-01-26 16:38:20 +01:00
Nic McDonald
94bc28f076
Add 'directory' attribute to traceSignals.
...
This change does exactly what the 'directory' attribute for toVerilog and toVHDL
do. It allows the user to specify the output directory for VCD files.
This commit includes the source change, documentation change, and a py.test
change to test the functionality.
2016-01-24 22:17:37 -08:00
jandecaluwe
fb70bb2fc4
Merge pull request #137 from nturley/master
...
fix bug in test_custom tests
2015-11-29 11:51:19 +01:00
jandecaluwe
480d228236
Merge pull request #135 from nturley/patch-1
...
add test for issue 134
2015-11-29 11:47:59 +01:00
nturley
bb2ba3c954
fix bug in test_custom tests
2015-11-15 23:50:34 -06:00
nturley
d60568ae65
fix additional issues with test_issue134
...
we only need to analyze. Verify will still fail even with the fix
2015-11-07 22:21:50 -06:00
nturley
8cc5f23dcb
fix test 134
...
wrong number and add xfail
2015-11-07 21:53:35 -06:00
nturley
ed9d2a9e90
add test for issue 134
...
checks for port name collision when a function names two signals with the same name
2015-11-07 21:08:38 -06:00
Jan Decaluwe
9dffa04130
Merge branch '0.9-maintenance'
2015-11-01 21:02:07 +01:00
jandecaluwe
b726eb8139
Merge pull request #133 from clade/0.9-maintenance
...
assign statement (constwires) support litterals larger than 32 bits
2015-11-01 20:59:29 +01:00
Jan Decaluwe
65e6355e11
Added parenthesis to print
2015-11-01 20:32:19 +01:00
Jan Decaluwe
97c8c8ac7d
Improve on large constant wires in VHDL
...
Triggered by an reported issue with Verilog that
I was not able to reproduce (issue 133).
2015-10-30 20:38:33 +01:00
Pierre Cladé
ff5b0b1963
assign statement (constwires) support litterals larger than 32 bits
2015-10-29 19:03:14 +01:00
Jan Decaluwe
97dd4e3767
Remove allowed failures
2015-10-25 16:54:08 +01:00
Jan Decaluwe
cb06b1eb88
Remove broken tests - revisit writing to file in conversion later
2015-10-25 16:45:10 +01:00
Jan Decaluwe
69a0e2e5ef
Really test function without return value
2015-10-25 16:33:28 +01:00
Jan Decaluwe
107e0e0c1e
Return intbv instead of an intbv subclass for certain methods
...
In this way, no requirement is implicitly assumed for the
interface of the subclass.
2015-10-25 15:39:17 +01:00
Jan Decaluwe
385e82dd7e
Support negative values in ConcatSignal contributors
2015-10-10 20:20:29 +02:00
jandecaluwe
bd0cfba9a7
Merge pull request #130 from jck/py35
...
Python 3 fixes, test improvements
2015-10-07 20:23:12 +02:00
jandecaluwe
ddcc815fd7
Merge pull request #129 from jck/symbols
...
always_seq, always_comb improvements
2015-10-07 20:18:42 +02:00
Keerthan Jaic
ba99b90660
ignore some py2 specific tests on py3
2015-10-02 23:52:23 -04:00
Keerthan Jaic
1f62e0200c
test_cosim: don't import helpers while running directly
2015-10-02 23:21:57 -04:00
Keerthan Jaic
a0256decaf
move raises_kind to test/helpers.py
...
This allows us to use raises_kind from all tests
2015-10-02 23:21:54 -04:00
Keerthan Jaic
8ec646417d
test/conv/toVerilog: use relative imports
...
Use relative imports for the local files such as util.py
2015-10-02 23:21:23 -04:00
Keerthan Jaic
de8b4d4925
add __init__.py to test subfolders
...
Since we have multiple tests with the same filename, we need __init__.py
in the subfolders to allow py.test to differentiate between them.
2015-10-02 23:21:19 -04:00
Keerthan Jaic
a6f2d54e83
remove __init__.py from top level test folder
...
https://pytest.org/latest/goodpractises.html
It is advised to avoid __init__.py in the top level test folder in
order to easily run tests against an installed package version.
2015-10-02 23:21:15 -04:00
Keerthan Jaic
8335818c4d
use print functions in conversion tests
2015-10-02 22:14:51 -04:00
Keerthan Jaic
8a4fd65558
test_RandomScrambler: fix range() call for py3
2015-10-02 22:14:44 -04:00
Keerthan Jaic
1664847130
add __int__ magic method to EnumType
2015-10-02 22:14:42 -04:00
Keerthan Jaic
cb2332a37d
test_hec: remove L suffix
2015-10-02 22:14:39 -04:00
Keerthan Jaic
426786aabf
handle ast.Try in py3
2015-10-02 21:27:47 -04:00
Keerthan Jaic
2172cbfd91
fix visit_Call for python 3.5
...
fixes #131
2015-10-02 20:04:05 -04:00
Keerthan Jaic
5c9b9e1866
simplify freevar computation
2015-10-02 17:39:02 -04:00
Keerthan Jaic
0f8436bd99
compute symdict in _Always class initializer
...
This code was previously repeated in the AlwaysSeq and AlwaysComb
classes.
2015-10-02 17:36:44 -04:00
Keerthan Jaic
416e7e9ced
travis: add python 3.5
2015-10-02 16:27:11 -04:00
Keerthan Jaic
764f7007ba
replace _cell_deref hack with cell_contents
2015-10-02 16:23:53 -04:00
Jan Decaluwe
0bc41cc0f3
Fix #127
...
Lookup cellvars in a more direct way
2015-09-27 21:44:48 +02:00
Jan Decaluwe
beed676d4b
Fix #122 by removing support for named constant in VHDL
2015-09-26 15:43:53 +02:00
Jan Decaluwe
f10eb6d3d2
Remove doubtful support for lenStr
2015-09-26 13:53:23 +02:00
Jan Decaluwe
b28ef3e2da
Fix #122
2015-09-26 13:20:45 +02:00