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
10056a60
Commit
10056a60
authored
Dec 11, 2017
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added direct/cascade parameters
parent
49883757
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
dsp_ma_preadd.v
dsp/dsp_ma_preadd.v
+5
-3
No files found.
dsp/dsp_ma_preadd.v
View file @
10056a60
...
@@ -41,7 +41,9 @@
...
@@ -41,7 +41,9 @@
module
dsp_ma_preadd
#(
module
dsp_ma_preadd
#(
parameter
B_WIDTH
=
18
,
parameter
B_WIDTH
=
18
,
parameter
A_WIDTH
=
25
,
parameter
A_WIDTH
=
25
,
parameter
P_WIDTH
=
48
)
parameter
P_WIDTH
=
48
,
parameter
A_INPUT
=
"DIRECT"
,
// other: "CASCADE"
parameter
B_INPUT
=
"DIRECT"
)
// other: "CASCADE"
(
(
input
clk
,
input
clk
,
input
rst
,
input
rst
,
...
@@ -84,10 +86,10 @@ module dsp_ma_preadd #(
...
@@ -84,10 +86,10 @@ module dsp_ma_preadd #(
.
ALUMODEREG
(
1
)
,
.
ALUMODEREG
(
1
)
,
.
AREG
(
1
)
,
// 2), // (1) - means number in series, so "2" always reads the second
.
AREG
(
1
)
,
// 2), // (1) - means number in series, so "2" always reads the second
.
AUTORESET_PATDET
(
"NO_RESET"
)
,
.
AUTORESET_PATDET
(
"NO_RESET"
)
,
.
A_INPUT
(
"DIRECT"
)
,
.
A_INPUT
(
A_INPUT
)
,
// "DIRECT", "CASCADE"
.
BCASCREG
(
1
)
,
.
BCASCREG
(
1
)
,
.
BREG
(
1
)
,
// (2), // (1) - means number in series, so "2" always reads the second
.
BREG
(
1
)
,
// (2), // (1) - means number in series, so "2" always reads the second
.
B_INPUT
(
"DIRECT"
)
,
.
B_INPUT
(
B_INPUT
)
,
//
"DIRECT"),
.
CARRYINREG
(
1
)
,
.
CARRYINREG
(
1
)
,
.
CARRYINSELREG
(
1
)
,
.
CARRYINSELREG
(
1
)
,
.
CREG
(
0
)
,
//(1),
.
CREG
(
0
)
,
//(1),
...
...
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