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 25

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

powered by: WebSVN 2.1.0

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