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
12f27fa3
Commit
12f27fa3
authored
Oct 22, 2015
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
matched new and old histograms simulation
parent
cfdcac60
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
178 additions
and
97 deletions
+178
-97
sens_histogram.v
sensor/sens_histogram.v
+1
-1
sens_histogram_snglclk.v
sensor/sens_histogram_snglclk.v
+78
-70
sensor_channel.v
sensor/sensor_channel.v
+1
-1
sensors393.v
sensor/sensors393.v
+1
-1
x393_testbench03.sav
x393_testbench03.sav
+97
-24
No files found.
sensor/sens_histogram.v
View file @
12f27fa3
...
...
@@ -24,7 +24,7 @@
// Alternative: copy/erase to a separate buffer in the beginning/end of a frame?
module
sens_histogram
#(
parameter
HISTOGRAM_RAM_MODE
=
"NOBUF"
,
// valid: "NOBUF" (32-bits, no buffering), "BUF18", "BUF32"
parameter
HISTOGRAM_RAM_MODE
=
"
BUF32"
,
// "
NOBUF", // valid: "NOBUF" (32-bits, no buffering), "BUF18", "BUF32"
parameter
HISTOGRAM_ADDR
=
'h33c
,
parameter
HISTOGRAM_ADDR_MASK
=
'h7fe
,
parameter
HISTOGRAM_LEFT_TOP
=
'h0
,
...
...
sensor/sens_histogram_snglclk.v
View file @
12f27fa3
This diff is collapsed.
Click to expand it.
sensor/sensor_channel.v
View file @
12f27fa3
...
...
@@ -43,7 +43,7 @@ module sensor_channel#(
parameter
SENSOR_NUM_HISTOGRAM
=
3
,
// number of histogram channels
parameter
HISTOGRAM_RAM_MODE
=
"NOBUF"
,
// valid: "NOBUF" (32-bits, no buffering), "BUF18", "BUF32"
parameter
HISTOGRAM_RAM_MODE
=
"
BUF32"
,
// "
NOBUF", // valid: "NOBUF" (32-bits, no buffering), "BUF18", "BUF32"
parameter
SENS_NUM_SUBCHN
=
3
,
// number of subchannels for his sensor ports (1..4)
parameter
SENS_GAMMA_BUFFER
=
0
,
// 1 - use "shadow" table for clean switching, 0 - single table per channel
...
...
sensor/sensors393.v
View file @
12f27fa3
...
...
@@ -35,7 +35,7 @@ module sensors393 #(
parameter
SENSI2C_STATUS_REG_REL
=
0
,
// 4 locations" 'h20, 'h22, 'h24, 'h26
parameter
SENSIO_STATUS_REG_REL
=
1
,
// 4 locations" 'h21, 'h23, 'h25, 'h27
parameter
SENSOR_NUM_HISTOGRAM
=
3
,
// number of histogram channels
parameter
HISTOGRAM_RAM_MODE
=
"NOBUF"
,
// valid: "NOBUF" (32-bits, no buffering), "BUF18", "BUF32"
parameter
HISTOGRAM_RAM_MODE
=
"
BUF32"
,
// "
NOBUF", // valid: "NOBUF" (32-bits, no buffering), "BUF18", "BUF32"
parameter
SENS_NUM_SUBCHN
=
3
,
// number of subchannels for his sensor ports (1..4)
parameter
SENS_GAMMA_BUFFER
=
0
,
// 1 - use "shadow" table for clean switching, 0 - single table per channel
...
...
x393_testbench03.sav
View file @
12f27fa3
This diff is collapsed.
Click to expand it.
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