3
0
Fork 0
mirror of https://github.com/YosysHQ/sby.git synced 2025-04-07 06:44:06 +00:00
Commit graph

27 commits

Author SHA1 Message Date
Jannis Harder 90616c280b tests: Do not run the same SBY task multiple times in parallel 2022-10-20 14:18:51 +02:00
KrystalDelusion 37140e7e81 Fixing golden/fifo.sv
Had missed a change from (non golden) fifo.sv.
2022-09-07 09:52:52 +12:00
Jannis Harder 326247fdef tests: Skip broken tests 2022-09-03 00:04:40 +02:00
KrystalDelusion d6d7119cd5 Rewrite of non verific underfill/overfill
w_underfill should provide identical results regardless of whether
or not Verific is used.  w_overfill doesn't have the extra check
for prettiness without Verific because I'm too lazy to do it.

Replaced $past function with past_nwen register to ensure correct
operation.

Expanded w_underfill under Verific to use a property block to more
easily compare the two versions side by side.

Changed Concurrent assertions section of doc to compare the two
implementations of w_underfill.  Should provide a better example
for why using verific makes it easier.
2022-08-09 11:48:40 +12:00
KrystalDelusion 1d4716a5f9 Add noverific task to test the non verific code
Mostly for CI to ensure fallback code still functions as intended.a
Also reverted the change in the grep command to 1 line after.
2022-08-09 11:32:59 +12:00
KrystalDelusion cfa4352bae Changes to reset
Active high.
Removed init.
Better over/underfill cover properties for verific.  Moved basic cover statement to only be used when there is no verific.

Other general tidy up.
Also updated/fixed a couple minor things in newstart.rst.
2022-08-02 12:11:09 +12:00
KrystalDelusion a76286ed34 Check output of fifo.sby
False positive exit 0 if fifo.sby was giving returncode=2.
2022-08-02 10:28:06 +12:00
KrystalDelusion 93d8ef9663 Fixed bigtest
Accidentally broke it in cc27d27 (this is why regular testing is important).
2022-08-02 10:12:33 +12:00
KrystalDelusion b2d0368e26 Testing fifo things in CI
Turns out the bigtest golden ref is failing a_count_diff, need to fix that before removing the default statement.

Base example code is fine.  New shell script to run default case and then nofullskip.
Expects returncode=2 after running nofullskip.
2022-08-01 22:06:03 +12:00
KrystalDelusion ed9b291d2b Remove redundancies in certain logic checks
A | A' === True, A | (A' & B) === A | B
2022-08-01 20:36:19 +12:00
KrystalDelusion cc27d27c05 More literalincludes
Tidying up of newstart.rst and fifo.sv to include as much code as possible by reference.
Should reduce repetition and make it easier if changes occur in source.
2022-07-04 11:53:40 +12:00
KrystalDelusion c9fbfa3684 Adding makefile for fifo 2022-07-04 10:32:55 +12:00
KrystalDelusion aab2c3c2e0 New exercise section
Worked exercise using the MAX_DATA parameter, highlighting its
incompleteness.  Includes completed examples in /golden subdirectory.

Also some formatting changes for spacing and extra links.
2022-07-01 11:19:01 +12:00
KrystalDelusion 7ba67ef260 Removing unnecessary underflow assertions 2022-07-01 11:15:47 +12:00
KrystalDelusion 907db48ac9 Updating from feedback
Primarily addressing Nak's comments on the PR first.
Of note is the change from separate files to a single file.
Changed to boolector engine and bmc by default.
Updated install instructions to move z3 to optional and boolector to
recommended.
Literal code includes use :lines: option.
2022-06-30 12:06:12 +12:00
KrystalDelusion 069197aeaa Add section on sby to newstart
List tasks and run through failing noskip example.
Includes pictures (both fail and pass) plus .gtkw file for setting up.
2022-06-09 14:29:21 +12:00
KrystalDelusion 41e427640a Adding noskip task
Demonstrate failing model check by disabling rskip and wskip.
2022-06-09 14:26:17 +12:00
KrystalDelusion fef6d3a8a6 Adding USE_VERIFIC flag
Adding variations in .sby file where tabby uses verific and oss doesn't.
2022-06-07 11:49:25 +12:00
KrystalDelusion aed5a33bef Add init check
Prevent rst_n from going low once it has gone high.
2022-06-07 10:22:04 +12:00
KrystalDelusion f5257011f6 Specifying z3 to support minimum required install 2022-05-31 11:31:20 +12:00
KrystalDelusion 7468e7655d Alignment fixing 2022-05-10 11:03:40 +12:00
KrystalDelusion 60de15293d Now actually fills up properly
As opposed to only storing MAX-1
2022-05-02 12:34:57 +12:00
KrystalDelusion 48d846d529 Adjusting for use with OSS
i.e. doesn't use concurrent assertions
2022-05-02 12:20:27 +12:00
KrystalDelusion e106d5c161 Adjusting assumptions 2022-04-27 09:36:44 +12:00
KrystalDelusion ec02e25f5c Split fifo.sv into two files
fifo.sv contains the components, top.sv for toplevel design.
2022-04-27 09:24:14 +12:00
KrystalDelusion 679df4d898 Fixing .gitignore to ignore just directories 2022-04-27 09:05:16 +12:00
KrystalDelusion ee769996d0 Initial add of fifo example
Has tests which pass, committing before messing with it while tidying.
2022-04-27 09:02:16 +12:00