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
cfe8b55c
Commit
cfe8b55c
authored
Dec 10, 2017
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
renamed signals
parent
ac01dea9
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
12 deletions
+12
-12
dct_tests_03.sav
dct_tests_03.sav
+1
-1
dct_tests_03.tf
dsp/dct_tests_03.tf
+4
-4
dtt_iv_8x8_ad.v
dsp/dtt_iv_8x8_ad.v
+3
-3
dtt_iv_8x8_obuf.v
dsp/dtt_iv_8x8_obuf.v
+4
-4
No files found.
dct_tests_03.sav
View file @
cfe8b55c
...
...
@@ -202,7 +202,7 @@ dct_tests_03.dtt_iv_8x8_i.out_wa[3:0]
dct_tests_03.dtt_iv_8x8_i.out_we
dct_tests_03.dtt_iv_8x8_i.sub16
dct_tests_03.dtt_iv_8x8_i.inc16
dct_tests_03.dtt_iv_8x8_i.start
64
dct_tests_03.dtt_iv_8x8_i.start
_out
@200
-top
@22
...
...
dsp/dct_tests_03.tf
View file @
cfe8b55c
...
...
@@ -345,7 +345,7 @@ module dct_tests_03 ();
wire out_we;
wire sub16;
wire inc16;
wire start
64
;
wire start
_out
;
reg [ODEPTH-5:0] out_ram_cntr;
reg [ODEPTH-5:0] out_ram_wah;
...
...
@@ -370,7 +370,7 @@ module dct_tests_03 ();
if (out_we) out_ram[out_ram_wa] <= out_wd;
if (RST) out_ram_ren <= 1'
b0
;
else
if
(
start
64
)
out_ram_ren
<=
1
'b1;
else
if
(
start
_out
)
out_ram_ren
<=
1
'b1;
else if (&out_ram_ra) out_ram_ren <= 1'
b0
;
out_ram_regen
<=
out_ram_ren
;
...
...
@@ -390,7 +390,7 @@ module dct_tests_03 ();
.
clk
(
CLK
),
// input
.
rst
(
RST
),
// input
.
dly
(
4
'h1), // input[3:0]
.din (start
64
), // input[0:0]
.din (start
_out
), // input[0:0]
.dout (out_pre_first) // output[0:0]
);
...
...
@@ -418,7 +418,7 @@ module dct_tests_03 ();
.out_we (out_we), // output reg
.sub16 (sub16), // output reg
.inc16 (inc16), // output reg
.start
64 (start64)
// output reg
.start
_out (start_out)
// output reg
);
...
...
dsp/dtt_iv_8x8_ad.v
View file @
cfe8b55c
...
...
@@ -76,7 +76,7 @@ module dtt_iv_8x8_ad#(
output
reg
out_we
,
//!< output data valid (write to external buffer
output
reg
sub16
,
//!< Subtract 16 from the full output address when true
output
reg
inc16
,
//!< increment full output address by 16
output
reg
start
64
)
;
//!< may start output readout, 1 entry per clock, vertically
output
reg
start
_out
)
;
//!< may start output readout, 1 entry per clock, vertically
// 1. Two 16xINPUT_WIDTH memories to feed two of the 'horizontal' 1-dct - they should provide outputs shifted by 1 clock
// 2. of the horizontal DCTs
...
...
@@ -193,7 +193,7 @@ module dtt_iv_8x8_ad#(
reg
pre_dstv
;
// 1 cycles before vertical output data is valid, 0 dct, 1 - dst
reg
dstv
;
// when vertical output data is valid, 0 dct, 1 - dst
wire
start
64
_w
=
out_cntr
[
6
:
0
]
==
'h0d
;
wire
start
_out
_w
=
out_cntr
[
6
:
0
]
==
'h0d
;
assign
pre_last_in
=
pre_last_in_r
;
...
...
@@ -383,7 +383,7 @@ module dtt_iv_8x8_ad#(
sub16
<=
~
out_cntr
[
3
]
&
~
out_cntr
[
0
]
&
out_run
;
inc16
<=
out_cntr
[
3
:
0
]
==
'he
;
out_we
<=
dctv_out_we
[
1
]
;
start
64
<=
start64
_w
;
start
_out
<=
start_out
_w
;
end
always
@
(
posedge
clk
)
begin
...
...
dsp/dtt_iv_8x8_obuf.v
View file @
cfe8b55c
...
...
@@ -80,7 +80,7 @@ module dtt_iv_8x8_obuf#(
wire
out_we
;
wire
sub16
;
wire
inc16
;
wire
start
64
;
wire
start
_out
;
reg
[
ODEPTH
-
5
:
0
]
out_ram_cntr
;
reg
[
ODEPTH
-
5
:
0
]
out_ram_wah
;
...
...
@@ -101,7 +101,7 @@ module dtt_iv_8x8_obuf#(
if
(
out_we
)
out_ram
[
out_ram_wa
]
<=
out_wd
;
if
(
rst
)
out_ram_ren
<=
1'b0
;
else
if
(
start
64
)
out_ram_ren
<=
1'b1
;
else
if
(
start
_out
)
out_ram_ren
<=
1'b1
;
else
if
(
&
out_ram_ra
)
out_ram_ren
<=
1'b0
;
out_ram_regen
<=
out_ram_ren
;
...
...
@@ -121,7 +121,7 @@ module dtt_iv_8x8_obuf#(
.
clk
(
clk
)
,
// input
.
rst
(
rst
)
,
// input
.
dly
(
4'h1
)
,
// input[3:0]
.
din
(
start
64
)
,
// input[0:0]
.
din
(
start
_out
)
,
// input[0:0]
.
dout
(
pre_first_out
)
// output[0:0]
)
;
...
...
@@ -160,7 +160,7 @@ module dtt_iv_8x8_obuf#(
.
out_we
(
out_we
)
,
// output reg
.
sub16
(
sub16
)
,
// output reg
.
inc16
(
inc16
)
,
// output reg
.
start
64
(
start64
)
// output reg
.
start
_out
(
start_out
)
// output reg
)
;
...
...
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