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

Subversion Repositories versatile_library

[/] [versatile_library/] [trunk/] [rtl/] [verilog/] [Makefile] - Diff between revs 3 and 4

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 3 Rev 4
Line 1... Line 1...
VERILOG_FILES = clk_and_reset.v
VERILOG_FILES = clk_and_reset.v
VERILOG_FILES += registers.v
VERILOG_FILES += registers.v
 
 
VERILOG_FILES_CNT = cnt_lfsr.v
VERILOG_FILES_CNT = cnt_bin_ce.v
VERILOG_FILES_CNT += cnt_lfsr_ce.v
VERILOG_FILES_CNT += cnt_bin_ce_clear.v
 
VERILOG_FILES_CNT += cnt_bin_ce_clear_set_rew.v
 
VERILOG_FILES_CNT += cnt_bin_ce_rew_l1.v
 
VERILOG_FILES_CNT += cnt_lfsr_zq.v
 
VERILOG_FILES_CNT += cnt_lfsr_ce_zq.v
 
VERILOG_FILES_CNT += cnt_lfsr_ce_rew_l1.v
VERILOG_FILES_CNT += cnt_gray.v
VERILOG_FILES_CNT += cnt_gray.v
VERILOG_FILES_CNT += cnt_gray_ce.v
VERILOG_FILES_CNT += cnt_gray_ce.v
VERILOG_FILES_CNT += cnt_gray_bin_ce.v
VERILOG_FILES_CNT += cnt_gray_ce_bin.v
 
 
VERILOG_FILES += $(VERILOG_FILES_CNT)
VERILOG_FILES += $(VERILOG_FILES_CNT)
VERILOG_FILES += counters.v
VERILOG_FILES += counters.v
 
 
VERSATILE_LIBRARIES = versatile_library.v
VERSATILE_LIBRARIES = versatile_library.v
Line 18... Line 23...
        svn export http://opencores.org/ocsvn/versatile_counter/versatile_counter/trunk/rtl/verilog/versatile_counter_generator.php
        svn export http://opencores.org/ocsvn/versatile_counter/versatile_counter/trunk/rtl/verilog/versatile_counter_generator.php
        svn export http://opencores.org/ocsvn/versatile_counter/versatile_counter/trunk/rtl/verilog/CSV.class.php
        svn export http://opencores.org/ocsvn/versatile_counter/versatile_counter/trunk/rtl/verilog/CSV.class.php
 
 
#.PHONY: $(VERILOG_FILES_CNT)
#.PHONY: $(VERILOG_FILES_CNT)
$(VERILOG_FILES_CNT):
$(VERILOG_FILES_CNT):
        ./versatile_counter_generator.php cnt_lfsr.csv > cnt_lfsr.v
        ./versatile_counter_generator.php cnt_bin_ce.csv > cnt_bin_ce.v
        ./versatile_counter_generator.php cnt_lfsr_ce.csv > cnt_lfsr_ce.v
        ./versatile_counter_generator.php cnt_bin_ce_clear.csv > cnt_bin_ce_clear.v
        ./versatile_counter_generator.php cnt_gray.csv > cnt_gray.v
        ./versatile_counter_generator.php cnt_bin_ce_clear_set_rew.csv > cnt_bin_ce_clear_set_rew.v
 
        ./versatile_counter_generator.php cnt_bin_ce_rew_l1.csv > cnt_bin_ce_rew_l1.v
 
        ./versatile_counter_generator.php cnt_lfsr_zq.csv > cnt_lfsr_zq.v
 
        ./versatile_counter_generator.php cnt_lfsr_ce_zq.csv > cnt_lfsr_ce_zq.v
 
        ./versatile_counter_generator.php cnt_lfsr_ce_rew_l1.csv > cnt_lfsr_ce_rew_l1.v
        ./versatile_counter_generator.php cnt_gray_ce.csv > cnt_gray_ce.v
        ./versatile_counter_generator.php cnt_gray_ce.csv > cnt_gray_ce.v
        ./versatile_counter_generator.php cnt_gray_bin_ce.csv > cnt_gray_bin_ce.v
        ./versatile_counter_generator.php cnt_gray_ce_bin.csv > cnt_gray_ce_bin.v
 
 
versatile_library.v: $(VERILOG_FILES)
versatile_library.v: $(VERILOG_FILES)
        cat $(VERILOG_FILES)  | sed -r -e 's/\/\/E2_([a-z]+)/`\1/' > versatile_library.v
        cat $(VERILOG_FILES)  | sed -r -e 's/\/\/E2_([a-z]+)/`\1/' > versatile_library.v
 
 
versatile_library_actel.v: $(VERILOG_FILES)
versatile_library_actel.v: $(VERILOG_FILES)

powered by: WebSVN 2.1.0

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