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

2142 Commits

Author SHA1 Message Date
Josy Boelen
ae25af4d59
Removed 'casez' in Verilog onehot / onecold state encoding (#357)
* Removed 'casez' in Verilog onehot / onecold state encoding
2022-05-24 08:21:46 +02:00
Josy Boelen
212b4b294e
removed error on reading back outputs of always_comb process (#368)
* removed error on reading back outputs of `always_comb` process

* Update _always_comb.py

* removed tests for SignalAsInout in AlwaysComb
2022-04-26 22:06:04 +02:00
Rafael Corsi
0247603e82
fix typo on structure doc (#365) 2022-04-26 17:51:15 +02:00
Rafael Corsi
cf8e4423a7
update mux2 example to python3 (print) (#363) 2022-04-26 17:50:38 +02:00
Dave Keeshan
1a4f5cd4e9
Setup github actions (#369)
* First working yml for github actions

* Remove redundant lines

* Test with building ghdl from source

* Re-enable all versions of python

* Re-enable all versions of python

* python-3.11 not available yet

* Add weekly cron on Sunday

Co-authored-by: Douglas Kastle <douglas.kastle@gmail.com>
2022-04-26 17:04:19 +02:00
Josy Boelen
cd869c149c #366 documenting _config-sim_ *tracebackup* attribute 2022-04-02 15:37:07 +02:00
Josy Boelen
c7662a056c
No more name mangling (#336)
* palce xfail on rename_after ... test

* Adding a commmnet to force commit

* alternate approach in testOBufInterface

* reverting _analyze.py
reaming the simulation objects

* typos

* final commit to 'finish' PR submission

* And of course I forgot the 'xfail'

* cleaning up wild import in test_tristate.py to provoke another Travis/CI run

* There is something wrong with the 'xfail' so I just commented out the offender

* uncommented the second test in test_tristate.py

* Changed the object names in the testbench, hoping to narrow down where it fails

* Changing more object names

* myhdl.c: added #ifdef _WIN32 clause to get the pipes working in WIndows 10, properly (auto-)formatted the source
util.py: changed the myhdl.vpi path to defaukt to iverilog's known system path
test_tristate.py: the TestTristate class re-used the tristate_obuf.o for the test with the interface; which put iverilog on the wrong foot ...

* util.py: make a distinction between Windows and Linux systems where to get myhdl.vpi
2022-03-10 13:59:43 +01:00
Keerthan Jaic
7b17942abb
Merge pull request #358 from josyb/Python3_9
Fixing issue #350
2021-03-18 22:35:03 +00:00
Keerthan Jaic
35d684ced2
Merge pull request #355 from hellow554/patch-3
replace yield_fixture decorator by fixture
2021-03-13 03:07:25 +00:00
Josy Boelen
55e7113311 cleared out remaining debug-print 2021-03-08 09:55:28 +01:00
Josy Boelen
65c456b680 Finally? 2021-03-07 14:13:30 +01:00
Josy Boelen
d01c4ee31b improving ast.Constant 2021-03-07 13:48:46 +01:00
Josy Boelen
19066e0656 restricted debugging to 3.9 only 2021-03-07 11:06:26 +01:00
Josy Boelen
48f7a5897c 3.9 serves a tuple 2021-03-07 10:53:12 +01:00
Josy Boelen
55e823e939 next re-write 2021-03-06 20:34:11 +01:00
Josy Boelen
fddbd06595 Merge branch 'Python3_9' of https://github.com/josyb/myhdl into Python3_9 2021-03-06 20:11:17 +01:00
Josy Boelen
989be768a4 and continuing 2021-03-06 20:07:55 +01:00
Josy Boelen
493a7e90d8 not giving up 2021-03-06 20:07:20 +01:00
Josy Boelen
97c9ed3d3b not giving up 2021-03-06 19:49:49 +01:00
Josy Boelen
d6e79678af reworked visit_Constant once more 2021-03-06 19:42:26 +01:00
Josy Boelen
d2812b277b a small typo : vist_Constant ... 2021-03-06 19:26:09 +01:00
Josy Boelen
5d63ac4a52 addded code to handle deprecated NameConstant values 2021-03-06 18:48:26 +01:00
Josy Boelen
3340aab567 added more Constant work
removed docstrings copied from 'formatted' text (from the Python doc web-page) as they contain 'hidden' character codes
2021-03-06 18:27:14 +01:00
Josy Boelen
1856b6e056 added 3.8 ast.Constant to handle deprecated ast.Num and ast.Str 2021-03-06 18:10:05 +01:00
Josy Boelen
71527b20be more experimenting with (simple) print() 2021-03-06 16:38:29 +01:00
Josy Boelen
853172b4b4 Merge branch 'Python3_9' of https://github.com/josyb/myhdl into Python3_9
# Conflicts:
#	myhdl/conversion/_analyze.py
2021-03-06 16:33:04 +01:00
Josy Boelen
eaee293ec4 experimenting (I abuse Travis CI as I don't have working test setup on my Windows PC) 2021-03-06 16:31:33 +01:00
Josy Boelen
754dc73aac experimenting (I abuse Travis CI as I don't have working test setup onn my Windows PC) 2021-03-06 16:19:46 +01:00
Josy Boelen
6341317a8b trying to decode the tuple served by the new ast.Index 2021-03-06 16:03:29 +01:00
Josy Boelen
2ba15adff9 added some info for <Object type is not supported in this context: enables, <class 'tuple'>> 2021-03-06 15:04:26 +01:00
Josy Boelen
fa933425db Fixing issue #350 ast.Index has changed in 3.9 (and will be removed in future versions) 2021-03-06 14:20:59 +01:00
Marcel Hellwig
bd1a953b57
replace yield_fixture decorator by fixture
https://docs.pytest.org/en/latest/yieldfixture.html

> Since pytest-3.0, fixtures using the normal fixture decorator can use a yield statement to provide fixture values and execute teardown code, exactly like yield_fixture in previous versions.
> 
> Marking functions as yield_fixture is still supported, but deprecated and should not be used in new code.
2021-01-25 09:34:37 +01:00
Christopher Felton
fc448b61f0
Merge pull request #353 from venks1/vi-352
Fix documentation links for Issue #352
2021-01-01 16:47:38 -06:00
Venkat Iyer
a4c56cecdc Fix documentation links for Issue #352 2021-01-01 14:31:18 -08:00
Christopher Felton
54055f2950
Merge pull request #345 from ThomasHornschuh/init_reset_fix
Init reset fix
2020-12-02 06:49:55 -06:00
Christopher Felton
e99c2c5fec
Updated travis to include Python 3.9 2020-12-01 13:56:22 -06:00
Thomas Hornschuh
98ad3c5127 Delete of accidentally added file 2020-09-09 16:05:01 +02:00
Thomas Hornschuh
c398ba8a79 Whitespace fix in _toVHDL.py
Removal of superflous args parameter in _verify.py
2020-09-09 16:00:07 +02:00
Thomas Hornschuh
7bbb3f42d6 Fix Verfication environment and add test coverage for reset values
Fixes in _verify.py:
- change VHDL run command to work with mcode backend and supress metavlue warnings
- added missing args/kwargs parameter passing in VerficationClass

Testcases:
Additional test init_reset_tb  in conversion/general/test_initial_values.py to verify correct assisgnment of init values
in @always_seq processes with a reset
2020-08-10 20:53:49 +02:00
Thomas Hornschuh
8531712382 Fix for reseit values
adds missing parantheses around a binary literal:
e.g.:
unsigned'("11000000000000000000000000000000");
2020-08-10 20:42:23 +02:00
Keerthan Jaic
a4708fac7f
Merge pull request #333 from jck/py38
travis: start testing on Python 3.8 too
2020-06-13 00:04:38 +01:00
Christopher Felton
1a47ea3f86
Merge pull request #337 from raczben/master
add more docs details to instances()
2020-06-04 16:48:04 -05:00
Benedek Racz
2ddbfcd059
add more docs details to instances() 2020-04-12 23:23:02 +02:00
Keerthan Jaic
f93e016f7f
Merge pull request #307 from hugovk/rm-2
Drop support for Python 2
2020-04-10 22:53:25 +01:00
Keerthan Jaic
eda1c7e6a3 travis: start testing on Python 3.8 too 2020-04-10 19:52:48 +01:00
jdavidberger
c1c17bd605
Add +: verilog operator (#329)
* Added test which triggers 'Part select expressions must be constant.' error message

* Added ability to make a +: operator

* Removed unnecessary print statement from test

* Changed verify to analyze
2020-03-14 07:58:49 -05:00
Hugo
e605965ad3 Universal wheels are only for when supporting both Python 2 and 3 2020-02-04 14:30:37 +02:00
richmorj
6c25cb252a Updating uart_tx example to use @block decorator and new API. (#320)
* Updating uart_tx example to use @block decorator and new API.

* Removed wildcard import of myhdl.

* Removed unnecessary import myhdl.
2019-09-14 20:15:56 -05:00
Ahmet Anbar
829f6f94ed Function name is fixed (#318) 2019-08-10 21:32:39 +01:00
Hugo van Kemenade
9f38da273a
Merge branch 'master' into rm-2 2019-08-09 13:33:21 +03:00