##// END OF EJS Templates
removed dependency to Xonsh for Validation LFR Filters
Jeandet Alexis -
r648:0343834a1e0e default draft
parent child
Show More
@@ -0,0 +1,10
1 import os
2 import shutil
3 import datetime as dt
4 import glob
5
6 folder=dt.datetime.today().strftime("%Y-%m-%d_%H-%M-%S")
7 os.mkdir(folder)
8 shutil.copy("input.txt",folder+"/input.txt")
9 for file in glob.glob("output_f*.txt"):
10 shutil.copy(file, folder)
@@ -0,0 +1,10
1 import os
2 import shutil
3 import datetime as dt
4 import glob
5
6 folder=dt.datetime.today().strftime("%Y-%m-%d_%H-%M-%S")
7 os.mkdir(folder)
8 shutil.copy("input.txt",folder+"/input.txt")
9 for file in glob.glob("output_f*.txt"):
10 shutil.copy(file, folder)
@@ -1,86 +1,86
1 VHDLIB=../..
1 VHDLIB=../..
2 SELFDIR := $(dir $(lastword $(MAKEFILE_LIST)))
2 SELFDIR := $(dir $(lastword $(MAKEFILE_LIST)))
3 SCRIPTSDIR=$(VHDLIB)/scripts/
3 SCRIPTSDIR=$(VHDLIB)/scripts/
4 GRLIB := $(shell sh $(VHDLIB)/scripts/lpp_relpath.sh)
4 GRLIB := $(shell sh $(VHDLIB)/scripts/lpp_relpath.sh)
5 TOP=testbench
5 TOP=testbench
6 BOARD=LFR-EQM
6 BOARD=LFR-EQM
7 include $(VHDLIB)/boards/$(BOARD)/Makefile_RTAX.inc
7 include $(VHDLIB)/boards/$(BOARD)/Makefile_RTAX.inc
8 DEVICE=$(PART)-$(PACKAGE)$(SPEED)
8 DEVICE=$(PART)-$(PACKAGE)$(SPEED)
9 UCF=
9 UCF=
10 QSF=
10 QSF=
11 EFFORT=high
11 EFFORT=high
12 XSTOPT=
12 XSTOPT=
13 SYNPOPT=
13 SYNPOPT=
14 VHDLSYNFILES=
14 VHDLSYNFILES=
15 VHDLSIMFILES= $(SELFDIR)/tb.vhd
15 VHDLSIMFILES= $(SELFDIR)/tb.vhd
16 SIMTOP=testbench
16 SIMTOP=testbench
17 CLEAN=soft-clean
17 CLEAN=soft-clean
18
18
19 TECHLIBS = axcelerator
19 TECHLIBS = axcelerator
20
20
21 LIBSKIP = core1553bbc core1553brm core1553brt gr1553 corePCIF \
21 LIBSKIP = core1553bbc core1553brm core1553brt gr1553 corePCIF \
22 tmtc openchip hynix ihp gleichmann micron usbhc opencores fmf ftlib gsi
22 tmtc openchip hynix ihp gleichmann micron usbhc opencores fmf ftlib gsi
23
23
24 DIRSKIP = b1553 pcif leon2 leon3v3 leon2ft crypto satcan ddr usb ata i2c \
24 DIRSKIP = b1553 pcif leon2 leon3v3 leon2ft crypto satcan ddr usb ata i2c \
25 pci grusbhc haps slink ascs can pwm greth coremp7 spi ac97 srmmu atf \
25 pci grusbhc haps slink ascs can pwm greth coremp7 spi ac97 srmmu atf \
26 grlfpc \
26 grlfpc \
27 ./dsp/lpp_fft_rtax \
27 ./dsp/lpp_fft_rtax \
28 ./amba_lcd_16x2_ctrlr \
28 ./amba_lcd_16x2_ctrlr \
29 ./general_purpose/lpp_AMR \
29 ./general_purpose/lpp_AMR \
30 ./general_purpose/lpp_balise \
30 ./general_purpose/lpp_balise \
31 ./general_purpose/lpp_delay \
31 ./general_purpose/lpp_delay \
32 ./lpp_bootloader \
32 ./lpp_bootloader \
33 ./lfr_management \
33 ./lfr_management \
34 ./lpp_sim/CY7C1061DV33 \
34 ./lpp_sim/CY7C1061DV33 \
35 ./lpp_cna \
35 ./lpp_cna \
36 ./lpp_uart \
36 ./lpp_uart \
37 ./lpp_usb \
37 ./lpp_usb \
38 ./dsp/lpp_fft \
38 ./dsp/lpp_fft \
39 ./lpp_leon3_soc \
39 ./lpp_leon3_soc \
40 ./lpp_debug_lfr
40 ./lpp_debug_lfr
41
41
42 FILESKIP = i2cmst.vhd \
42 FILESKIP = i2cmst.vhd \
43 APB_MULTI_DIODE.vhd \
43 APB_MULTI_DIODE.vhd \
44 APB_MULTI_DIODE.vhd \
44 APB_MULTI_DIODE.vhd \
45 Top_MatrixSpec.vhd \
45 Top_MatrixSpec.vhd \
46 APB_FFT.vhd \
46 APB_FFT.vhd \
47 lpp_lfr_ms_FFT.vhd \
47 lpp_lfr_ms_FFT.vhd \
48 lpp_lfr_apbreg.vhd \
48 lpp_lfr_apbreg.vhd \
49 CoreFFT.vhd \
49 CoreFFT.vhd \
50 lpp_lfr_ms.vhd \
50 lpp_lfr_ms.vhd \
51 lpp_lfr_sim_pkg.vhd \
51 lpp_lfr_sim_pkg.vhd \
52 mtie_maps.vhd \
52 mtie_maps.vhd \
53 ftsrctrlc.vhd \
53 ftsrctrlc.vhd \
54 ftsdctrl.vhd \
54 ftsdctrl.vhd \
55 ftsrctrl8.vhd \
55 ftsrctrl8.vhd \
56 ftmctrl.vhd \
56 ftmctrl.vhd \
57 ftsdctrl64.vhd \
57 ftsdctrl64.vhd \
58 ftahbram.vhd \
58 ftahbram.vhd \
59 ftahbram2.vhd \
59 ftahbram2.vhd \
60 sramft.vhd \
60 sramft.vhd \
61 nandfctrlx.vhd
61 nandfctrlx.vhd
62
62
63 include $(GRLIB)/bin/Makefile
63 include $(GRLIB)/bin/Makefile
64 include $(GRLIB)/software/leon3/Makefile
64 include $(GRLIB)/software/leon3/Makefile
65 ################## project specific targets ##########################
65 ################## project specific targets ##########################
66 distclean:myclean
66 distclean:myclean
67 vsim:cp_for_vsim
67 vsim:cp_for_vsim
68
68
69 myclean:
69 myclean:
70 rm -f input.txt output_f*.txt *.log
70 rm -f input.txt output_f*.txt *.log
71 rm -rf ./2016*
71 rm -rf ./2016*
72
72
73 generate :
73 generate :
74 python ./generate.py
74 python ./generate.py
75
75
76 cp_for_vsim: generate
76 cp_for_vsim: generate
77 cp ./input.txt simulation/
77 cp ./input.txt simulation/
78
78
79 archivate:
79 archivate:
80 xonsh ./archivate.xsh
80 python ./archivate.py
81
81
82 test-common: | generate ghdl ghdl-run archivate
82 test-common: | generate ghdl ghdl-run archivate
83
83
84 test:
84 test:
85 @echo "not a Test"
85 @echo "not a Test"
86
86
1 NO CONTENT: file was removed
NO CONTENT: file was removed
1 NO CONTENT: file was removed
NO CONTENT: file was removed
General Comments 0
You need to be logged in to leave comments. Login now