background image

 

12 

Instruction Set Extension Fabric (ISEF) 

The Stretch Extension Unit is the key to its DSP-like performance. It is tightly integrated within 
the chip and consists of the following: 

?

 

The Wide Register File – a set of 128-bit wide registers for holding data (three ports for 
read and one port for write from inside the ISEF fabric) 

?

 

The Special Registers – a collection of support registers for a variety of functions 

?

 

Two Instruction Set Extension Fabric (ISEF) units – an FPGA-like configurable set of bit-
slice computational resources that implement Stretch Extension Instructions. 

?

 

The SCP 128-bit internal bus can load and store a wide register each cycle, if data is 
available from the Data cache or blocks of internal data SRAM, a little bit longer if data is 
stored in the external SDRAM.  

?

 

Each ISEF fabric can be configured to support eight Extended Instructions for a total of 16 
per ISEF unit.  

?

 

An Extension Instruction can be issued every third cycle in the S5610 to be executed 
concurrently with other Extended Instructions in progress. 

An Extended Instruction can be quite complex and will take multiple cycles to complete 
instruction depending on its code. Once issued, an Extended Instruction continues its 
computations concurrently with the base Xtensa ISA processing. The S5610 allows up to 31 
clock cycles per Extended Instruction. The number of Extended Instructions in an application is 
not limited to a single ISEF set since one ISEF fabric can be re-loaded with new Extended 
Instructions while the other goes on processing.  

Results of an Extended Instruction can be stored in the Wide Register File to be used by the 
following ISEF instructions or stored in one of the SCP memories. The need to feed data to the 
ISEF unit and fetch results of processing via the SCP 128-bit interconnect is often the real 
determinant of the ISEF computational performance. Extensive use of the Wide Register File 
and internal memories for intermediate results can help but will not eliminate the necessity of 
maintaining the data flow through the SCP at the rate specified by an application and the 
external video data sources. 

User programs the ISEF unit in C programming language by identifying kernels of data-
intensive iterative computations and designating kernels to be placed in the ISEF and replaced 
by an Extension Instruction in the Xtensa code flow. There is a trade-off between amount of 
ISEF resources used by an Extended Instruction and a number of such instructions directly 
addressable without reloading. An application must explicitly load ISEF instructions to make 
use of them. 

To maximize execution speed of an Extended Instruction, the programmer can analyze its 
interlocks with the Pipeline Analyzer tool and make changes in the instruction flow to avoid 
resource contention. The resource savings can be significant and more than double the speed 
of execution. Ultimately, the ISEF computational resources are finite and the user-defined 
Extended Instruction can run out of the available bit-slices necessitating instruction re-design or 
even splitting in two.  

Summary of Contents for FAST-X

Page 1: ...1 FAST X TECHNICAL PRODUCT DESCRIPTION 30002 00192...

Page 2: ...chnical Product Description Document Number 30002 00192 Revision History 1 0 October 25 2006 Trademarks Alacron is a registered trademark of Alacron Inc Channel Link is a trademark of National Semicon...

Page 3: ...ic ISEF 12 Memory System 13 SysAD Interface 13 GigE MACs 14 S5610 Low and Mid speed Peripherals 14 Interrupt Controller 14 PCI X Interface to Host Computer 14 Fast X POWER UP SEQUENCE 15 SOFTWARE OVER...

Page 4: ...f they did not come in your FastSeries shipment 30002 00148 ALFAST Runtime Software Programmer s Guide Reference 30002 00150 FastSeries Library User s Manual 30002 00169 ALRT Runtime Software Programm...

Page 5: ...dth from faster higher resolution or from multiple simultaneous sources of video data The on board video processing will prevent the Host computer system from experiencing unpredictable stalls and fro...

Page 6: ...sed with 3 Basic Camera Link cameras 1 Basic and 1 Medium Camera Link cameras 1 Full Camera Link camera 1 Trans standard Camera Link camera with 10 taps by 8bit Four 4 Gigabit Ethernet RJ 45 ports wil...

Page 7: ...erations made possible by local application boot of the Stretch S5610 processor from 32MB of on board FLASH HARDWARE OVERVIEW This chapter provides an overview of Fast X hardware functional units and...

Page 8: ...s It also provides image processing capabilities using two FPGA like programmable fabrics extending its traditional processor architecture The sizeable up to 2GB and fast Stretch SDRAM memory has suff...

Page 9: ...s up to three 3 Camera Link interfaces each of which can run at up to 85 MHz J1 J2 J3 1 CL Base CL Base CL Base 2 CL Medium CL Base 3 CL Full N A Table 1 Fast x Camera Link Configurations Alacron can...

Page 10: ...the headers attached to each video frame Front end processing can include compiling histogram finding maxima and minima and pixel wise table transformations Depending on the video bandwidth the Front...

Page 11: ...itude boost in the data processing speed just where it is necessary Similarly to FPGA the ISEF units are most effective when processing fixed point data Floating point data processing should be done u...

Page 12: ...EF fabric can be re loaded with new Extended Instructions while the other goes on processing Results of an Extended Instruction can be stored in the Wide Register File to be used by the following ISEF...

Page 13: ...nal devices It includes 256KB on chip single port SRAM 32KB dual port data SRAM 32KB Data cache 32KB Instruction cache DDR SDRAM controller to up to 3GB of external SDRAM The SCP DDR SDRAM controller...

Page 14: ...control setting on programmable parts and two Streaming Serial Ports SSPort that are not used Among the low speed interfaces are two Universal Asynchronous Receiver Transmitter ports that control sett...

Page 15: ...may begin SOFTWARE OVERVIEW The Fast X is delivered fully functional bundled with the video capture program Fast Motion that supports video preview and permits saving captured video stream on disk Fa...

Page 16: ...soft Windows XP operating systems Alacron offers Board Support Packages for Microsoft Windows and Linux OS environments Figure 6 Fast X Software Development Environment HOST SYSTEM REQUIREMENTS In ord...

Page 17: ...f dll STRETCH SOFTWARE DEVELOPMENT Software development for the Fast X on board applications targets the Stretch SCP and uses the Stretch Interactive Development Environment Stretch IDE toolkit The St...

Page 18: ...gure 7 Fast X Stretch IDE The picture in the upper left panel of the Figure 7 shows a detailed view of the SCP instruction pipeline including concurrent execution of Extended Instructions in the ISEF...

Page 19: ...19 The typical development flow for the SCP looks like the diagram below c Figure 8 Fast X Stretch software development flow...

Page 20: ...XIN0 25 13 ground ground 26 Table 2 Pinout of J1 and J3 CameraLink Connectors J2 Full Medium Pos Base Config Configuration Base Config Pos 1 shield shield shield shield 14 2 CC4 Z3 Z3 CC4 15 3 CC3 ZCL...

Page 21: ...ck are controlled directly by the GMAC and by the software that runs it APPENDIX C HEADERS AND JUMPERS Header Description P1 GigE QuadPHY JTAG P2 Write Protect jumpers for CPLD and Stretch FLASH Memor...

Page 22: ...e problem you are experiencing The release notes are available in the directory usr alacron alinfo _____ Compile and run the example programs found in the directory usr alacron src examples _____ Find...

Page 23: ...rs and hardware revision numbers of all of your boards This information is written on the invoice that was shipped with your products _____ Also each board has its serial number and revision number wr...

Page 24: ...shipped back _____ A listing including revision numbers for all software libraries applications daughter cards etc _____ A clear and detailed description of the problem and when it occurs _____ Exact...

Page 25: ...ternet access or if it is inconvenient for you to get to access copy the code to a disk describe the error and mail the disk to Technical Support at the Alacron address below If the code is small enou...

Reviews: