aboutsummaryrefslogtreecommitdiffstats
path: root/passes/techmap
Commit message (Collapse)AuthorAgeFilesLines
* lut2mux: handle 1-bit INIT constant in $lut cells.whitequark2018-12-051-1/+1
| | | | | This pass already handles INIT constants shorter than 2^width, but that was not done for the recursion base case.
* Fix typoClifford Wolf2018-12-041-1/+1
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* dff2dffe: Add option for unmap to only remove DFFE with low CE signal useSylvain Munaut2018-11-271-1/+36
| | | | Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
* DFFLIBMAP: changed 'missing pin' error into a warning with additional ↵Niels Moseley2018-11-061-1/+10
| | | | reason/info.
* Allow square brackets in liberty identifiersClifford Wolf2018-11-051-2/+2
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* Liberty file newline handling is more relaxed. More descriptive error messageNiels Moseley2018-11-031-4/+7
|
* Report an error when a liberty file contains pin references that reference ↵Niels Moseley2018-11-031-0/+3
| | | | non-existing pins
* Merge pull request #591 from hzeller/virtual-overrideClifford Wolf2018-08-1528-62/+62
|\ | | | | Consistent use of 'override' for virtual methods in derived classes.
| * Consistent use of 'override' for virtual methods in derived classes.Henner Zeller2018-07-2028-62/+62
| | | | | | | | | | | | | | | | | | o Not all derived methods were marked 'override', but it is a great feature of C++11 that we should make use of. o While at it: touched header files got a -*- c++ -*- for emacs to provide support for that language. o use YS_OVERRIDE for all override keywords (though we should probably use the plain keyword going forward now that C++11 is established)
* | Add missing <deque> include (MSVC build fix)Clifford Wolf2018-07-221-0/+1
|/ | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* ecp5: Adding synchronous set/reset supportDavid Shah2018-07-143-3/+155
| | | | Signed-off-by: David Shah <davey1576@gmail.com>
* Be slightly less aggressive in "deminout" passClifford Wolf2018-06-191-4/+28
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* Fix infinite loop in abc command under emscriptenRobert Ou2018-05-181-5/+7
|
* Add an option to statically link abc into yosysRobert Ou2018-05-181-0/+20
| | | | This is currently incomplete because the output filter no longer works.
* Fix iopadmap for loops between tristate IO buffersClifford Wolf2018-05-151-0/+21
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* Fix iopadmap for cases where IO pins already have buffers on themClifford Wolf2018-05-151-1/+35
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* Add ABC FAQ to "help abc"Clifford Wolf2018-05-041-2/+6
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* Replace -ignore_redef with -[no]overwriteClifford Wolf2018-05-031-2/+2
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* Added missing dont_use handling for SR FFs to dfflibmapClifford Wolf2018-04-051-0/+4
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* Fix handling of src attributes in flattenClifford Wolf2018-03-101-7/+2
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* Add "dffinit -highlow" and fix synth_intelClifford Wolf2018-01-091-0/+20
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* Add support for "yosys -E"Clifford Wolf2018-01-071-0/+1
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* Value of properties can be expression.Staf Verhaegen2018-01-031-2/+22
| | | | | | | | | | | | | | Example found in the 2007.03 Liberty Reference Manual that was also found in the wild: input_voltage(CMOS) { vil : 0.3 * VDD ; vih : 0.7 * VDD ; vimin : -0.5 ; vimax : VDD + 0.5 ; } Current implementation just parses the expression but no interpretation is done.
* Rewrite ABC output to include proper net names in timing reportClifford Wolf2017-10-101-2/+17
|
* Added missing "break"Andrew Zonenberg2017-09-151-0/+1
|
* Implemented off-chain support for extract_reduceAndrew Zonenberg2017-09-151-84/+157
|
* extract_reduce now only removes the head of the chain, relying on "clean" to ↵Andrew Zonenberg2017-09-151-9/+19
| | | | delete upstream cells. Added "-allow-off-chain" flag, but it's currently ignored.
* Merge pull request #412 from azonenberg/reduce-fixesClifford Wolf2017-09-141-2/+2
|\ | | | | extract_reduce: Fix segfault on "undriven" inputs
| * extract_reduce: Fix segfault on "undriven" inputsRobert Ou2017-09-141-2/+2
| | | | | | | | | | | | | | | | This is easily triggered when un-techmapping if the technology-specific cell library isn't loaded. Outputs of technology-specific cells will be seen as inputs, and nets using those outputs will be seen as undriven. Just ignore these cells because they can't be part of a reduce chain anyways.
* | Fixed bug where counter extraction on non-GreenPAK devices incorrectly ↵Andrew Zonenberg2017-09-141-32/+27
| | | | | | | | handled parallel counter output
* | Added support for inferring counters with reset to full scale instead of zeroAndrew Zonenberg2017-09-141-4/+11
| |
* | Added RESET_TO_MAX parameter to $__COUNT_ cell. Cannot yet be extracted.Andrew Zonenberg2017-09-141-0/+1
| |
* | Added support for inferring counters with active-low resetAndrew Zonenberg2017-09-141-6/+15
| |
* | Initial support for extraction of counters with clock enableAndrew Zonenberg2017-09-141-9/+66
| |
* | Fixed typo in comment. Fixed bug where extract_counter would create up ↵Andrew Zonenberg2017-09-141-2/+2
|/ | | | counters when it meant to create down counters.
* Further improve extract_fa (but still buggy)Clifford Wolf2017-09-021-28/+91
|
* Merge branch 'master' of github.com:cliffordwolf/yosysClifford Wolf2017-09-012-0/+583
|\
| * extract_counter: Added optimizations to remove unused high-order bitsAndrew Zonenberg2017-08-301-16/+34
| |
| * extract_counter: Minor changes requested to comply with upstream policy, ↵Andrew Zonenberg2017-08-301-3/+4
| | | | | | | | fixed a few typos
| * Finished refactoring counter extraction to be nice and generic. Implemented ↵Andrew Zonenberg2017-08-281-11/+25
| | | | | | | | techmapping from $__COUNT_ to GP_COUNTx cells.
| * Refactored extract_counter to be generic vs GreenPAK specificAndrew Zonenberg2017-08-281-51/+87
| |
| * Refactoring: Renamed greenpak4_counters pass to extract_counter, moved it to ↵Andrew Zonenberg2017-08-282-0/+514
| | | | | | | | techmap/ since it's going to become a generic pass
* | Update more stuff to use get_src_attribute() and set_src_attribute()Clifford Wolf2017-09-011-4/+4
| |
* | updated to use get_src_attribute() and set_src_attribute().Jason Lowdermilk2017-08-313-10/+7
| |
* | Add support for source line tracking through synthesis phaseJason Lowdermilk2017-08-293-4/+23
|/
* Rename recover_reduce to extract_reduce, fix args handlingClifford Wolf2017-08-282-8/+25
|
* Merge branch 'recover-reduce' of https://github.com/azonenberg/yosys into ↵Clifford Wolf2017-08-282-0/+223
|\ | | | | | | azonenberg-recover-reduce
| * recover_reduce: Update documentationRobert Ou2017-08-271-8/+11
| | | | | | | | | | The documentation now describes the commands performed in the deleted recover_reduce script.
| * recover_reduce: Reindent using tabsRobert Ou2017-08-271-190/+190
| |
| * recover_reduce: Rename recover_reduce_core to recover_reduceRobert Ou2017-08-273-101/+0
| | | | | | | | | | | | | | | | Clifford has commented on PR #387 stating that he does not like the driver script and would prefer to only have the core script with appropriate notes in the documentation. Also rename to .cc (rather than .cpp) for consistency.