blob: a9c202790ab806b5290a26655e159f719b130934 [file] [log] [blame]
Elon-Jd8508b82022-09-06 16:50:01 -04001# 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
22PATTERNS = mprj_por
23
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
29DV_PATTERNS = $(foreach dv, $(PATTERNS), verify-$(dv))
30$(DV_PATTERNS): verify-% :
31 cd $* && make
32
33clean: ${PATTERNS}
34 for i in ${PATTERNS}; do \
35 ( cd $$i && make clean ) ; \
36 done
37 rm -rf *.log
38
39.PHONY: clean all