Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ghdl.cc: handle gclk attributes on dff. For ghdl/ghdl#1610 | Tristan Gingold | 2021-01-25 | 1 | -13/+70 |
| | | | | Also attribute nets. | ||||
* | Minor rework on attributes. | Tristan Gingold | 2021-01-25 | 1 | -5/+19 |
| | |||||
* | Use ':' instead of '$' for number names | Tristan Gingold | 2020-11-18 | 1 | -2/+3 |
| | |||||
* | ghdl.cc: allow extended identifier of length 1 | Tristan Gingold | 2020-11-18 | 1 | -1/+1 |
| | |||||
* | Try to convert extended name to a name | Tristan Gingold | 2020-11-18 | 1 | -1/+31 |
| | |||||
* | '%' is not supported by Xilinx ISE edif2ngc. Fix #134 | eine | 2020-10-02 | 1 | -1/+2 |
| | | | | Authored-By: Tristan Gingold <tgingold@free.fr> | ||||
* | Fix signed modulo behaviour | Xiretza | 2020-05-30 | 1 | -4/+5 |
| | | | | | | | | | Yosys' $mod cell is the modulo of truncating division, known as "rem" in VHDL. The new $modfloor cell is the modulo of flooring division, known as "mod" in VHDL. "mod" now synthesizes correctly for negative numbers. | ||||
* | Add reduce_xor support to the Yosys plugin | rlee287 | 2020-05-28 | 1 | -0/+4 |
| | | | | This is a followup for ghdl/ghdl issue 1342 | ||||
* | ghdl.cc: import attributes on memory. For ghdl/ghdl#1318 | Tristan Gingold | 2020-05-23 | 1 | -1/+19 |
| | |||||
* | ghdl.cc: handle Id_Iinout | Tristan Gingold | 2020-05-16 | 1 | -0/+2 |
| | |||||
* | Fix ordering of $pmux ports | Xiretza | 2020-05-14 | 1 | -2/+2 |
| | | | | | | | | For Id_Pmux, IN(2+n) corresponds to s(n). For $pmux, B[n*WIDTH-1:(n-1)*WIDTH] corresponds to S[n]. Therefore, the inputs need to be appended in ascending order, such that IN(2) is assigned to B[WIDTH-1:0], IN(3) to B[2*WIDTH-1:WIDTH], etc. | ||||
* | ghdl.cc: implement id_pmux | Tristan Gingold | 2020-05-09 | 1 | -12/+22 |
| | |||||
* | handle Id_Tri and Id_Resolver | Tristan Gingold | 2020-04-23 | 1 | -0/+9 |
| | |||||
* | ghdl.cc: adjust for recent yosys. Fix #107 | Tristan Gingold | 2020-04-23 | 1 | -1/+1 |
| | |||||
* | ghdl.cc: adjust for edge handle (ghdl#1227) | Tristan Gingold | 2020-04-15 | 1 | -16/+53 |
| | |||||
* | ghdl.cc: avoid duplicate blackboxes. | Tristan Gingold | 2020-04-09 | 1 | -1/+4 |
| | |||||
* | Add support for non-constant asynchronous reset dff. | Tristan Gingold | 2020-04-07 | 1 | -5/+29 |
| | |||||
* | Add support for smod. Fix #102 | Tristan Gingold | 2020-04-07 | 1 | -0/+2 |
| | |||||
* | Handle Id_User_Parameters: add parameters to gates. | Tristan Gingold | 2020-03-31 | 1 | -21/+60 |
| | | | | This allows easy interfacing with verilog modules. | ||||
* | Add support for inout gate. Fix #96 | Tristan Gingold | 2020-03-29 | 1 | -3/+39 |
| | |||||
* | Add min/max gates | Xiretza | 2020-03-22 | 1 | -0/+21 |
| | |||||
* | Add abs gate (#91) | Xiretza | 2020-03-10 | 1 | -0/+9 |
| | |||||
* | Fix ghdl.cc indentation (#90) | Xiretza | 2020-03-10 | 1 | -168/+169 |
| | | | | Switched everything to tabs, since those seemed to be most common. Also added a vim modeline. | ||||
* | ghdl.cc: avoid infinite recursion due to concatenation. | Tristan Gingold | 2020-03-09 | 1 | -2/+50 |
| | |||||
* | ghdl.cc: refactoring before optimization. | Tristan Gingold | 2020-03-09 | 1 | -25/+26 |
| | |||||
* | ghdl.cc: rewrite help. | Tristan Gingold | 2020-03-01 | 1 | -2/+23 |
| | |||||
* | ghdl.cc: adjust after changes in ghdl (for memories). | Tristan Gingold | 2020-02-23 | 1 | -4/+16 |
| | |||||
* | add cons_0, div, and umod (#72) | Pepijn de Vos | 2019-12-31 | 1 | -2/+22 |
| | | | | | | * add cons_0, [su]div, and umod * Yosys mod is actually remainder semantics | ||||
* | handle mem_rd_sync gates. | Tristan Gingold | 2019-12-05 | 1 | -0/+10 |
| | |||||
* | Handle removal of id_output gates. | Tristan Gingold | 2019-12-05 | 1 | -28/+10 |
| | |||||
* | Fix init input for iadff. For #76 | Tristan Gingold | 2019-12-03 | 1 | -1/+1 |
| | |||||
* | Do not rename ports. Fix #75 | Tristan Gingold | 2019-12-03 | 1 | -8/+9 |
| | |||||
* | Support multiple synthesis. Fix #73 | Tristan Gingold | 2019-12-02 | 1 | -4/+7 |
| | |||||
* | Add Id_Smod support (#66) | Anton Blanchard | 2019-11-03 | 1 | -0/+4 |
| | |||||
* | add iadff (#67) | Pepijn de Vos | 2019-11-03 | 1 | -1/+8 |
| | |||||
* | rewrite import_memory, directly generate $mem | Tristan Gingold | 2019-11-03 | 1 | -97/+130 |
| | |||||
* | handle formal input ports. | Tristan Gingold | 2019-10-31 | 1 | -5/+31 |
| | |||||
* | Handle Id_Cover_Assert | Tristan Gingold | 2019-10-22 | 1 | -0/+2 |
| | |||||
* | Initial support of memories. | Tristan Gingold | 2019-10-19 | 1 | -18/+152 |
| | |||||
* | Sign extend 32b literals (#61) | Pepijn de Vos | 2019-10-16 | 1 | -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 Blanchard | 2019-10-16 | 1 | -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 Blanchard | 2019-10-16 | 1 | -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 Blanchard | 2019-10-14 | 1 | -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. Meissner | 2019-10-09 | 1 | -0/+8 |
| | |||||
* | Handle Id_Asr (#55) | T. Meissner | 2019-10-06 | 1 | -0/+4 |
| | |||||
* | add shift functions (#54) | Pepijn de Vos | 2019-10-06 | 1 | -0/+8 |
| | |||||
* | Handle Const_X & Const_Z (#49) | T. Meissner | 2019-10-05 | 1 | -0/+12 |
| | |||||
* | handle Const_Log | Tristan Gingold | 2019-10-02 | 1 | -25/+34 |
| | |||||
* | Handle Const_Bit. | Tristan Gingold | 2019-10-02 | 1 | -0/+14 |
| | |||||
* | Handle covers (#43) | T. Meissner | 2019-09-20 | 1 | -0/+4 |
| |