1
0
mirror of https://github.com/myhdl/myhdl.git synced 2025-01-24 21:52:56 +08:00

2148 Commits

Author SHA1 Message Date
Keerthan Jaic
f838b241c1 move dep installs to travis.yml
also fix ghdl installation
2018-08-20 00:55:28 -07:00
Jan Decaluwe
160719dd6d version bump 0.10 2018-04-02 09:30:11 +02:00
Jan Decaluwe
8153a3e630 proofread 2018-04-02 09:25:42 +02:00
Jan Decaluwe
bb69f9f481 update 2018-04-01 18:22:50 +02:00
Jan Decaluwe
6104534150 reference update for block 2018-04-01 10:29:07 +02:00
Jan Decaluwe
4973434f5d version number 2018-03-29 17:29:24 +02:00
Jan Decaluwe
f90615cef4 imports that shouldn't be there and cause docs issues 2018-03-28 21:41:03 +02:00
Jan Decaluwe
9aedff08b9 typo 2018-03-28 21:11:31 +02:00
Jan Decaluwe
bafd25fd25 version bump 2018-03-28 20:53:46 +02:00
jandecaluwe
b7a02af201
Merge pull request #259 from NicoPy/patch-9
fixes signal assigment with .min .max and len()
2018-03-28 17:30:17 +02:00
Nicolas Pinault
f5efd1ed79
enhance signal assigment
This patch fixes the following statements that do not convert correctly :
sig1.next = sig2.max
sig1.next = sig2.min
sig1.next = len(sig2)
2018-03-20 11:11:13 +01:00
jandecaluwe
a311468f63
Merge pull request #257 from NicoPy/patch-8
intbv.unsigned() internal enhancement
2018-03-17 18:13:48 +01:00
jandecaluwe
b210708d61
Merge pull request #256 from cfelton/ivs-user-code-error
A fix for initial value memory conversion and user code
2018-03-17 18:06:34 +01:00
Nicolas Pinault
042c76a4e5
intbv.unsigned() correction
While the current unsigned() method of intbv() class gives correct results, its internal coding is not optimal.
This is a patch to make internal code more efficient and more "conceptually correct".
2018-03-16 13:33:46 +01:00
jandecaluwe
17ef06fb64
Merge pull request #251 from NicoPy/patch-2
Add unsigned() method to _intbv class
2018-03-15 23:19:58 +01:00
jandecaluwe
0664ab3e0b
Merge pull request #252 from NicoPy/patch-3
Adds full simulation configuration
2018-03-15 23:11:11 +01:00
Christopher Felton
54e4f81cc7 A fix for initial value memory conversion and user code
If a list-of-signals is referenced in user defined code,
the conversion fails.

The string of the list-of-signals (LOS) was written instead
of the name of the reference to the LOS.  A function was
added to resolve the name instead of the raw string
conversion of the type.
2018-03-10 10:12:53 -06:00
jandecaluwe
9dc734da65
Merge pull request #255 from NicoPy/patch-7
Reports range() without argument correctly
2018-03-02 20:19:31 +01:00
Nicolas Pinault
93be66168a
Reports range() without parameter
When using range() without parameter, a cryptic error message is displayed by converter :
  File "xxx.py", line 1275, in visit_For
    start, stop, step = args
ValueError: need more than 0 values to unpack

Replaces it by a useful information message :
raise ConversionError(kind, msg, info)
myhdl.ConversionError: in file xxx.py, line 49:
    Requirement violation: at least one argument requested
2018-03-01 15:49:55 +01:00
Nicolas Pinault
3673209605
Restore old trace backup names 2018-02-28 10:29:39 +01:00
Nicolas Pinault
d372d53e74
Add "tracebackup" parameter to simulation configuration
Add "tracebackup" attribute to _TraceSignalsClass to allow to not create trace backup files.
By default, trace backups are enabled to mimic current behaviour.
Setting tracebackup to False disable the backup.
2018-02-28 10:15:53 +01:00
Nicolas Pinault
cb422c7909
Update _traceSignals.py 2018-02-28 09:59:09 +01:00
Nicolas Pinault
512dfaa17c
Enable full simulation configuration. 2018-02-28 09:55:23 +01:00
Nicolas Pinault
47689128fb
Add unsigned() method to _intbv class
Adds unsigned() method to cast a signed intbv signal to an unsigned intbv signal.
2018-02-28 08:39:57 +01:00
jandecaluwe
80069e7df8
Merge pull request #175 from cfelton/test_interfaces
Added nested interface test
2018-02-25 17:55:34 +01:00
jandecaluwe
12dfb9e69f
Merge pull request #54 from udara28/add_tests
Added two new tests for verifying shadow of shadow signal functionality
2018-02-25 17:30:45 +01:00
Jan Decaluwe
4702186edd Fix for #210 2018-02-25 17:10:39 +01:00
Christopher
e0d1baa586 Merge remote-tracking branch 'origin/master' into test_interfaces 2018-02-24 09:33:45 -06:00
jandecaluwe
d5683768bf
Merge pull request #232 from hellow554/patch-2
Update _enum.py
2018-02-24 11:23:36 +01:00
jandecaluwe
cecc56dc4c
Merge pull request #223 from nfarring/vcd_timescale_1ps
Added support for picosecond resolution in VCD trace files.
2018-02-24 11:21:26 +01:00
jandecaluwe
e318032bec
Merge pull request #227 from hellow554/patch-1
Changed backup vcd filename creation
2018-02-24 11:08:43 +01:00
jandecaluwe
e4b27959d3
Merge pull request #211 from serpis/fix_traceSignals
Fix signal trace for array-of-enums
2018-02-23 22:14:14 +01:00
jandecaluwe
6f80dac0c7
Merge pull request #189 from hgomersall/improved_block_mk2
[FIX] fixed a couple of issues with the way classes are handled by the new block decorator
2018-02-23 21:59:39 +01:00
jandecaluwe
e2dac1c6d0
Merge pull request #194 from josko7452/josko7452/fix_issue_185
[FIX] Declare signal procedure parameters as signals
2018-02-23 21:37:56 +01:00
jandecaluwe
8d18a7a371
Merge pull request #186 from Vikram9866/issue185
Added test for issue_185
2018-02-23 21:27:30 +01:00
jandecaluwe
f66a48c83e
Merge pull request #188 from josko7452/josko7452/verilog-vhdl-instance-in-block
Add vhdl_/verilog_instance to _Block decorator
2018-02-23 21:08:40 +01:00
Henry Gomersall
c6818e2dd9
Added a blank line to kick travis into rerunning the tests now it has been fixed. 2018-02-23 13:49:34 +00:00
udara28
096bad03a5 Adding two tests for verifying shadow signal functionality after merging with latest master 2018-02-22 11:24:08 -05:00
udara28
d726752437 Merge branch 'master' of https://github.com/jandecaluwe/myhdl into add_tests 2018-02-22 11:21:09 -05:00
jandecaluwe
4553fdd5e7
Merge pull request #160 from MrCanadianMenace/name_collision_fix
[RDY] Name collision fix (Issue #95)
2018-02-22 08:43:38 +01:00
Jan Decaluwe
20e67ff6e5 devil in detailsss 2018-02-21 22:21:01 +01:00
Jan Decaluwe
ab8c802aa1 try another fix 2018-02-21 22:07:51 +01:00
Jan Decaluwe
5abf86d329 try to fix ghdl path for travis 2018-02-21 21:34:04 +01:00
jandecaluwe
212792f98a
Merge pull request #159 from atharvaw/master
Increasing test coverage for encoding in enum
2018-02-21 21:00:19 +01:00
Henry Gomersall
bf3d14a7bb
Cleaned up the improved block work in order to fix a naming bug on class method blocks. 2017-11-24 10:32:33 +00:00
Henry Gomersall
2371c58288
Merging in upstream changes since original fork. 2017-11-11 11:56:49 +00:00
Marcel Hellwig
08360ad126 Update _enum.py
removed duplicate str = repr
2017-06-27 08:15:53 +02:00
Marcel Hellwig
7542a219f8 Update test_traceSignals.py
Adapted test to new backup filename convention
2017-05-23 15:36:45 +02:00
Marcel Hellwig
8dc6f96cef Changed backup vcd filename creation
When there is already a vcd file with the same name, do not just append the timestamp to the filename, but remove the '.vcd' extension, append the timestamp and append the .vcd extension again, so that file will always have the right file extension (very useful for windows systems)
2017-05-23 10:43:12 +02:00
Nathan Farrington
9e2748968f Added support for picosecond resolution in VCD trace files.
- Added optional timescale parameter to _Block.config_sim()
  - Default value is '1ns'
- Forward timescale parameter to traceSignals() call.
- Added code to _traceSignals.py to use optional timescale keyword arg.
- Checked that both '1ns' and '1ps' show up correctly in VCD trace file.
2017-05-02 11:37:59 -07:00