﻿
var store = new Array();

store[0] = new Array(
	'Select');

store[1] = new Array(
	'Select from the list',
	'',
	'8 bit - PIC Processor',
	'IpCoreSend.php?ipId=8 bit - PIC Processor',
	'8 bit- HC68HC11',
	'IpCoreSend.php?ipId=8 bit- HC68HC11',
	
	'8 bit - Pipelined 8051',
	'IpCoreSend.php?ipId=8 bit - Pipelined 8051',
	
	'8 bit - Quad Pipelined 8051',
	'IpCoreSend.php?ipId=8 bit - Quad Pipelined 8051',
	
	'8 bit - 80251',
	'IpCoreSend.php?ipId=8 bit - 80251',
	
	'8 bit– Z80',
	'IpCoreSend.php?ipId=8 bit– Z80',
	'16/32 bit – D68000',
	'IpCoreSend.php?ipId=16/32 bit – D68000',
	'16 bit – MSP430',
	'IpCoreSend.php?ipId=32 bit – Leon3',
	
	'32 bit – ARM (as part of ASIC design)',
	'IpCoreSend.php?ipId=32 bit – ARM (as part of ASIC design');

store[2] = new Array(
	'Select from the list',
	'',
	'Floating Point Unit',
	'IpCoreSend.php?ipId=Floating Point Unit',
	'I2C Master/Slave',
	'IpCoreSend.php?ipId=I2C Master/Slave',
	'SPI Master/Slave',
	'IpCoreSend.php?ipId=SPI Master/Slave',
	'CAN bus',
	'IpCoreSend.php?ipId=CAN bus',
	'Programmable Peripheral Interface',
	'IpCoreSend.php?ipId=Programmable Peripheral Interface',
	'UART/  UART with FIFO PWM',
	'IpCoreSend.php?ipId=UART/  UART with FIFO PWM',
	'Timer 8254',
	'IpCoreSend.php?ipId=Timer 8254',
	'Programmable Timer',
	'IpCoreSend.php?ipId=Programmable Timer',
	'Interrupt Controller',
	'IpCoreSend.php?ipId=Interrupt Controller',
	'Ethernet Controller 10//100/1000 BaseT',
	'IpCoreSend.php?ipId=Ethernet Controller 10//100/1000 BaseT',
	'Gigabit Ethernet MAC',
	'IpCoreSend.php?ipId=Gigabit Ethernet MAC',
	'WLAN 802.11 a/b MAC',
	'IpCoreSend.php?ipId=WLAN 802.11 a/b MAC',
	'PCMCIA/ CompactFlash Host Adapter',
	'IpCoreSend.php?ipId=PCMCIA/ CompactFlash Host Adapter',
	'PCMCIA/ CompactFlash Slave Controller',
	'IpCoreSend.php?ipId=PCMCIA/ CompactFlash Slave Controller',
	'DMA Controller',
	'IpCoreSend.php?ipId=DMA Controller',
	'SDIO/SD Memory/MMC Host/Slave Controller',
	'IpCoreSend.php?ipId=SDIO/SD Memory/MMC Host/Slave Controller',
	'Smart Card Interface',
	'IpCoreSend.php?ipId=Smart Card Interface',
	'SATA Host',
	'IpCoreSend.php?ipId=SATA Host',
	'SATA Device',
	'IpCoreSend.php?ipId=SATA Device',
	'IDE ATA',
	'IpCoreSend.php?ipId=IDE ATA',
	'IEEE 1588 Slave/Master/ Programmable',
	'IpCoreSend.php?ipId=IEEE 1588 Slave/Master/ Programmable');

store[3] = new Array(
	'Select from the list',
	'',
	'Mem Connect',
	'IpCoreSend.php?ipId=Mem Connect',
	'SDRAM Controller',
	'IpCoreSend.php?ipId=SDRAM Controller',
	'DDR/DDR2 SDRAM Controller',
	'IpCoreSend.php?ipId=DDR/DDR2 SDRAM Controller',
	'DDR3 SDRAM Controller',
	'IpCoreSend.php?ipId=DDR3 SDRAM Controller',
	'NAND Flash Controller',
	'IpCoreSend.php?ipId=NAND Flash Controller',
	'Programmable Peripheral Interface',
	'IpCoreSend.php?ipId=Programmable Peripheral Interface',
	'Flash/EEPROM/SRAM Controller',
	'IpCoreSend.php?ipId=Flash/EEPROM/SRAM Controller',
	'CompactFlash Host/Slave  controller',
	'IpCoreSend.php?ipId=CompactFlash Host/Slave  controller',
	'CompactFlash with EXCA registers',
	'IpCoreSend.php?ipId=CompactFlash with EXCA registers');
	
store[4] = new Array(
	'Select from the list',
	'',
	'USB 2.0 Device (i/f certified) ',
	'IpCoreSend.php?ipId=USB 2.0 Device (i/f certified)',
	'USB 1.1 Device',
	'IpCoreSend.php?ipId=USB 1.1 Device',
	'USB 2.0 Host ',
	'IpCoreSend.php?ipId=USB 2.0 Host',
	'USB 1.0 Host ',
	'IpCoreSend.php?ipId=USB 1.0 Host',
	'USB 2.0 Hub',
	'IpCoreSend.php?ipId=USB 2.0 Hub',
	'USB 1.1 Hub',
	'IpCoreSend.php?ipId=USB 1.1 Hub',
	
	'USB 2.0 OTG ',
	'IpCoreSend.php?ipId=USB 2.0 OTG',
	
	'UTMI+ to UTMI+ wrapper',
	'IpCoreSend.php?ipId=UTMI+to UTMI+ wrapper',
	
	'UTMI+ to ULPI wrapper',
	'IpCoreSend.php?ipId=UTMI+ to ULPI wrapper',
	
	'USB Verification (VREF)',
	'IpCoreSend.php?ipId=USB Verification',
	
	'USB 2.0 OTG Stack',
	'IpCoreSend.php?ipId=USB2.0 OTG Stack');
	
store[5] = new Array(
	'Select from the list',
	'',
	'On Chip Bus Analyzer for AHB/OCP',
	'IpCoreSend.php?ipId=On Chip Bus Analyzer for AHB/OCP');

store[6] = new Array(
	'Select from the list',
	'',
	'MIPS - SysAD Bus Slave',
	'IpCoreSend.php?ipId=MIPS - SysAD Bus Slave',
	'MIPS - SysAD Bus to PCI Host bridge',
	'IpCoreSend.php?ipId=MIPS - SysAD Bus to PCI Host bridge',
	'MIPS - EC interface to SDRAM Controller',
	'IpCoreSend.php?ipId=MIPS - EC interface to SDRAM Controller',
	'MIPS - EC Interface to PCI Host Bridge',
	'IpCoreSend.php?ipId=MIPS - EC Interface to PCI Host Bridge',
	'MIPS - EC Interface Bus Slave',
	'IpCoreSend.php?ipId=MIPS - EC Interface Bus Slave');

store[7] = new Array(
	'Select from the list',
	'',
	'AHB Bus Master',
	'IpCoreSend.php?ipId=AHB Bus Master',
	'AHB Bus Slave',
	'IpCoreSend.php?ipId=AHB Bus Slave',
	'AHB to SDRAM Controller',
	'IpCoreSend.php?ipId=AHB to SDRAM Controller',
	'AHB to DDR SDRAM Controller',
	'IpCoreSend.php?ipId=AHB to DDR SDRAM Controller',
	'AHB to PCI Host Bridge',
	'IpCoreSend.php?ipId=AHB to PCI Host Bridge',
	'AHB DMA Controller',
	'IpCoreSend.php?ipId=AHB DMA Controller');
	
store[8] = new Array(
	'Select from the list',
	'',
	'USB 2.0 Device PHY',
	'IpCoreSend.php?ipId=USB 2.0 Device PHY',
	'USB 2.0 Host PHY',
	'IpCoreSend.php?ipId=USB 2.0 Host PHY',
	'USB 2.0 OTG PHY',
	'IpCoreSend.php?ipId=USB 2.0 OTG PHY',
	'10/100/1000 Ethernet PHY',
	'IpCoreSend.php?ipId=10/100/1000 Ethernet PHY',
	'SATA Device PHY',
	'IpCoreSend.php?ipId=SATA Device PHY',
	'SATA Host PHY',
	'IpCoreSend.php?ipId=SATA Host PHY',
	'XAUI SerDes',
	'IpCoreSend.php?ipId=XAUI SerDes',
	'Fiber Channel SerDes',
	'IpCoreSend.php?ipId=Fiber Channel SerDes',
	'InfiniBand SerDes',
	'IpCoreSend.php?ipId=InfiniBand SerDes',
	'PCI Express PHY',
	'IpCoreSend.php?ipId=PCI Express PHY',
	'LVDS IO',
	'IpCoreSend.php?ipId=LVDS IO',
	'Analog IP cores (ADC, DAC, PLL)',
	'IpCoreSend.php?ipId=Analog IP cores (ADC, DAC, PLL)');
	
store[9] = new Array(
	'Select from the list',
	'',
	'PCI Express',
	'IpCoreSend.php?ipId=PCI Express',
	'PCI-X Host Bridge, Master/Target',
	'IpCoreSend.php?ipId=PCI-X Host Bridge, Master/Target',
	'PCI Host Bridge, Target, Master/Target',
	'IpCoreSend.php?ipId=PCI Host Bridge, Target, Master/Target',
	'PCI-PCI Bridge',
	'IpCoreSend.php?ipId=CI-PCI Bridge',
	'PCI-ISA Bridge',
	'IpCoreSend.php?ipId=PCI-ISA Bridge',
	'PCI-ISA Bridge',
	'IpCoreSend.php?ipId=PCI-ISA Bridge');
		
store[10] = new Array(
	'Select from the list',
	'',
	'Power PC Bus Master',
	'IpCoreSend.php?ipId=Power PC Bus Master',
	'PowerPC to PCI Host bridge',
	'IpCoreSend.php?ipId=PowerPC to PCI Host bridge',
	'PowerPC Bus Arbiter',
	'IpCoreSend.php?ipId=PowerPC Bus Arbiter',
	'PowerPC Bus Slave',
	'IpCoreSend.php?ipId=PowerPC Bus Slave',
	'PCI-ISA Bridge',
	'IpCoreSend.php?ipId=PCI-ISA Bridge');
	
store[11] = new Array(
	'Select from the list',
	'',
	'ARC - Peripheral Controller for ARCtangent',
	'IpCoreSend.php?ipId=ARC - Peripheral Controller for ARCtangent',
	'ARC – ARCtangent to PCI host Bridge',
	'IpCoreSend.php?ipId=ARC – ARCtangent to PCI host Bridge');
	
store[12] = new Array(
	'Select from the list',
	'',
	'AES 128bit/256bit',
	'IpCoreSend.php?ipId=AES 128bit/256bit',
	'ECC',
	'IpCoreSend.php?ipId=ECC');
	
store[13] = new Array(
	'Select from the list',
	'',
	'ROM',
        'IpCoreSend.php?ipId=ROM',
	'SRAM',
'IpCoreSend.php?ipId=SRAM',
	'Register File',
'IpCoreSend.php?ipId=Register File',
	'CAM',
	'IpCoreSend.php?ipId=CAM');
	
			
function init()
{
	optionTest = true;
	lgth = document.forms['IPform'].second.options.length - 1;
	document.forms['IPform'].second.options[lgth] = null;
	if (document.forms['IPform'].second.options[lgth]) optionTest = false;
}


function populate()
{
	if (!optionTest) return;
	var box = document.forms['IPform'].first;
	var number = box.options[box.selectedIndex].value;

	if (!number) return;
	var list = store[number];
	var box2 = document.forms['IPform'].second;
	box2.options.length = 0;
	for(i=0;i<list.length;i+=2)
	{
		box2.options[i/2] = new Option(list[i],list[i+1]);
	}

}
function go()
{
	if (!optionTest) return;
	box = document.forms['IPform'].second;
	destination = box.options[box.selectedIndex].value;
	/*if (destination && confirm('Do you really want to go to this site?')) top.location.href = destination;*/
	if (destination) top.location.href = destination;
}


