a8259 可編程中斷控制 altera提供
The a8259 is designed to simplify the implementation of the interrupt interface in 8088 and 8086 based microcomputer systems. The device is known as a programmable interrupt controller. The a8259 receives and prioritizes up to 8 interrupts, and in the cascade mode, this can be expanded up to 64 interrupts. An asynchronous Reset and a clock input have been added to improve operation and reliability.
/* *可以本機(jī)單打,本機(jī)雙打,聯(lián)機(jī)雙打 *用戶一的鍵盤控制為:up= key_up down= key_down left = key_left right = key_right * pause = key_space Reset = key_r *用戶二的鍵盤控制為:up = w down = s left = a right = d * pause = 1 Reset = 2 *@auther 張恩來 *@e-mail:zhang_elai@cvicse.com *聯(lián)機(jī)雙打時(shí),請(qǐng)先建立服務(wù)器端,然后建立客戶機(jī)端 **/
This module can be used to interface to the MMC card in MMC or
* SPI modes. It supports a multiple card environment. The Reset and
* identification processes assume multiple cards on the bus.
* In MMC mode, the card number is used as the RCA operand in the
* commands.
VHDL 關(guān)于2DFFT設(shè)計(jì)程序
u scinode1 ∼ scinode9.vhd: Every SCI node RTL vhdl code. The details can be
seen in the following section.
u 2dfft.vhd: The top module includes these scinodes and form a 3x3 SCI Torus
network, and it support these sub-modules scinode1∼ scinode9 Reset and clk
and global_cnt signals to synchronous the sub-modules to simplify the overall
design.
u proj2.wfc: VSS simulation result that is the same as the ModelSim simulation
result.
u Pro2_2.wfc: VSS simulation result of another test pattern can’t cause overflow
situation.
his project was built and tested with WinAVR-20060125.
Make sure the MCU target define in the Makefiles corresponds to the AVR you are using!!
To build the code, just install WinAVR and run "make" from the console in echomaster and
echoslave subdirs.
"make program" will program the device if you have a AVRISP attached.
Remember to set the AVR device to at least 8MHz. The AVR may use the programmable clock
from MC1319x, just remember to check if the MC1319x and SPI communication is working FIRST!
Otherwise you wont get any clock signal to the AVR and then you can t program it or Reset
the fuses!
The MC1319x has default clock output of 32kHz so you will have to set your programmer to
a very low frequency (<=32kHz/4) to be able to program it while it is running on that!