blob: 5028dd6928c594844a07690fada0c9cb6c1f1566 [file] [log] [blame]
dinesha9e5d8262021-06-06 09:19:03 +00001# 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
dinesha21e5ba92021-06-13 06:39:28 +000022PATTERNS = io_ports la_test1 la_test2 wb_port mprj_stimulus risc_boot user_risc_boot
dinesha9e5d8262021-06-06 09:19:03 +000023
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