只包括兩個核心文件sha1.cpp及sha1.h 計算數(shù)據(jù)的sha1摘要。簡單,好用。 由于bit endian及l(fā)ittle endian的原因,有些計算sha1摘要的算法計算出來的結(jié)果與正確結(jié)果有差異。此源碼經(jīng)過測試,與RFC里列出的測試結(jié)果匹配。
上傳時間: 2015-04-09
上傳用戶:dongqiangqiang
8位大小比較器的VHDL源代碼,Magnitude Comparator VHDL description of a 4-bit magnitude comparator with expansion inputs
上傳時間: 2015-04-15
上傳用戶:guanliya
這是最難的一個程序了,算法是運籌學(xué)里的branch band的集裝箱問題的最優(yōu)動態(tài)規(guī)劃解法,當(dāng)年我的頭都大了才實現(xiàn)的,絕得數(shù)學(xué)加實踐的程序
標(biāo)簽: 程序
上傳時間: 2015-04-22
上傳用戶:731140412
The original NuLib has been ported to many different systems. Version 3.2.5 is functionally similar to v3.2.4, but the source code and documentation were cleaned up by Devin Reade, making it easier to build. NuLib2 is generally superior, but NuLib does have the advantage of running under 16-bit MS-DOS and GS/OS.
標(biāo)簽: functionally different original Version
上傳時間: 2014-01-10
上傳用戶:liglechongchong
ALTERA NIOS處理器實驗,QUARTUS下用VHDL編譯成處理器,自動band跟蹤小程序
上傳時間: 2015-04-24
上傳用戶:ayfeixiao
This firmware translates a PS/2 mouse to a USB mouse. The translator firmware is entirely interrupt driven (with the exception of sending the data via USB to the host.) An interrupt is generated when the PS/2 start bit is received, at which time the firmware will begin its receive routine. In addition to this interrupt, every 168ms a timer overflow interrupts the main program and implements one state of the mouse state machine. This state machine handles sending bytes to and translating bytes received from the PS/2 mouse automatically. All of this is done in the background while the main program runs in the foreground. The only operation that the main program implements is sending mouse data to the PC via USB.
標(biāo)簽: firmware mouse translates translator
上傳時間: 2015-04-26
上傳用戶:cuiyashuo
可預(yù)置的8位計數(shù)器程序的主要部分分析 #include <AT89X51.H> //器件配置文件 #define uchar unsigned char //變量類型的宏定義 #define uint unsigned int uchar code SEG7[10]={0x03,0x9f,0x25,0x0d,0x99, //0~9的數(shù)碼管段碼 0x49,0x41,0x1f,0x01,0x09} uchar data cnt[8] //在data區(qū)定義8位長度的數(shù)組,用來存放計數(shù)值 uchar data pre_cnt[8] //在data區(qū)定義8位長度的數(shù)組,用來存放預(yù)置值 sbit drv=P3^4 //定義輸出驅(qū)動端 bit set_flag //定義工作標(biāo)志 bit out_flag //定義輸出標(biāo)志 bit keydown_flag //鍵按下標(biāo)志
標(biāo)簽: unsigned include define uchar
上傳時間: 2015-04-29
上傳用戶:changeboy
to show the waveform of audio file and play it on computer Purpose: Familiar with WAV file format and UI design It should have the following functions: Provide a Graphic User Interface for user to browse the file system and select one WAV file Show the waveform of input audio signal Play the selected WAV file Print the parameters of WAV file such as sampling rate, bit-depth, etc
標(biāo)簽: file Familiar computer waveform
上傳時間: 2015-05-07
上傳用戶:l254587896
Although there has been a lot of AVL tree libraries available now, nearly all of them are meant to work in the random access memory(RAM). Some of them do provide some mechanism for dumping the whole tree into a file and loading it back to the memory in order to make data in that tree persistent. It serves well when there s just small amount of data. When the tree is somewhat bigger, the dumping/loading process could take a lengthy time and makes your mission-critical program less efficient. How about an AVL tree that can directly use the disk for data storage ? If there s something like that, we won t need to read through the whole tree in order to pick up just a little bit imformation(a node), but read only the sectors that are neccssary for locating a certain node and the sectors in which that node lies. This is my initial motivation for writing a storage-media independent AVL Tree. However, as you step forth, you would find that it not only works fine with disks but also fine with memorys, too.
標(biāo)簽: available libraries Although nearly
上傳時間: 2014-01-22
上傳用戶:zhoujunzhen
graspForth is my humble attempt at a Forth-in-C that has the following goals: GCC ......... to support all 32-bit micros that GCC cross-compiles to. Relocatable . to be able to run in-place in either Flash or Ram. Fast ........ to be "not much" slower than an assembly based native Forth. Small ....... to fit-in approx 300 words in less than 25Kbytes on a 32-bit machine. Portable .... to achieve a 5 minute port to a new 32bit micro-processor, or micro-controller.
標(biāo)簽: graspForth Forth-in-C following attempt
上傳時間: 2015-05-23
上傳用戶:tfyt
蟲蟲下載站版權(quán)所有 京ICP備2021023401號-1