한국기술교육대학교 정정 기 공학부보기술공학부 장영조 · int_fiq_n...
TRANSCRIPT
한국기술교육대학교정보기술공학부정 기 공학부
장영조
1
모드 종류◦ Six individual interrupts◦ Six-bit priority schemes◦ Five-bit priority scheme plus one individual interrupt
인터럽트 신호 인터럽트 신호◦ INT_FIQ_n◦ INT_IRQ_n_ Q_
인터럽트 소스 : 17개◦ Stripe 내부 모듈로부터 오는 10개의 인터럽트◦ 1개의 외부 핀◦ 6개의 PLD-stripe로 부터 오는 인터럽트: INT_PLD[5:0]** 10개의 stripe 내부 인터럽트 중에서 5개는 PLD 입력으로 활용 10개의 stripe 내부 인터럽트 중에서 5개는 PLD 입력으로 활용
가능
2
인터럽트 컨트롤러 신호 level triggered, active low
3
Hard logic signals ◦ Level triggered, active high (except INT_EXTPIN_N)
4
Configuration and status register : 24개, 32 bit
5
INT_MODE 레지스터에 인터럽트 모드 셋트
Interrupt mode에 따라 다음과 같이 해석◦ Six individual interrupts (default)◦ Single interrupt request, using a six-bit priority value◦ Single interrupt request, using a five-bit interrupt priority
value and one individual interruptvalue and one individual interrupt
6
시스템 reset 후의 default mode 6개 이하의 작은 수 인터럽트에서 사용개 이하의 작은 수 인터럽 에서 사용 각 PLD 인터럽트 신호는 자신의 INT_MASK_SET 마스크
비트를 가진다. ◦ INT_MASK_SET = 1 프로세서에게 인터럽트 활성화
각 PLD 인터럽트 신호는 자신의 INT_MASK_CLEAR 마스크 비트를 가진다스크 비트를 가진다. ◦ INT_MASK_CLEAR = 1 프로세서에게 인터럽트 비활성화
7
고순위
UART, PLD[5:0]항상 발생
8
UART, PLD[5:0] 인터럽트 활성화
PLD에 6개 이상의 intr 사용시, 최대 63개의 intr사용 INT_PLD[5:0][ ]◦ 0 – no intr, 1-63 –우선순위 intr 요청
9
10-to-4 priority encoder
* INT PLD[5:4] 0* INT_PLD[5:4] = 0
10
INT_PLD[0] : individual intr INT_PLD[5]~INT_PLD[1] : 2~62 우선순위 intr 요청[ ] [ ] 우선순위 청
11
10-to-4 priority encoder
* INT_PLD[5]=0
12
13
14
# Pin & Location Assignments# ==========================
l b l i RESERVE PIN "ASset_global_assignment -name RESERVE_PIN "AS INPUT TRI-STATED"set_location_assignment PIN_W20 -to intpld\[0\]set_location_assignment PIN_W18 -to intpld\[5\]
l i i PIN R5 l d\[0\]set_location_assignment PIN_R5 -to lcd\[0\]set_location_assignment PIN_R6 -to lcd\[1\]set_location_assignment PIN_T1 -to lcd\[2\]set_location_assignment PIN_T6 -to lcd\[3\]
l i i PIN T7 l d\[4\]set_location_assignment PIN_T7 -to lcd\[4\]set_location_assignment PIN_U1 -to lcd\[5\]set_location_assignment PIN_U2 -to lcd\[6\]set_location_assignment PIN_V1 -to lcd\[7\]
l i i PIN V2 l dset_location_assignment PIN_V2 -to lcd_eset_location_assignment PIN_V3 -to lcd_rsset_location_assignment PIN_V7 -to lcd_rwset_location_assignment PIN_Y5 -to pld_clk
t l ti i t PIN W18 t h0set_location_assignment PIN_W18 -to push0set_location_assignment PIN_W20 -to push1set_location_assignment PIN_V5 -to reset_slave
15