Skip to content

Commit

Permalink
tests: Add trivial liberty -unit_delay test
Browse files Browse the repository at this point in the history
  • Loading branch information
povik committed Sep 18, 2024
1 parent 31476e8 commit d5756eb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/liberty/run-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,8 @@ for x in *.lib; do
../../yosys-filterlib -verilogsim $x > $x.verilogsim
diff $x.filtered $x.filtered.ok && diff $x.verilogsim $x.verilogsim.ok
done

for x in *.ys; do
echo "Running $x.."
../../yosys -q -s $x -l ${x%.ys}.log
done
3 changes: 3 additions & 0 deletions tests/liberty/unit_delay.ys
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Nothing gets imported: the file lacks timing data
read_liberty -wb -unit_delay normal.lib
select -assert-none =*/t:$specify*

0 comments on commit d5756eb

Please sign in to comment.