blob: 031a2fad76cf7911d69333e96e4a09c1352a8f10 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
cores := conspiracion test_fb test_fifo test_ring test_smp
define core/conspiracion
$(this)/deps := config
$(this)/targets := sim
$(this)/rtl_files := conspiracion.sv
$(this)/rtl_top := conspiracion
$(this)/vl_main := ../../tb/top/conspiracion/conspiracion.cpp
$(this)/vl_runner := run_conspiracion
$(this)/altera_device := 5CSEMA5F31C6
$(this)/altera_family := Cyclone V
$(this)/qsys_platform := ../../platform.qsys
$(this)/sdc_files := ../../conspiracion.sdc
$(this)/qip_files := $(patsubst %,../../ip/%.qip,dsp_mul ip_fp_add ip_fp_mul ip_fp_fix)
$(this)/qsf_files := ../../pins.tcl
ifeq (sim,$(flow/type))
$(this)/deps += conspiracion/tb
endif
endef
define core/test_fb
$(this)/targets := test
$(this)/deps := gfx
$(this)/rtl_files := test_fb.sv
$(this)/rtl_top := test_fb
$(this)/cocotb_paths := ../../..
$(this)/cocotb_modules := tb.top.test_fb
endef
define core/test_fifo
$(this)/targets := test
$(this)/deps := gfx
$(this)/rtl_files := test_fifo.sv
$(this)/rtl_top := test_fifo
$(this)/cocotb_paths := ../../..
$(this)/cocotb_modules := tb.top.test_fifo
endef
define core/test_ring
$(this)/targets := test
$(this)/deps := cache
$(this)/rtl_files := test_ring.sv
$(this)/rtl_top := test_ring
$(this)/cocotb_paths := ../../..
$(this)/cocotb_modules := tb.top.test_ring
endef
define core/test_smp
$(this)/targets := test
$(this)/deps := smp test_fifo test_ring
$(this)/rtl_files := test_smp.sv
$(this)/rtl_top := test_smp
$(this)/cocotb_paths := ../../..
$(this)/cocotb_modules := tb.top.test_smp
endef
|