URL
https://opencores.org/ocsvn/versatile_library/versatile_library/trunk
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 |
|
|
|
4 |
|
|
VERILOG_FILES_CNT = cnt_lfsr.v
|
5 |
|
|
VERILOG_FILES_CNT += cnt_lfsr_ce.v
|
6 |
|
|
VERILOG_FILES_CNT += cnt_gray.v
|
7 |
|
|
VERILOG_FILES_CNT += cnt_gray_ce.v
|
8 |
|
|
VERILOG_FILES_CNT += cnt_gray_bin_ce.v
|
9 |
|
|
|
10 |
|
|
VERILOG_FILES += $(VERILOG_FILES_CNT)
|
11 |
|
|
VERILOG_FILES += counters.v
|
12 |
|
|
|
13 |
|
|
VERSATILE_LIBRARIES = versatile_library.v
|
14 |
|
|
VERSATILE_LIBRARIES += versatile_library_actel.v
|
15 |
|
|
VERSATILE_LIBRARIES += versatile_library_altera.v
|
16 |
|
|
|
17 |
|
|
svn_export:
|
18 |
|
|
svn export http://opencores.org/ocsvn/versatile_counter/versatile_counter/trunk/rtl/verilog/versatile_counter_generator.php
|
19 |
|
|
svn export http://opencores.org/ocsvn/versatile_counter/versatile_counter/trunk/rtl/verilog/CSV.class.php
|
20 |
|
|
|
21 |
|
|
#.PHONY: $(VERILOG_FILES_CNT)
|
22 |
|
|
$(VERILOG_FILES_CNT):
|
23 |
|
|
./versatile_counter_generator.php cnt_lfsr.csv > cnt_lfsr.v
|
24 |
|
|
./versatile_counter_generator.php cnt_lfsr_ce.csv > cnt_lfsr_ce.v
|
25 |
|
|
./versatile_counter_generator.php cnt_gray.csv > cnt_gray.v
|
26 |
|
|
./versatile_counter_generator.php cnt_gray_ce.csv > cnt_gray_ce.v
|
27 |
|
|
./versatile_counter_generator.php cnt_gray_bin_ce.csv > cnt_gray_bin_ce.v
|
28 |
|
|
|
29 |
|
|
versatile_library.v: $(VERILOG_FILES)
|
30 |
|
|
cat $(VERILOG_FILES) | sed -r -e 's/\/\/E2_([a-z]+)/`\1/' > versatile_library.v
|
31 |
|
|
|
32 |
|
|
versatile_library_actel.v: $(VERILOG_FILES)
|
33 |
|
|
vppreproc --noline --noblank +define+ACTEL $(VERILOG_FILES) | sed -r -e 's/\/\/E2_([a-z]+)/`\1/' > versatile_library_actel.v
|
34 |
|
|
|
35 |
|
|
versatile_library_altera.v: $(VERILOG_FILES)
|
36 |
|
|
vppreproc --noline --noblank +define+ALTERA $(VERILOG_FILES) > versatile_library_altera.v
|
37 |
|
|
|
38 |
|
|
all: $(VERSATILE_LIBRARIES)
|
39 |
|
|
|
40 |
|
|
clean:
|
41 |
|
|
rm $(VERSATILE_LIBRARIES)
|
42 |
|
|
rm $(VERILOG_FILES_CNT)
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.