Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
I know microblaze support fast interrupt mode with 3 signal: interrupt, interrupt_address and interrupt_ack. So I connect these signal to 3 corresspond signal in my interrupt controller. I have some question here:
1)If i wanna use fast interrupt, so interrupt handler has a format below, right...
I wanna access in a register like a bit. Example :
u32 ISR = Xil_In32(TMR1_BASEADDR + bTmrTCSR0);
if (ISR[8] == 1)
function();
else
fuction1();
But this error "subscripted value is neither array nor pointer nor vector" happen.
aruipksni,
all signal have connected. now I build application interrupt handle for my SoPC. I have some problem here. I have 1 interrupt interrupt from AXI timer.
Main program: just a simple shift 8 led.
MyINTC_Initialize(): Initialize my interrupt controller ( enable...
PORT INTERRUPT = Interrupt, DIR = I, LEVEL = HIGH, SIGIS = INTERRUPT##, BUS = INTERRUPT
PORT INTERRUPT_ADDRESS = Interrupt_Address, DIR = I, VEC = [0:31]##, BUS = INTERRUPT
PORT INTERRUPT_ACK = Interrupt_Ack, DIR = O, VEC = [0:1]##, BUS = INTERRUPT
so I should uncomment it,right ???
With...
I have just connect 3 signal interrupt, interrupt_address, interrupt_ack invidiual, so DRC not warning driven to GND any more
WARNING:EDK:4180 - PORT: tdi_in, CONNECTOR: bscan_tdi - No driver found. Port will be driven to GND -...
I think APB interface in my interrupt, It's ok when I use code below
void MyINTC_Initialize()
{
Xil_Out8(sysclr, 0x01);
Xil_Out8(ier, 0xff);
Xil_Out8(iscra, 0x55);
Xil_Out8(iscrb, 0x55);
Xil_Out8(ipra, 0x10);
Xil_Out8(iprb, 0x32);
Xil_Out8(iprc, 0x54);
Xil_Out8(iprd, 0x76)...
indeed. I conntect to all interrupt source "ext_event" ,"nmi_event" and "irq_in". any problem about this ??? Besides, I edit it in mpid file right??
But still no ID interrupt na. You can see my xparameter.h below
Attachment:
/*******************************************************************...
I do it just like you say but in xparameter.h still not ID for interrupt source
## Ports
PORT req_int = Interrupt, DIR = O, SIGIS = INTERRUPT, BUS = INTERRUPT, PERMIT = BASE_USER, DESC = 'Interrupt Request Output'
PORT vect_int = Interrupt_Address, DIR = O, VEC = [31:0], VEC = [31:0], ENDIAN =...
If I insert the line just like you write above, it mean have a priority for each interrupt source[L to H], right ??? But I don't want this priority because my interrupt controller support "programmable priority" for each interrupt already, you have a way what to ignore this ?? because i just...
I don't sure PORT Interrupt just you write above, its a interrupt input source or output to MicroBlaze ???
This is mpd file of my interrupt controller:
BEGIN intc
## Peripheral Options
OPTION IPTYPE = PERIPHERAL
OPTION IMP_NETLIST = TRUE
OPTION HDL = MIXED
OPTION IP_GROUP = USER
## Bus...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.