Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
x393
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
x393
Commits
c9440b42
Commit
c9440b42
authored
Dec 14, 2017
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added define INSTANTIATE_DSP48E1
parent
7fd9af28
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
38 additions
and
0 deletions
+38
-0
dct_tests_04.tf
dsp/dct_tests_04.tf
+38
-0
No files found.
dsp/dct_tests_04.tf
View file @
c9440b42
...
...
@@ -38,6 +38,8 @@
* with at least one of the Free Software programs.
*/
`
timescale
1
ns
/
1
ps
`
define
INSTANTIATE_DSP48E1
// No saturation here, and no rounding as we do not need to match decoder (be bit-precise), skipping rounding adder
// will reduce needed resources
//`define DCT_INPUT_UNITY
...
...
@@ -445,5 +447,41 @@ module dct_tests_04 ();
.pre_busy (pre_busy_2dr) // output reg
);
/*
mclt16x16 #(
.SHIFT_WIDTH(7),
.COORD_WIDTH(10),
.PIXEL_WIDTH(16),
.WND_WIDTH(18),
.OUT_WIDTH(25),
.DTT_IN_WIDTH(25),
.TRANSPOSE_WIDTH(25),
.OUT_RSHIFT(2),
.OUT_RSHIFT2(0),
.DSP_B_WIDTH(18),
.DSP_A_WIDTH(25),
.DSP_P_WIDTH(48),
.DEAD_CYCLES(14)
) mclt16x16_i (
.clk(CLK), // input
.rst(RST), // input
.start(start), // input
.x_shft(0), // input[6:0]
.y_shft(0), // input[6:0]
.bayer(0), // input[3:0]
.mpixel_re(), // output
.mpixel_page(), // output
.mpixel_a(), // output[7:0]
.mpixel_d(0), // input[15:0]
.pre_busy(), // output
.pre_last_in(), // output
.pre_first_out(), // output
.pre_last_out(), // output
.out_addr(), // output[7:0]
.dv(), // output
.dout() // output[24:0] signed
);
*/
endmodule
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment