blob: d87238f0e5affdad2cdf0f2208e94beef2bb33bc [file] [log] [blame]
Ahmed Ghazyd4ec2f02021-04-05 18:32:10 +02001# SPDX-FileCopyrightText: 2020 Efabless Corporation
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14#
15# SPDX-License-Identifier: Apache-2.0
16
17# ---- Test patterns for project striVe ----
18
19.SUFFIXES:
20.SILENT: clean all
21
manarabdelaty8dbabc12021-04-16 21:53:57 +020022PATTERNS = io_ports la_test1 la_test2 wb_port mprj_stimulus
Ahmed Ghazyd4ec2f02021-04-05 18:32:10 +020023
24all: ${PATTERNS}
25 for i in ${PATTERNS}; do \
26 ( cd $$i && make -f Makefile $${i}.vcd &> verify.log && grep Monitor verify.log) ; \
27 done
28
manarabdelaty340cc4a2021-04-20 18:28:22 +020029DV_PATTERNS = $(foreach dv, $(PATTERNS), verify-$(dv))
30$(DV_PATTERNS): verify-% :
31 cd $* && make
32
Ahmed Ghazyd4ec2f02021-04-05 18:32:10 +020033clean: ${PATTERNS}
34 for i in ${PATTERNS}; do \
35 ( cd $$i && make clean ) ; \
36 done
manarabdelatyb41301c2021-04-19 23:30:35 +020037 rm -rf *.log
38
Ahmed Ghazyd4ec2f02021-04-05 18:32:10 +020039.PHONY: clean all