aboutsummaryrefslogtreecommitdiffstats
path: root/doc
Commit message (Collapse)AuthorAgeFilesLines
...
* doc: document --out=verilog for synthTristan Gingold2021-04-281-3/+6
|
* doc/development/building/LLVM: add 12.0 to the list of supported versionsumarcor2021-04-271-1/+2
|
* doc: temporarily pin docutils to 0.16, due to theme compatibility issues ↵umarcor2021-04-261-0/+1
| | | | (readthedocs/sphinx_rtd_theme#1115)
* ghw: rename 'ghwlib' to 'libghw' (#1741)umarcor2021-04-241-2/+2
|
* doc: add section about GHWumarcor2021-04-232-0/+38
|
* doc/using: document command 'elab-order' (79fc4b05)umarcor2021-04-221-0/+18
|
* doc: style, use 'file...' consistentlyumarcor2021-04-222-2/+2
|
* doc: style, use '[options...]' consistentlyumarcor2021-04-222-13/+13
|
* doc/synth: clarify that we need '-e' for resolving the ambiguity between a ↵umarcor2021-04-221-13/+21
| | | | unit name and a filename
* doc: add/rename '[library.]top_unit [arch]', style (849a25e0)umarcor2021-04-223-299/+371
|
* doc: pin sphinx to v3.3.1 to prevent search bugumarcor2021-04-221-1/+1
| | | | | | | | | | Search is broken with >=3.3.1 (VUnit/vunit#713). We use the same template in VUnit and here, which is based on sphinx_rtd_theme. Moreover, sphinx_rtd_theme is broken with docutils>=0.16 (see readthedocs/sphinx_rtd_theme#1115). So, we are temporarily pinning those (see buildthedocs/docker@f7bda0e and buildthedocs/docker@1fd9555) until sphinx_rtd_theme is either fixed or updated (they are expecting to deprecate the current theme and use a new one based on bootstrap, see readthedocs/sphinx_rtd_theme#1086). Then, we will either rebase or update buildthedocs/sphinx.theme for picking the fixes.
* doc/using: document synth option '--out' (#1705)Unai Martinez-Corral2021-03-311-7/+26
|
* doc: Add --psl-report-uncovered documentation option.Ondrej Ille2021-03-231-0/+4
|
* VHPI: add initial minimal implementationMarlon James2021-03-042-3/+22
| | | | | | | | Minimal implementation of VHPI provides library loading and error support. Calling most vhpi_* functions will raise a VHPI error condition. Incorporates VHPI thunks into libghdlvpi for linking.
* VPI: support loading multiple librariesMarlon James2021-03-021-6/+11
|
* update for LLVM 11.1 (#1651)Dan Horák2021-02-171-1/+1
|
* doc: update instructions about GCC and GNAT Community installation (#1635)Rodrigo A. Melo2021-02-092-4/+9
|
* Add support for PSL onehot/onehot0 functions (#1633)T. Meissner2021-02-091-1/+1
| | | | | | | | | | | | | | | * vhdl: parse PSL onehot/onehot0 builtin calls. For #662 * update pyGHDL bindings * Synthesis of PSL built-in onehot/onehot0 function. * testsuite/synth: add tests of PSL built-in functions onehot()/onehot0() for #662 * doc: add info about PSL built-in functions onehot()/onehot0() for #662 * synth: refactor synthesis of onehot/onehot0 functions Co-authored-by: eine <eine@users.noreply.github.com>
* doc: reorganise and updateumarcor2021-02-0127-527/+372
|
* doc: move pyGHDL intro to __init__.pyumarcor2021-02-011-43/+2
|
* doc: rm Foreign, use URL refumarcor2021-02-012-9/+1
|
* doc: fixes regarding -frelaxedumarcor2021-01-161-2/+2
|
* libraries: unuse 'openieee', rename enable_openieee to enable_gplcompatumarcor2021-01-161-5/+12
|
* doc: clarify that frelaxed needs to be after std (#1601)umarcor2021-01-161-0/+2
|
* update version/copyright yearumarcor2021-01-161-1/+1
|
* doc/using/InvokingGHDL: styleumarcor2021-01-161-73/+143
|
* doc/using/Synthesis: styleumarcor2021-01-161-16/+16
|
* Reworking pre-compile scripts for Windows (#1594)Patrick Lehmann2021-01-152-153/+185
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Updated pre-compile scripts for OSVVM. * Reworked script for Vivado. * Reworked script for ISE. * Reworked UVVM compile script. Cannot be tested due to missing feature in GHDL see #1593. * Reworked scripts for Altera, Intel and Lattice. * Updated module imports. * Adjusted warnings. * Read OSVVM package files from compile-order file 'osvvm.pro'. * Support OSVVM and OSVVMLibraries as source directory. * Added support for OSVVM models to precompile script. * First update to the pre-compile scripts documentation. * Minimized file headers and redundant documentation. Using PowerShell's feature to document files, functions and modules. * Updated README in precompile scripts directory. * license: update headers of pyGHDL, scripts/windows, libraries/vendors * Fixed ForegroundColor and InvocationName. Co-authored-by: umarcor <unai.martinezcorral@ehu.eus>
* doc: mention 'ghdl fmt'Tristan Gingold2021-01-091-1/+10
|
* manpage: updated Link to modern documentationMarcus Müller2021-01-071-1/+1
| | | | Signed-off-by: Marcus Müller <marcus@hostalia.de>
* mv dist/* scripts/umarcor2021-01-062-588/+588
|
* doc: add header to indexumarcor2021-01-061-0/+4
|
* doc: recommonmark is not used at the momentumarcor2021-01-061-1/+1
|
* Also auto document options from 'pnodes' and 'pnodespy'.Patrick Lehmann2021-01-052-9/+15
|
* Fixed -P option.Patrick Lehmann2021-01-052-3/+3
|
* Reordered navigation bar items.Patrick Lehmann2021-01-052-2/+2
|
* Tiny modifications.Patrick Lehmann2021-01-051-3/+3
|
* Added 'attrs' to the dependency list.Patrick Lehmann2021-01-051-6/+2
|
* Run AutoProgram to extract ghdl-ls CLI options. Add a link to gnatdoc.Patrick Lehmann2021-01-055-4/+22
|
* Extract CLI parameters from ghdl-ls.Patrick Lehmann2021-01-052-1/+59
|
* Fixed typo.Patrick Lehmann2021-01-051-1/+1
|
* Try without explicit extension so Sphinx takes either png or svg.Patrick Lehmann2021-01-051-2/+2
|
* Removed old Python documentation.Patrick Lehmann2021-01-054-144/+4
|
* Fixed some ReST issues.Patrick Lehmann2021-01-052-10/+10
|
* Enabled Python Module Index.Patrick Lehmann2021-01-052-0/+5
|
* Updated prolog for Sphinx (global include per ReST file).Patrick Lehmann2021-01-051-2/+9
|
* Enabled missing Sphinx extensions. Fixed role name cls to class.Patrick Lehmann2021-01-052-7/+155
|
* Fixed dependency list for documentation.Patrick Lehmann2021-01-051-1/+11
|
* Reduced levels of documentation.Patrick Lehmann2021-01-052-2/+6
|
* Added link to auto generated doc.Patrick Lehmann2021-01-051-12/+16
|
lass="p">, -0.573576, -0.559193, -0.544639, -0.529919, -0.515038, -0.500000, -0.484810, -0.469472, -0.453990, -0.438371, -0.422618, -0.406737, -0.390731, -0.374607, -0.358368, -0.342020, -0.325568, -0.309017, -0.292372, -0.275637, -0.258819, -0.241922, -0.224951, -0.207912, -0.190809, -0.173648, -0.156434, -0.139173, -0.121869, -0.104528, -0.087156, -0.069756, -0.052336, -0.034899, -0.017452 }; double fsin(int degrees) { if (degrees < 0) degrees -= (degrees/360-1)*360; else if (degrees >= 360) degrees %= 360; return sintabledouble[degrees]; } double fcos(int degrees) { return fsin(degrees+90); } #endif #if GMISC_NEED_FIXEDTRIG const fixed sintablefixed[] = { 0, 1143, 2287, 3429, 4571, 5711, 6850, 7986, 9120, 10252, 11380, 12504, 13625, 14742, 15854, 16961, 18064, 19160, 20251, 21336, 22414, 23486, 24550, 25606, 26655, 27696, 28729, 29752, 30767, 31772, 32767, 33753, 34728, 35693, 36647, 37589, 38521, 39440, 40347, 41243, 42125, 42995, 43852, 44695, 45525, 46340, 47142, 47929, 48702, 49460, 50203, 50931, 51643, 52339, 53019, 53683, 54331, 54963, 55577, 56175, 56755, 57319, 57864, 58393, 58903, 59395, 59870, 60326, 60763, 61183, 61583, 61965, 62328, 62672, 62997, 63302, 63589, 63856, 64103, 64331, 64540, 64729, 64898, 65047, 65176, 65286, 65376, 65446, 65496, 65526, 65536, 65526, 65496, 65446, 65376, 65286, 65176, 65047, 64898, 64729, 64540, 64331, 64103, 63856, 63589, 63302, 62997, 62672, 62328, 61965, 61583, 61183, 60763, 60326, 59870, 59395, 58903, 58393, 57864, 57319, 56755, 56175, 55577, 54963, 54331, 53683, 53019, 52339, 51643, 50931, 50203, 49460, 48702, 47929, 47142, 46340, 45525, 44695, 43852, 42995, 42125, 41243, 40347, 39440, 38521, 37589, 36647, 35693, 34728, 33753, 32767, 31772, 30767, 29752, 28729, 27696, 26655, 25606, 24550, 23486, 22414, 21336, 20251, 19160, 18064, 16961, 15854, 14742, 13625, 12504, 11380, 10252, 9120, 7986, 6850, 5711, 4571, 3429, 2287, 1143, 0, -1143, -2287, -3429, -4571, -5711, -6850, -7986, -9120, -10252, -11380, -12504, -13625, -14742, -15854, -16961, -18064, -19160, -20251, -21336, -22414, -23486, -24550, -25606, -26655, -27696, -28729, -29752, -30767, -31772, -32768, -33753, -34728, -35693, -36647, -37589, -38521, -39440, -40347, -41243, -42125, -42995, -43852, -44695, -45525, -46340, -47142, -47929, -48702, -49460, -50203, -50931, -51643, -52339, -53019, -53683, -54331, -54963, -55577, -56175, -56755, -57319, -57864, -58393, -58903, -59395, -59870, -60326, -60763, -61183, -61583, -61965, -62328, -62672, -62997, -63302, -63589, -63856, -64103, -64331, -64540, -64729, -64898, -65047, -65176, -65286, -65376, -65446, -65496, -65526, -65536, -65526, -65496, -65446, -65376, -65286, -65176, -65047, -64898, -64729, -64540, -64331, -64103, -63856, -63589, -63302, -62997, -62672, -62328, -61965, -61583, -61183, -60763, -60326, -59870, -59395, -58903, -58393, -57864, -57319, -56755, -56175, -55577, -54963, -54331, -53683, -53019, -52339, -51643, -50931, -50203, -49460, -48702, -47929, -47142, -46340, -45525, -44695, -43852, -42995, -42125, -41243, -40347, -39440, -38521, -37589, -36647, -35693, -34728, -33753, -32768, -31772, -30767, -29752, -28729, -27696, -26655, -25606, -24550, -23486, -22414, -21336, -20251, -19160, -18064, -16961, -15854, -14742, -13625, -12504, -11380, -10252, -9120, -7986, -6850, -5711, -4571, -3429, -2287, -1143 }; fixed ffsin(int degrees) { if (degrees < 0) degrees -= (degrees/360-1)*360; else if (degrees >= 360) degrees %= 360; return sintablefixed[degrees]; } fixed ffcos(int degrees) { return ffsin(degrees+90); } #endif #if GMISC_NEED_INVSQRT // Algorithm based on Quake code. #if GMISC_INVSQRT_REAL_SLOW #include <math.h> float invsqrt(float n) { return 1.0/sqrt(n); } #else float invsqrt(float n) { int32_t i; float x2; x2 = n * 0.5F; // Convert into an int32 (no binary format conversion) #if GMISC_INVSQRT_MIXED_ENDIAN ((char *)&i)[0] = ((char *)&n)[3]; ((char *)&i)[1] = ((char *)&n)[2]; ((char *)&i)[2] = ((char *)&n)[1]; ((char *)&i)[3] = ((char *)&n)[0]; #else i = *(int32_t *)&n; #endif // evil floating point bit level hacking i = 0x5F375A86 - (i >> 1); // The quake code used 0x5F3759DF but this is better. // Convert back to a float (no binary format conversion) #if GMISC_INVSQRT_MIXED_ENDIAN ((char *)&n)[0] = ((char *)&i)[3]; ((char *)&n)[1] = ((char *)&i)[2]; ((char *)&n)[2] = ((char *)&i)[1]; ((char *)&n)[3] = ((char *)&i)[0]; #else n = *(float *)&i; #endif n = n * (1.5F - (x2 * n * n)); // 1st iteration //n = n * (1.5F - (x2 * n * n)); // 2nd iteration for extra precision, this can be removed return n; } #endif #endif #endif /* GFX_USE_GMISC */ /** @} */