Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
x353
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
x353
Commits
1bf7e77f
Commit
1bf7e77f
authored
Aug 12, 2015
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
starting compressor co-simulation with 393
parent
49896216
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
55 additions
and
1379 deletions
+55
-1379
histogram353.v
sensor/histogram353.v
+2
-2
x353_1.sav
x353_1.sav
+52
-1376
x353_1.tf
x353_1.tf
+1
-1
No files found.
sensor/histogram353.v
View file @
1bf7e77f
...
@@ -65,8 +65,8 @@ module histogram (pclk, // pixel clock (posedge, only some input si
...
@@ -65,8 +65,8 @@ module histogram (pclk, // pixel clock (posedge, only some input si
input
di_vld_a
;
input
di_vld_a
;
input
[
1
:
0
]
bayer_phase
;
input
[
1
:
0
]
bayer_phase
;
parameter
correct_bayer
=
2'b1
1
;
//AF2015: Correct Bayer to have histogram [2'b00] matcs
h even row, even column data
parameter
correct_bayer
=
2'b1
0
;
// 11; //AF2015: Correct Bayer to have histogram [2'b00] matc
h even row, even column data
// for bayer_phase=0 correct_bayer=2'b10
wire
[
17
:
0
]
hist_do0
;
wire
[
17
:
0
]
hist_do0
;
// extra layer of registers
// extra layer of registers
...
...
x353_1.sav
View file @
1bf7e77f
This diff is collapsed.
Click to expand it.
x353_1.tf
View file @
1bf7e77f
...
@@ -1124,7 +1124,7 @@ $display ("saturation=2");
...
@@ -1124,7 +1124,7 @@ $display ("saturation=2");
cpu_wr('
h62
,
'h0c000006); // mode - single
cpu_wr('
h62
,
'h0c000006); // mode - single
cpu_wr('
h62
,
'h4e000000 | '
h4
);
// bayer=0
cpu_wr('
h62
,
'h4e000000 | '
h4
);
// bayer=0
//AF2015 cpu_wr('h64, 'h4e000000 | 'h5 );// bayer=1
//AF2015 cpu_wr('h64, 'h4e000000 | 'h5 );// bayer=1
cpu_wr
(
'h6
5
, '
h4e000000
|
'h5 );// bayer=1 AF2015 - make it later to compare with 393
cpu_wr
(
'h6
6
, '
h4e000000
|
'h5 );// bayer=1 AF2015 - make it later to compare with 393
/*
/*
AX(0x000000): writing 0x000000 to 0x31
AX(0x000000): writing 0x000000 to 0x31
...
...
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