OpenCores
URL https://opencores.org/ocsvn/versatile_library/versatile_library/trunk

Subversion Repositories versatile_library

[/] [versatile_library/] [trunk/] [rtl/] [verilog/] [Makefile] - Blame information for rev 26

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 3 unneback
VERILOG_FILES = clk_and_reset.v
2
VERILOG_FILES += registers.v
3 18 unneback
VERILOG_FILES += logic.v
4 3 unneback
 
5 22 unneback
VERILOG_FILES_CNT = vl_cnt_bin.v
6
VERILOG_FILES_CNT += vl_cnt_bin_clear.v
7
VERILOG_FILES_CNT += vl_cnt_bin_ce.v
8 18 unneback
VERILOG_FILES_CNT += vl_cnt_bin_ce_clear.v
9
VERILOG_FILES_CNT += vl_cnt_bin_ce_clear_set_rew.v
10
VERILOG_FILES_CNT += vl_cnt_bin_ce_rew_l1.v
11 25 unneback
VERILOG_FILES_CNT += vl_cnt_bin_ce_rew_zq_l1.v
12
VERILOG_FILES_CNT += vl_cnt_bin_ce_rew_q_zq_l1.v
13 18 unneback
VERILOG_FILES_CNT += vl_cnt_lfsr_zq.v
14
VERILOG_FILES_CNT += vl_cnt_lfsr_ce_zq.v
15 26 unneback
VERILOG_FILES_CNT += vl_cnt_lfsr_ce_q.v
16
VERILOG_FILES_CNT += vl_cnt_lfsr_ce_clear_q.v
17 22 unneback
VERILOG_FILES_CNT += vl_cnt_lfsr_ce_q_zq.v
18 18 unneback
VERILOG_FILES_CNT += vl_cnt_lfsr_ce_rew_l1.v
19
VERILOG_FILES_CNT += vl_cnt_gray.v
20
VERILOG_FILES_CNT += vl_cnt_gray_ce.v
21
VERILOG_FILES_CNT += vl_cnt_gray_ce_bin.v
22 3 unneback
 
23
VERILOG_FILES += $(VERILOG_FILES_CNT)
24
VERILOG_FILES += counters.v
25 5 unneback
VERILOG_FILES += memories.v
26 12 unneback
VERILOG_FILES += wb.v
27 18 unneback
VERILOG_FILES += arith.v
28 3 unneback
 
29
VERSATILE_LIBRARIES = versatile_library.v
30
VERSATILE_LIBRARIES += versatile_library_actel.v
31
VERSATILE_LIBRARIES += versatile_library_altera.v
32
 
33
svn_export:
34
        svn export http://opencores.org/ocsvn/versatile_counter/versatile_counter/trunk/rtl/verilog/versatile_counter_generator.php
35
        svn export http://opencores.org/ocsvn/versatile_counter/versatile_counter/trunk/rtl/verilog/CSV.class.php
36
 
37
#.PHONY: $(VERILOG_FILES_CNT)
38
$(VERILOG_FILES_CNT):
39 22 unneback
        ./versatile_counter_generator.php cnt_bin.csv > vl_cnt_bin.v
40
        ./versatile_counter_generator.php cnt_bin_clear.csv > vl_cnt_bin_clear.v
41 18 unneback
        ./versatile_counter_generator.php cnt_bin_ce.csv > vl_cnt_bin_ce.v
42
        ./versatile_counter_generator.php cnt_bin_ce_clear.csv > vl_cnt_bin_ce_clear.v
43
        ./versatile_counter_generator.php cnt_bin_ce_clear_set_rew.csv > vl_cnt_bin_ce_clear_set_rew.v
44
        ./versatile_counter_generator.php cnt_bin_ce_rew_l1.csv > vl_cnt_bin_ce_rew_l1.v
45 25 unneback
        ./versatile_counter_generator.php cnt_bin_ce_rew_zq_l1.csv > vl_cnt_bin_ce_rew_zq_l1.v
46
        ./versatile_counter_generator.php cnt_bin_ce_rew_q_zq_l1.csv > vl_cnt_bin_ce_rew_q_zq_l1.v
47 18 unneback
        ./versatile_counter_generator.php cnt_lfsr_zq.csv > vl_cnt_lfsr_zq.v
48
        ./versatile_counter_generator.php cnt_lfsr_ce_zq.csv > vl_cnt_lfsr_ce_zq.v
49 26 unneback
        ./versatile_counter_generator.php cnt_lfsr_ce_q.csv > vl_cnt_lfsr_ce_q.v
50
        ./versatile_counter_generator.php cnt_lfsr_ce_clear_q.csv > vl_cnt_lfsr_ce_clear_q.v
51 22 unneback
        ./versatile_counter_generator.php cnt_lfsr_ce_q_zq.csv > vl_cnt_lfsr_ce_q_zq.v
52 18 unneback
        ./versatile_counter_generator.php cnt_lfsr_ce_rew_l1.csv > vl_cnt_lfsr_ce_rew_l1.v
53
        ./versatile_counter_generator.php cnt_gray.csv > vl_cnt_gray.v
54
        ./versatile_counter_generator.php cnt_gray_ce.csv > vl_cnt_gray_ce.v
55
        ./versatile_counter_generator.php cnt_gray_ce_bin.csv > vl_cnt_gray_ce_bin.v
56 3 unneback
 
57
versatile_library.v: $(VERILOG_FILES)
58
        cat $(VERILOG_FILES)  | sed -r -e 's/\/\/E2_([a-z]+)/`\1/' > versatile_library.v
59
 
60
versatile_library_actel.v: $(VERILOG_FILES)
61
        vppreproc  --noline --noblank +define+ACTEL $(VERILOG_FILES) | sed -r -e 's/\/\/E2_([a-z]+)/`\1/' > versatile_library_actel.v
62
 
63
versatile_library_altera.v: $(VERILOG_FILES)
64
        vppreproc  --noline --noblank +define+ALTERA $(VERILOG_FILES) > versatile_library_altera.v
65
 
66
all: $(VERSATILE_LIBRARIES)
67
 
68
clean:
69
        rm $(VERSATILE_LIBRARIES)
70
        rm  $(VERILOG_FILES_CNT)

powered by: WebSVN 2.1.0

© copyright 1999-2021 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.