cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
1,055 Views
Registered: ‎08-01-2017

Microblaze

Hello Everyone,

how to write a led blinking code in c programing language in spartan 6 family using microblaze?

0 Kudos
Reply
2 Replies
hbucher
Scholar
Scholar
1,047 Views
Registered: ‎03-22-2016

vikrantthakur@35515

You have to check if your device is supported by Vivado (I believe it is not).

In this case, you'd have to go with ISE. Here is something I found on youtube

https://www.youtube.com/watch?v=zc42Gz2y2xs

vitorian.com --- We do this for fun. Always give kudos. Accept as solution if your question was answered.
I will not answer to personal messages - use the forums instead.
0 Kudos
Reply
ashok.cheepati
Contributor
Contributor
991 Views
Registered: ‎01-18-2013

Hi,

1. You just create application project in sdk like simple hello world.

2. In the main.c initialize the gpio signal as Gpio_Initialize(&axi_pmod1, 0);

3. Set the direction of gpio as input or output which you will get inside XGpio_Initialize function. 

4. write a small counter program and pass the counter value to LED's or you can pass constant value using IOWR function.

 

Best Regards,

--Ashok

 

0 Kudos
Reply