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 35

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

powered by: WebSVN 2.1.0

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