Xilinx Vivado Artix7 Fpga Microblaze Basic Design using Vivado 2019 CModA7 Vitis SDK
ฝัง
- เผยแพร่เมื่อ 15 ธ.ค. 2024
- Xilinx Vivado Artix7 Fpga Microblaze Microcontroller Basic Design
Vivado 2019
Board Digilent CModA7-35T
Time required to complete this tutorial on a standard laptop is
Hardware desgn 20 min
Hardware compilation = Synthesis + Implementation + Bitstream 15 min
Software 10 min
Total 45 min
Highlights from Sourcecode
includes
stdio.h platform.h xil_printf.h stdlib.h time.h sys/time.h sys/stat.h
unistd.h fcntl.h unistd.h stdlib.h math.h xgpio.h xparameters.h
XGpio input;
XGpio output; //LEDs
// GPIO_0 -----------------------------------------------------------
// LEDs 2 OUTs
// rgb led
XGpio_Initialize ( &output, XPAR_AXI_GPIO_0_DEVICE_ID );
XGpio_SetDataDirection ( &output, 1, 0x0 );
XGpio_SetDataDirection ( &output, 2, 0x0 );
// GPIO_1 -----------------------------------------------------------
// button
XGpio_Initialize ( &input, XPAR_AXI_GPIO_1_DEVICE_ID );
XGpio_SetDataDirection ( &input, 1, 0x1 );
// Usb input -----------------------------------------------------------
int abc;
if ( !XUartLite_IsReceiveEmpty ( XPAR_UARTLITE_0_BASEADDR ) )
{
abc = XUartLite_RecvByte ( XPAR_UARTLITE_0_BASEADDR );
}
Thanks so much for the tutorial, I was struggling with using Vitis but after following along with this I manged to get my project working :) Keep up the good work.
Many thanks for the tutorial! Very good work!
Could you help me with a reference to find codes or where I can guide me, you started the code from scratch or in vitis there is some help please.
Thank you for the good tutorial! Could you share also your example code? Thank you again!
Can you post the example code?
Thank you so much 👍