aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* gate2lut: new techlib, for converting Yosys gates to FPGA LUTs.whitequark2018-12-058-0/+45
|
* opt_lut: add -dlogic, to avoid disturbing logic such as carry chains.whitequark2018-12-051-1/+1
|
* opt_lut: new pass, to combine LUTs for tighter packing.whitequark2018-12-055-0/+43
|
* Merge pull request #679 from udif/pr_syntax_errorClifford Wolf2018-10-2513-0/+64
|\ | | | | More meaningful SystemVerilog/Verilog parser error messages
| * Rename the generic "Syntax error" message from the Verilog/SystemVerilog ↵Udi Finkelstein2018-10-2513-0/+64
| | | | | | | | | | | | | | parser into unique, meaningful info on the error. Also add 13 compilation examples that triggers each of these messages.
* | Support for SystemVerilog interfaces as a port in the top level module + ↵Ruben Undheim2018-10-207-2/+420
|/ | | | test case
* Basic test for checking correct synthesis of SystemVerilog interfacesRuben Undheim2018-10-185-9/+246
|
* Support for 'modports' for System Verilog interfacesRuben Undheim2018-10-121-3/+17
|
* Synthesis support for SystemVerilog interfacesRuben Undheim2018-10-121-0/+76
| | | | This time doing the changes mostly in AST before RTLIL generation
* Merge pull request #513 from udif/pr_reg_wire_errorClifford Wolf2018-08-152-0/+75
|\ | | | | Add error checking for reg/wire/logic misuse - PR now passes 'make test' (plus a new test)
| * Modified errors into warningsUdi Finkelstein2018-06-051-4/+38
| | | | | | | | No longer false warnings for memories and assertions
| * reg_wire_error test needs the -sv flag so it is run via a script so it had ↵Udi Finkelstein2018-06-052-0/+1
| | | | | | | | to be moved out of the tests/simple dir that only runs Verilog files
| * This PR should be the base for discussion, do not merge it yet!Udi Finkelstein2018-03-111-0/+40
| | | | | | | | | | | | | | | | | | | | | | | | It correctly detects reg/wire mix and incorrect use on blocking,nonblocking assignments within blocks and assign statements. What it DOES'T do: Detect registers connected to output ports of instances. Where it FAILS: memorty nonblocking assignments causes spurious (I assume??) errors on yosys-generated "_ADDR", "_DATA", "EN" signals. You can test it with tests/simple/reg_wire_error.v (look inside for the comments to enable/disable specific lines)
* | Fixed typo (sikp -> skip)Udi Finkelstein2018-06-051-1/+1
| |
* | autotest.sh: Change from /bin/bash to /usr/bin/env bashJohnny Sorocil2018-05-061-1/+1
| | | | | | | | | | This enables running tests on Unix systems which are not shipped with bash installed in /bin/bash (eg *BSDs and Solaris).
* | Fix tests/simple/specify.vClifford Wolf2018-03-271-2/+2
| | | | | | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* | First draft of Verilog parser support for specify blocks and parameters.Udi Finkelstein2018-03-271-0/+31
|/ | | | | The only functionality of this code at the moment is to accept correct specify syntax and ignore it. No part of the specify block is added to the AST
* Major redesign of Verific SVA importerClifford Wolf2018-02-271-1/+1
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* Add support for SVA throughout via VerificClifford Wolf2018-02-211-1/+1
|
* Add support for SVA sequence concatenation ranges via verificClifford Wolf2018-02-182-0/+20
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* Add support for SVA until statements via VerificClifford Wolf2018-02-181-0/+19
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* Fix verific PRIM_SVA_AT handling in properties with PRIM_SVA_DISABLE_IFFClifford Wolf2018-02-151-0/+34
|
* Remove PSL example from tests/sva/Clifford Wolf2017-10-202-35/+1
|
* Allow $size and $bits in verilog mode, actually check test caseClifford Wolf2017-09-292-0/+2
|
* $size() now works correctly for all cases!Udi Finkelstein2017-09-261-5/+11
| | | | It seems the issues was that AST_MULTIRANGE is converted into a multirange_dimensions[] array on the AST_MEMORY node directly.
* $size() seems to work now with or without the optional parameter.Udi Finkelstein2017-09-261-8/+18
| | | | Multidimensional arrays still don't work. I suspect the problem is that the array is flattened into a 1D array before $size() is evaluated.
* Added $bits() for memories as well.Udi Finkelstein2017-09-261-6/+5
|
* $size() now works with memories as well!Udi Finkelstein2017-09-261-2/+4
|
* Add $size() function. At the moment it works only on expressions, not on ↵Udi Finkelstein2017-09-261-0/+15
| | | | memories.
* Add simple VHDL+PSL exampleClifford Wolf2017-07-284-17/+64
|
* Improve Verific SVA importerClifford Wolf2017-07-271-7/+8
|
* Add counter.sv SVA testClifford Wolf2017-07-271-0/+29
|
* Improve SVA tests, add Makefile and scriptsClifford Wolf2017-07-2711-9/+110
|
* Add more SVA test cases for future Verific workClifford Wolf2017-07-225-1/+74
|
* Add some simple SVA test cases for future Verific workClifford Wolf2017-07-224-0/+45
|
* Squelch trailing whitespaceLarry Doolittle2017-04-121-1/+1
|
* Fixed typo in tests/simple/arraycells.vClifford Wolf2017-01-041-1/+1
|
* Build hotfix in tests/unit/MakefileClifford Wolf2016-12-111-1/+1
|
* Improved unit test structurerodrigosiqueira2016-12-101-11/+18
| | | | | | | | | Signed-off-by: rodrigosiqueira <rodrigosiqueiramelo@gmail.com> Signed-off-by: chaws <18oliveira.charles@gmail.com> * Merged run-all-unitest inside unit-test target * Fixed Makefile dependencies * Updated documentation about unit test
* Added required structure to implement unit testsrodrigosiqueira2016-12-043-0/+56
| | | | | | | | | | Added modifications inside the main Makefile to refers the unit test Makefile. Added separated Makefile only for compiling unit tests. Added simple example of unit test. Signed-off-by: Charles Oliveira <18oliveira.charles@gmail.com> Signed-off-by: Pablo Alejandro <pabloabur@usp.br> Signed-off-by: Rodrigo Siqueira <siqueira@ime.usp.br>
* Added support for hierarchical defparamsClifford Wolf2016-11-151-0/+23
|
* Added support for (single-clock) transparent memories to bram testsClifford Wolf2016-11-012-10/+23
|
* Fixed "make test" for git head of iverilogClifford Wolf2016-10-111-1/+1
|
* Merge branch 'master' of https://github.com/brouhaha/yosysClifford Wolf2016-09-2313-16/+161
|\
| * Add optional SEED=n command line option to Makefile, and -S n command line ↵Eric Smith2016-09-2213-16/+161
| | | | | | | | option to test scripts, for deterministic regression tests.
* | Added autotest.sh -IClifford Wolf2016-09-201-16/+19
|/
* Fix for modules with big interfaces.Kaj Tuomi2016-09-131-2/+2
|
* Fixed bug with memories that do not have a down-to-zero data widthClifford Wolf2016-08-221-0/+30
|
* Added another mem2reg test caseClifford Wolf2016-08-211-0/+11
|
* Another bugfix in mem2reg codeClifford Wolf2016-08-211-0/+22
|