aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* add iadff (#67)Pepijn de Vos2019-11-031-1/+8
|
* rewrite import_memory, directly generate $memTristan Gingold2019-11-031-97/+130
|
* handle formal input ports.Tristan Gingold2019-10-311-5/+31
|
* Handle Id_Cover_AssertTristan Gingold2019-10-221-0/+2
|
* Initial support of memories.Tristan Gingold2019-10-191-18/+152
|
* Sign extend 32b literals (#61)Pepijn de Vos2019-10-161-4/+51
| | | | | | | | | | | | | | | | | | | * sign extend 32b literals * Fix undefined behavior Right shift of a signed values is undefined but does arithemetic shift in practice. However, shifting by more than one int width is also undefined but *wraps around*. This caused bit/log to work because it'd shift mod 32. But it actually cause the UL32 to be wrong because it'd just repeat the value rather than extending. * zero pad unsigned and add signed * add testsuite
* Add Id_Neg support (#63)Anton Blanchard2019-10-161-0/+4
| | | | | | | | * Add Id_Neg support * Add testcase for Id_Neg Thanks to Pepijn for the example I based this on.
* Add Id_Smul and Id_Umul (#64)Anton Blanchard2019-10-161-0/+8
| | | | | | * Add Id_Smul and Id_Umul support * Add testcase for Id_Smul and Id_Umul
* Fix a couple of compiler warnings (#62)Anton Blanchard2019-10-141-3/+3
| | | | | | | | | | | | | | | | | I see a few compiler warnings on gcc 9.2: src/ghdl.cc: In function ‘Yosys::RTLIL::SigSpec get_src(std::vector<Yosys::RTLIL::Wire*>&, GhdlSynth::Net)’: src/ghdl.cc:123:43: warning: ‘valzx’ may be used uninitialized in this function [-Wmaybe-uninitialized] 123 | switch(((val01 >> i)&1)+((valzx >> i)&1)*2) | ~~~~~~~^~~~~ src/ghdl.cc:123:26: warning: ‘val01’ may be used uninitialized in this function [-Wmaybe-uninitialized] 123 | switch(((val01 >> i)&1)+((valzx >> i)&1)*2) | ~~~~~~~^~~~~ src/ghdl.cc:99:26: warning: ‘val’ may be used uninitialized in this function [-Wmaybe-uninitialized] 99 | bits[i] = (val >> i) & 1 ? RTLIL::State::S1 : RTLIL::State::S0; | ~~~~~^~~~~ These both appear to be spurious, but initialize them to 0 to avoid the warning.
* Handle Id_Sextend (#59)T. Meissner2019-10-091-0/+8
|
* Handle Id_Asr (#55)T. Meissner2019-10-061-0/+4
|
* add shift functions (#54)Pepijn de Vos2019-10-061-0/+8
|
* Handle Const_X & Const_Z (#49)T. Meissner2019-10-051-0/+12
|
* handle Const_LogTristan Gingold2019-10-021-25/+34
|
* Handle Const_Bit.Tristan Gingold2019-10-021-0/+14
|
* Handle covers (#43)T. Meissner2019-09-201-0/+4
|
* Remove Id_Insert (unused).Tristan Gingold2019-09-091-17/+0
|
* Fix incomplete handling of ConcatnTristan Gingold2019-09-071-2/+3
|
* Run testsuite in Travis CI with docker images (#31)1138-4EB2019-08-162-0/+582
* makefile: use '--build' shortcut to build ghdl.so * move: rename subdir 'ghdl' to 'src' * travis: add travis config file, build script and utils script * testsuite: do not call ghdl explicitly * readme: update