\n'; Text += '
'; Text += ' \n'; Text += '
'; Text += '\n'; for (var i=0;i<(extra_info[extra_info_index].length-1);i++) { Text += hbutton(sig_buttons[i], 'opener.location=loc[sel.selectedIndex]['+i+'];', bnum++); } Text += hbutton("Search Backwards", 'opener.search(sel.options[ sel.selectedIndex ].text,' + '0,opener.last_link,-1,0);',bnum++); Text += hbutton("Search Forwards", 'opener.search(sel.options[ sel.selectedIndex ].text,' + '0,opener.last_link, 1,0);',bnum++); Text += hbutton("Close","window.close();",bnum++); Text += '
\n'; Text += '
Hosted by www.Geocities.ws

\n'; w.document.open(); w.document.write(Text); w.document.close(); w.document.forms[0].elements[0].options[0].text = linkText; w.sel = w.document.forms[0].elements[0]; for (j=0;j<10;j++) w.loc[j] = new Array(sig_buttons.length); copy_into_loc0(w,extra_info_index); } else { if ((window.location.pathname.substring(0,window.location.pathname.lastIndexOf(dirSep)))!= (w.location.pathname.substring(0,w.location.pathname.lastIndexOf(dirSep)))) { w.close(); if (is_nav4up) return qs(e,t,extra_info_index); else return false; } var opts = w.document.forms[0].elements[0].options; if ( opts.length<10 ) { w.loc[opts.length] = new Array; opts.length++; } for (i=opts.length-2;i>=0;i--) { opts[i+1].text=opts[i].text; for (var j=0;j' + ' '+text+'\n'; } function copy_into_loc0 (w,extra_info_index) { for (var i=1;i=0;i+=inc) { linkText = is_nav4up ? document.links[i].text : document.links[i].innerText; linkY = is_nav4up ? document.links[i].y : document.links[i].offsetTop; if ((linkText == text) && (linkY != y)) { window.status=""; if (is_nav4up) if (relative) window.scrollBy(0,linkY - y); else window.scrollTo(0,linkY); else if (is_ie4up) document.links[i].scrollIntoView(true); last_link=i; last_class=document.links[i].className; document.links[i].className='HI'; return false; } } nextpage = (inc==1) ? next_page() : prev_page(); wrappage = (inc==1) ? first_page() : last_page(); if (nextpage!="" || wrappage!="") { if (nextpage=="") { if (!confirm(text + " not found. Search again from "+((inc==1)?"first":"last")+" page?")) return false; nextpage=wrappage; } location=nextpage+ "?" + escape(text) + "&" + ( y - window.pageYOffset ) + "&" + inc; return false; } if (confirm(text + " not found. Search again from "+((inc==1)?"start":"end")+"?")) { if (inc==1) i=-1; else i=document.links.length; } else return false; } return true; } function loadqs() { var opt=location.search, text="", s="", y=0, si=0, inc=1; if (opt.length==0) return true; for (var i=1;i
[Up: allahoakbar AAA1]
module alhamdulillahIndex(BCLK, reset_n, stcmp, quad_fill, CTRL_PINS, parallel_data, ERROR, 
				   packet_error, packet_good, push, fifo_mode, wenable, oenable, DATA_IR_out, 
				   ADDR_IR, DATA_IR_in, data_dec_out, CALC_CRC, DATA_F_C_D,broadcast); //, data_decode, dest_id);
input stcmp, quad_fill, BCLK, reset_n;
input [2:0]CTRL_PINS;
input [31:0]parallel_data;
input[15:0] DATA_IR_in;

wire reset_decoder, reset_crc;
output [31:0] CALC_CRC, DATA_F_C_D;
wire [31:0] CALC_CRC, DATA_F_C_D;

output [7:0] ADDR_IR;
wire [2:0]header_length;
wire [7:0]ADDR_IR_dec, ADDR_IR_Rx;
output ERROR, wenable, packet_error, packet_good, push, fifo_mode, oenable, broadcast;
output [15:0] DATA_IR_out;
output [3:0]data_dec_out;
//output [3:0]data_decode;
//output [15:0]dest_id;
receiver R11(    	   		 BCLK,
                             reset_n, 
                             decode_error, 
                             decode_complete, 
                             data_payload, 
                             stcmp,
                             quad_fill, //from parallel processable memory, available at negedge BCLK for single period
                             header_length,                             
                             CTRL_PINS,
                             CALC_CRC,
                             parallel_data, // from parallel process memory
			     			 			                                   
   							 ERROR,
							 decode,
							 reset_decoder_rx,
							 wenable,  // write signal to CSR
							 crc_in,
							 DATA_IR_out,
							 ADDR_IR_Rx,
							 DATA_F_C_D,
							 packet_error,
							 packet_good,
							 push,
							 fifo_mode, // set fifo mode for reception
							 reset_rx);
							 
decoder D1(
                     BCLK,
                     decode,
		     		 /*receive_or_transmit*/ 0,
		     		 reset_decoder,                     
           	     	 DATA_IR_in, 
		             DATA_F_C_D,
                     data_payload,
                     header_length,
                     decode_error,
                     decode_complete,
                     ADDR_IR_dec,
                     oenable, data_dec_out, broadcast); 
crc C1( 	//Inputs
			reset_crc, 
			BCLK, 
			DATA_F_C_D,
			crc_in, 
			//Outputs
			CALC_CRC);

assign reset_decoder = reset_decoder_rx & reset_n;
assign reset_crc = reset_n & (~ reset_rx);
assign ADDR_IR = oenable ? ADDR_IR_dec : ADDR_IR_Rx;

endmodule


This page: Maintained by: [email protected]
Created:Sun Mar 11 19:18:59 2001
From: /mnt/c/windows/desktop/floppy/commen~1/alhamdulillah.v

Verilog converted to html by v2html 6.0 (written by Costas Calamvokis).Help































Hosted by www.Geocities.ws

1