Henry Gomersall
843eb9eb4a
Corrected error in which toVHDL wasn't being updated in the tests to actually set no_initial_value=False.
2016-02-26 20:55:15 +00:00
Henry Gomersall
0c315d3ae7
Updated name of initial value disable flag to be more consistent with the existing name scheme.
2016-02-26 20:45:56 +00:00
Henry Gomersall
2aa1c2f42e
Fix print statement to be python 3 compliant.
2016-02-26 20:43:05 +00:00
Henry Gomersall
2cb72e8f42
Tests for open source compilers implemented, replacing the initial Vivado tests.
2016-02-26 19:06:12 +00:00
Henry Gomersall
c8b1b285ca
Merge branch 'master' into initial_value_support
2016-02-26 15:42:33 +00:00
Jan Decaluwe
755d2b8c13
Fix bitonic example; skip locals in AttrRefResolver
2016-02-03 17:24:23 +01:00
Jan Decaluwe
a48eb2e4ca
Factor visitor traversal out to top class
2016-01-31 12:15:18 +01:00
Jan Decaluwe
f5de3b3af4
Reuse ast property
2016-01-31 11:52:04 +01:00
Jan Decaluwe
eb821e48c5
Correct error message
2016-01-31 10:44:42 +01:00
Jan Decaluwe
4509e56323
Cleaner interface
2016-01-31 10:31:10 +01:00
Jan Decaluwe
510c532782
Removed unused code and attributes
2016-01-31 10:09:06 +01:00
Jan Decaluwe
b1121a025d
Refactor
2016-01-30 20:30:11 +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