參數(shù)資料
型號(hào): AM79C90PC
廠商: ADVANCED MICRO DEVICES INC
元件分類(lèi): 微控制器/微處理器
英文描述: CMOS Local Area Network Controller for Ethernet (C-LANCE)
中文描述: 1 CHANNEL(S), LOCAL AREA NETWORK CONTROLLER, PDIP48
封裝: PLASTIC, DIP-48
文件頁(yè)數(shù): 51/62頁(yè)
文件大小: 437K
代理商: AM79C90PC
AMD
51
Am79C90
640 C(1) = C(1) XOR 1: C(2) = C(2) XOR 1: C(4) = C(4) XOR 1
650 C(5) = C(5) XOR 1: C(7) = C(7) XOR 1: C(8) = C(8) XOR 1
660 C(10) = C(10) XOR 1: C(11) = C(11) XOR 1: C(12) = C(12) XOR 1
670 C(16) = C(16) XOR 1: C(22) = C(22) XOR 1: C(23) = C(23) XOR 1
680 C(26) = C(26) XOR 1
690 C(0) = 1
700 NEXT N
710 REM
720 REM CRC COMPUTATION COMPLETE, EXTRACT HASH NUMBER FROM C(0) TO C(5)
730 REM
740 HH=32*C(0)+16*C(1)+8*C(2)+4*C(3)+2*C(4)+C(5)
750 PRINT “THE HASH NUMBER FOR ”;
760 PRINT A$(0); “ ”; A$(1); “ ”; A$(2); “ ”; A$(3); “ ”; A$(4); “ ”; A$(5);
770 PRINT “IS”; HH
780 GOTO 210
Program example in C to generate the hash filter, for multicast addressing in the C-LANCE.
/************************************************************
* hash.c Rev 0.1
* Generate a logical address filter value from a list of
* Ethernet multicast addresses.
*
* Input:
* User is prompted to enter an Ethernet address in
* Ethernet hex format: First octet entered is the first
* octet to appear on the line. LSB of most
* significant octet is the first bit on the line.
* Octets are separated by blanks.
* After results are printed, user is prompted for
* another address.
*
* (Note that the first octet transmitted is stored in
* the C-LANCE as the least significant byte of the Physical
* Address Register.)
* Output:
* After each address is entered, the program prints the
* hash code for the last address and the cumulative
* address filter function. The filter function is
* printed as 8 hex bytes, least significant byte first.
****************************************************************/
#include <stdio.h>
void updateCRC (int bit);
int adr[6], /* Ethernet address */
ladrf[8], /* Logical address filter */
CRC[33], /* CRC register, 1 word/bit + extra control bit */
poly[] = /* CRC polynomial. poly[n] = coefficient of
the x**n term of the CRC generator polynomial. */
{1,1,1,0, 1,1,0,1,
1,0,1,1, 1,0,0,0,
1,0,0,0, 0,0,1,1,
0,0,1,0, 0,0,0,0
};
void main()
相關(guān)PDF資料
PDF描述
AM79C90PCTR CMOS Local Area Network Controller for Ethernet (C-LANCE)
AM79C930 PCnet-Mobile Single-Chip Wireless LAN Media Access Controller
AM79C930VCW PCnet-Mobile Single-Chip Wireless LAN Media Access Controller
AM79C940VCW Media Access Controller for Ethernet (MACE)
AM79C940 Media Access Controller for Ethernet (MACE)
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
AM79C90PCB 制造商:未知廠家 制造商全稱(chēng):未知廠家 功能描述:LAN Node Controller
AM79C90PCTR 制造商:AMD 制造商全稱(chēng):Advanced Micro Devices 功能描述:CMOS Local Area Network Controller for Ethernet (C-LANCE)
AM79C90WW WAF 制造商:Advanced Micro Devices 功能描述:
AM79C930 制造商:AMD 制造商全稱(chēng):Advanced Micro Devices 功能描述:PCnet-Mobile Single-Chip Wireless LAN Media Access Controller
AM79C930EVAL-HW 制造商:未知廠家 制造商全稱(chēng):未知廠家 功能描述:Am79C930EVAL-HW - PCnet-Mobile Evaluation Kit