LOGIC LF48410JC30, LF48410JC25 Datasheet

DEVICES INCORPORATED
LF48410
1024 x 24-bit Video Histogrammer
LF48410
DEVICES INCORPORATED
1024 x 24-bit Video Histogrammer
FEATURES DESCRIPTION
❑❑
40 MHz Data Input and Compu-
❑❑
❑❑
1024 x 24-bit Memory Array
❑❑ ❑❑
Histograms of Images up to 4K x
❑❑
4K with 10-bit Pixel Resolution
❑❑
Memory Array Flash Clear
❑❑ ❑❑
User-Programmable Modes:
❑❑
Histogram, Histogram Accumulate, Look Up Table, Bin Accumulate, Delay Memory, Delay and Subtract, Single Port RAM
❑❑
Replaces Harris HSP48410
❑❑ ❑❑
84-pin PLCC, J-Lead
❑❑
The LF48410 is capable of generating histograms and Cumulative Distribu­tion Functions of video images. It may also be used as a look up table, a bin accumulator, a delay memory (delay and subtract also possible), or a single port RAM. The on-chip 1024 x 24-bit memory array facilitates histograms of images up to 4K x 4K pixels with a 10-bit pixel resolution. Once the histogram of a video image is stored in the memory array, the Cumulative Distribution Function can be calculated by putting the device in Histogram Accumulate Mode. Transformation functions can be performed on pixel values when the
device is in Look Up Table Mode. If the Cumulative Distribution Function is the desired transformation func­tion, the LF48410 can calculate it and have it available for Look Up Table Mode. When the device is in Delay Memory Mode, it functions as a video row buffer. In this mode, the LF48410 can buffer video lines as long as 1029 pixels. The device can also function as an asynchronous single port RAM. During asynchronous modes, the device can be configured as a 1024 x 24, 1024 x 16, or 1024 x 8-bit RAM. A Flash Clear function is provided which sets all memory array locations and data path registers to “0”.
LF48410 BLOCK DIAGRAM
24
DIN
23-0
IOA
9-0
PIN
9-0
CLK
(TO ALL REGISTERS)
WR
RD
UWS
START
FC
FCT
2-0
LD
3
10
10
3
RAM ARRAY
DATA IN DATA OUT
WRADDRESS
ADDRESS
GENERATOR
COUNTER
CONTROL
FUNCTION
DECODE
ADDER
INPUT
CONTROL
MUX CONTROL SIGNALS
DIO
I/F
24
DIO
23-0
Video Imaging Products
1
08/08/2000–LDS.48410-L
DEVICES INCORPORATED
LF48410
1024 x 24-bit Video Histogrammer
SIGNAL DEFINITIONS
Power
VCC and GND
+5 V power supply. All pins must be connected.
Clock
CLK — Master Clock
When operating in a synchronous mode, the rising edge of CLK strobes all enabled registers. CLK has no effect when operating in an asynchro­nous mode.
Inputs
PIN9-0 — Pixel Data Input
PIN9-0 provides address information to the memory array in Histogram, Bin Accumulate, and Look Up Table Modes. Data is latched on the rising edge of CLK.
DIN23-0 — Data Input
In Bin Accumulate Mode, DIN23-0 provides data to the internal summer to be added to data already in the memory array. In Look Up Table Mode, DIN23-0 is used to load the memory array with the desired values. In Delay Memory Mode, the data to be delayed is input to the memory array using DIN23-0, and in Delay and Subtract Mode it also provides data to be subtracted from the delayed data. In all four modes, DIN23-0 is latched on the rising edge of CLK.
IOA9-0 — Asynchronous Address Input
IOA9-0 provides address information to the memory array in Asynchronous 16 and 24 Modes.
FCT2-0 — Function Input
FCT2-0 is used to put the LF48410 into one of its eight modes of operation (Table 1). Data is latched on the
rising edge of LD. To ensure proper operation of the device, START must be HIGH while changing modes, and there must be at least one rising edge of CLK between the rising edge of LD and the falling edge of START.
Inputs/Outputs
DIO23-0 — Data Input/Output
In all synchronous modes, DIO23-0 is the 24-bit registered data output port. In all asynchronous modes, DIO23-0 is both the data input and data output port for the memory array.
Controls
START — Device Enable
START is used to enable and disable the synchronous modes of operation (except for the Delay Memory and Delay and Subtract Modes). The synchronous mode sections explain how START functions in each mode. START has no effect in asynchronous modes. Data is latched on the rising edge of CLK. START must be held HIGH when changing from one mode to another. To ensure proper opera­tion of the device, there must be at least one rising edge of CLK between the rising edge of LD and the falling edge of START.
RD — Read/Output Enable
In all synchronous modes, RD is used as an output enable for DIO23-0. When RD is LOW, DIO23-0 is enabled for output. When RD is HIGH, DIO23-0 is placed in a high-impedance state. In all asynchronous modes, RD is used as a read enable for the memory array (see asynchronous mode sections for details).
WR — Write Enable
In all asynchronous modes, WR is used as a write enable for the memory array (see asynchronous mode sections for details). WR has no effect in the synchronous modes.
UWS — Upper Word Select
UWS is only used in Asynchronous 16 Mode. If UWS is LOW and a memory write is performed, data on DIO15-0 is written to the lower 16 bits of the addressed 24-bit word. If UWS is LOW and a memory read is per­formed, the lower 16 bits of the addressed 24-bit word will be output on DIO15-0. If UWS is HIGH and a memory write is performed, data on DIO7-0 is written to the upper 8 bits of the addressed 24-bit word. If UWS is HIGH and a memory read is per­formed, the upper 8 bits of the addressed 24-bit word will be output on DIO7-0.
FC — Flash Clear
When FC is LOW, all memory array locations and data path registers are set to “0”. To ensure that Flash Clear functions properly, FC should not be set LOW until START is HIGH (synchronous modes) or WR is HIGH (asynchronous modes).
LD — Function Load Strobe
Data present on FCT2-0 is latched into the LF48410 on the rising edge of LD. To ensure proper operation of the device, there must be at least one rising edge of CLK between the rising edge of LD and the falling edge of START.
TABLE 1. LF48410 MODES
FCT2-0 MODE
0 0 0 Histogram 0 0 1 Histogram Accumulate 0 1 0 Delay and Subtract 0 1 1 Look Up Table 1 0 0 Bin Accumulate 1 0 1 Delay Memory 1 1 0 Asynchronous 24 1 1 1 Asynchronous 16
Video Imaging Products
2
08/08/2000–LDS.48410-L
DEVICES INCORPORATED
LF48410
1024 x 24-bit Video Histogrammer
HISTOGRAM MODE
When the LF48410 is in this mode, the chip is configured as shown in Figure
1. The memory array keeps track of how many times a particular pixel value is used in a video image. The pixel value is input on PIN9-0 and is latched on the rising edge of CLK. Data at the address defined by PIN9-0 is read out of the memory array and incremented by one. The data is then written back to the memory array, in the same location it was read from, and is also output on DIO23-0 (if RD is LOW). As long as START is LOW, the device will be enabled for Histo­gram Mode. When START is HIGH, the device will still read pixel values, but the addres-sed data will not be incremented. The unchanged data is output on DIO23-0 and is not written back to the memory array (writing is disabled). START is delayed inter­nally three clock cycles to match the latency of the address generator.
HISTOGRAM ACCUMULATE MODE
When the LF48410 is in this mode, the chip is configured as shown in Figure
2. This mode is used to calculate the Cumulative Distribution Function of a video image. Before this can be done, the histogram of the image must already be in the memory array. The internal counter is used to generate address data for the memory array. Data at the address defined by the counter is read out of the memory array and added to the sum of the data from all previous address locations. This new value is written back to the memory array, in the same location where the last read occurred, and is also output on DIO23-0 (if RD is LOW). After all memory locations with histogram data are accumulated, the memory array will contain the Cumulative Distribution Function.
After this mode is selected, the internal counter and all data path registers are reset to zero when
FIGURE 1. HISTOGRAM MODE
RAM ARRAY
DATA IN DATA OUT
WRADDRESS
10
PIN
9-0
START
CLK TO ALL REGISTERS
ADDRESS
GENERATOR
CONTROL
"0"
"1"
FIGURE 2. HISTOGRAM ACCUMULATE MODE
RAM ARRAY
DATA IN DATA OUT
ADDRESS
ADDRESS
GENERATOR
(TO ALL REGISTERS)
START
COUNTERCLK
CONTROL
START is set LOW. Every rising edge of CLK causes the counter to incre­ment its output by one until the counter reaches a value of 1023. At this point, the counter will hold the value of 1023 and writing to the memory array will be disabled. As long as START is LOW, the device will be enabled for Histogram Accu­mulate Mode. When START is HIGH, the counter will still increment its address values, but the addressed data will not be added to anything. The unchanged data is output on DIO23-0 and is not written back to the memory array (writing is disabled). START is delayed internally three clock cycles to match the latency of the address generator.
WR
"0"
LOOK UP TABLE MODE
When the LF48410 is in this mode, the chip is configured as shown in Figure
3. This mode is used to perform fixed transformation functions on pixel values. The transformation function can be loaded into the memory array in Look Up Table Write Mode, Asynchronous 16/24 Mode, or Histogram Accumulate Mode. In Look Up Table Write Mode, data is loaded into the memory array using DIN23-0, CLK, and START. The internal counter is used to generate address data for the memory array. When START goes LOW, the counter is reset to zero. As long as START is LOW, data on DIN23-0 is latched on the rising edge of CLK and loaded
DIO
I/F
RD
DIO
I/F
RD
24
DIO
23-0
24
DIO
23-0
Video Imaging Products
3
08/08/2000–LDS.48410-L
DEVICES INCORPORATED
LF48410
1024 x 24-bit Video Histogrammer
FIGURE 3. LOOK UP TABLE MODE
24
DIN
23-0
10
PIN
9-0
CLK
(TO ALL REGISTERS)
START
3
RAM ARRAY
DATA IN DATA OUT
WRADDRESS
ADDRESS
GENERATOR
COUNTER
CONTROL
FIGURE 4. BIN ACCUMULATE MODE
RAM ARRAY
DATA IN DATA OUT
ADDRESS
24
DIN
23-0
PIN
9-0
START
CLK TO ALL REGISTERS
3
10
ADDRESS
GENERATOR
CONTROL
into the memory array at the address defined by the counter. The value already in the memory array at that address is output on DIO23-0 (if RD is LOW). Every rising edge of CLK causes the counter to increment its output by one until the counter reaches a value of 1023. At this point, the counter will hold the value of 1023 and writing to the memory array will be disabled. DIN23-0 is delayed internally three clock cycles to match the latency of the address generator. In Asynchronous 16/24 Mode, data is loaded into the memory array as detailed in the asynchronous mode
WR
"0"
24
DIO
I/F
"0"
NOTE: NUMBER IN REGISTER INDICATES
NOTE: NUMBER IN REGISTER INDICATES
RD
NUMBER OF PIPELINE DELAYS.
DIO
I/F
RD
NUMBER OF PIPELINE DELAYS.
DIO
23-0
24
DIO
23-0
sections. If the Cumulative Distribu­tion Function is the desired transfor­mation function, the memory array will contain this data as soon as the Histogram Accumulate function has been completed.
Once the memory array contains the desired data, the device needs to be put in Look Up Table Read Mode by setting START HIGH. In Look Up Table Read Mode, pixel values are input on PIN9-0 and are latched on the rising edge of CLK. Data at the address defined by PIN9-0 is read out of the memory array and output on
DIO23-0 (if RD is LOW). If Look Up Table Write Mode was used to load the memory array, it is important to wait until the third clock cycle after START goes HIGH to input data on PIN9-0 to insure that all data is written into the memory array before any reading is done.
BIN ACCUMULATE MODE
When the LF48410 is in this mode, the chip is configured as shown in Figure
4. PIN9-0 provides address data for the memory array and is latched on the rising edge of CLK. Data at the address defined by PIN9-0 is read out of the memory array and added to the data on DIN23-0. This new value is written back to the memory array, in the same location where the last read occured, and is also output on DIO23-0 (if RD is LOW). As long as START is LOW, the device will be enabled for Bin Accumulate Mode. When START is HIGH, the device will still read address values on PIN9-0, but the addressed data will not be added to anything. The unchanged data will be output on DIO23-0 and is not written back to the memory array (writing is disabled). START and DIN23-0 are delayed internally three clock cycles to match the latency of the address generator.
DELAY MEMORY MODE
When the LF48410 is in this mode, the chip is configured as shown in Figure
5. This mode allows the device to function as a row buffer. The internal counter is used to generate address data for the memory array. When START goes LOW, the counter is reset to zero. Delay length (row length) is determined by reseting the counter every N–4 clock cycles, where N is the number of delays. For
Video Imaging Products
4
08/08/2000–LDS.48410-L
DEVICES INCORPORATED
LF48410
1024 x 24-bit Video Histogrammer
example, to set the number of delays to 10, START would have to be set LOW every 6 cycles. The maximum delay length is 1029 and the minimum delay length is 6. Data on DIN23-0 is latched on the rising edge of CLK and loaded into the memory array at the address defined by the counter. Data is output on DIO23-0 (if RD is LOW). If the counter reaches the value of 1023, the counter will hold this value and writing to the memory array will be disabled.
DELAY AND SUBTRACT MODE
When the LF48410 is in this mode, the chip is configured as shown in Figure 6. The internal counter is used to gener­ate address data for the memory array. When START goes LOW, the counter is reset to zero. Delay length (row length) is determined by reseting the counter every N–4 clock cycles, where N is the number of delays. The maximum delay length is 1029 and the minimum delay length is 6. Data on DIN23-0 is latched on the rising edge of CLK and loaded into the memory array at the address defined by the counter. Data is output on DIO23-0 (if RD is LOW). Before data read from the memory array is output to DIO23-0, input data is subtracted from it according to the following formula: OUTC = D(C–N+1) – D(C–3). OUTC is the data sent to the output port (DIO23-0) on clock cycle C. D(C–N+1) is the data latched into the device on clock cycle C–N+1, and D(C-
3) is the data latched into the device on
clock cycle C–3. N is the number of delays. For example, to determine what will be output on DIO23-0 on clock cycle 12 when the device is set for 10 delays, set C=12 and N=10 to obtain: OUT12 = D3 – D9. If the counter reaches the value of 1023, the counter will hold this value and writing to the memory array will be disabled.
FIGURE 5. DELAY MEMORY MODE
24
DIN
23-0
CLK COUNTER
(TO ALL REGISTERS)
START
3
RAM ARRAY
DATA IN DATA OUT
ADDRESS
CONTROL
WR
FIGURE 6. DELAY AND SUBTRACT MODE
24
DIN
23-0
CLK COUNTER
(TO ALL REGISTERS)
START
3
ASYNCHRONOUS 16 MODE
When the LF48410 is in this mode, the chip is configured as shown in Figure 7. This mode allows the device to function as an asynchronous single port RAM. Each 24-bit memory location is split into two parts, the lower 16 bits and the upper 8 bits. IOA9-0 addresses the 24-bit memory locations, and UWS addresses the lower 16 or upper 8 bits of those locations. If UWS is LOW, the lower 16 bits of the 24-bit memory location are addressed. If UWS is HIGH, the upper 8 bits are addressed. Address
RAM ARRAY
DATA IN DATA OUT
ADDRESS
CONTROL
WR
–DIN
23-0
data on IOA9-0 and UWS is latched into the device on the falling edge of RD or WR. If RD latches the address data, a memory read is performed. Data at the specified address is output on DIO15-0 (if UWS was latched LOW) or DIO7-0 (if UWS was latched HIGH). If UWS was latched LOW/HIGH, DIO16-23/DIO8-23 will output zeros during a memory read. If WR latches the address data, a memory write is performed. After the falling edge of WR latches the address, data on DIO15-0 (if UWS was latched LOW) or DIO7-0 (if UWS was latched HIGH) is written to the RAM on the rising edge of WR.
24
DIO
I/F
"0"
NOTE: NUMBER IN REGISTER INDICATES
NOTE: NUMBER IN REGISTER INDICATES
RD
NUMBER OF PIPELINE DELAYS.
DIO
I/F
RD
NUMBER OF PIPELINE DELAYS.
DIO
23-0
24
DIO
23-0
Video Imaging Products
5
08/08/2000–LDS.48410-L
Loading...
+ 10 hidden pages