##// END OF EJS Templates
Activated F2 and F3 IIR Filters for LFR_FILTERS tests....
Alexis Jeandet -
r654:d239e3167642 default draft
parent child
Show More
@@ -81,6 +81,11 archivate:
81
81
82 test-common: | generate ghdl ghdl-run archivate
82 test-common: | generate ghdl ghdl-run archivate
83
83
84 test-vsim-common: | generate vsim vsim-run archivate
85
86 test-vsim:
87 @echo "not a Test"
88
84 test:
89 test:
85 @echo "not a Test"
90 @echo "not a Test"
86
91
@@ -120,7 +120,7 BEGIN
120 GENERIC MAP (
120 GENERIC MAP (
121 tech => tech,
121 tech => tech,
122 Mem_use => Mem_use,
122 Mem_use => Mem_use,
123 RTL_DESIGN_LIGHT =>1
123 RTL_DESIGN_LIGHT =>0
124 )
124 )
125 PORT MAP (
125 PORT MAP (
126 sample => sample,
126 sample => sample,
@@ -2,3 +2,5 include ../Validation_LFR_Filters/Makefi
2
2
3
3
4 test:test-common
4 test:test-common
5
6 test-vsim:test-vsim-common
@@ -1,8 +1,13
1 import numpy as np
1 import numpy as np
2 import random
2 import random
3
3
4 W,H=8,100000
4 W,H=8,6000000
5 low,high=-1000,1000
5 low,high=-100,100
6 INPUT_F=98304
6 test = np.random.randint(low=low,high=high,size=(H,W))
7 test = np.random.randint(low=low,high=high,size=(H,W))
8 test+=np.tile((3.*np.cos(np.arange(len(test)) *2.*np.pi * 3. /INPUT_F )).astype(int),(8,1)).transpose()
9 test+=np.tile((3.*np.cos(np.arange(len(test)) *2.*np.pi * 16. /INPUT_F )).astype(int),(8,1)).transpose()
10 test+=np.tile((3.*np.cos(np.arange(len(test)) *2.*np.pi * 256. /INPUT_F )).astype(int),(8,1)).transpose()
11 test+=np.tile((3.*np.cos(np.arange(len(test)) *2.*np.pi * 2048. /INPUT_F )).astype(int),(8,1)).transpose()
7 np.savetxt("input.txt", test,fmt="%d", delimiter=" ")
12 np.savetxt("input.txt", test,fmt="%d", delimiter=" ")
8
13
@@ -2,3 +2,5 include ../Validation_LFR_Filters/Makefi
2
2
3
3
4 test:test-common
4 test:test-common
5
6 test-vsim:test-vsim-common
General Comments 0
You need to be logged in to leave comments. Login now