With the development on Internet and the popularization of more network applications in recent years, people become not satisfied with the processing of conventional network devices. Therefore, the special network processor was created. Network Processor, with the high capability of ASIC and flexibility of general-purpose processor, is a programmable ASIC circuit. Thus, how to initialize and configure network processor based on needs, in order to make the hardware to work better and be up to the mustard on capability, is very significant.This dissertation explains the basal hardware framework and characteristic of XDNP network processor, and expounds the correlative information of control state registers which is correlated with initial configuration. This dissertation focuses on the research on the initialization of XDNP network processor, which including the analysis of the sub modules'initialization process and results on chip, summarizing the method of micro-code loading; the building of default router tables, and the initialized configuration of MAC device. There is a custom-built control processor, which used for the initialization work of XDNP network processor, designed in this dissertation. The configuration and control of this module is based on the configuration of network processor, and configure the XDNP network processor by this module at last. Finally, building a verification platform for the initialization of XDNP network processor with Xilinx Virtex-4 FPGA sub-board and Fids12mc2 motherboard, completing all sub-modules'verifications in this platform, and the results show the control module could work well. |