Questions tagged [microblaze]

The MicroBlaze is an open (usage documentation is available, but closed source) soft core Processor designed by Xilinx for their FPGAs. It is optimized for space usage and execution for Xilinx's FPGAs.

It is a RISC design with Harvard architecture and is capable of running complex operating systems like Linux. GCC has built-in support for MicroBlaze.

Even if MicroBlaze is not open source, it's architecture is documented and freely available. There are several open source implementations of MicroBlaze. See Wikipedia's article for a list of implementations.

The programs for it can be written in Assembler, C or C++.

See Also

103 questions
0
votes
0 answers

Opaque platgen failure in Xilinx EDK

This is running on: Ubuntu 64 LTS Xilinx Platform Studio 14.7 (lin64) I'm trying to run the microblaze_demo project included with the Virtex 5 board provided by PLDkit, but I'm getting a very unhelpful error. short error log Running XST synthesis…
0
votes
0 answers

OpenMP execution of "parallel for" construct blocked when inserted into a for cycle, running on MicroBlaze processor

I have an issue with the OpenMP implementation "GOMP" (namely GNU OpenMP), running on a Microblaze processor. The MicroBlaze processor is in the kernel mainline, and Xilinx provided pthread implementation for it. So I cross-compiled the GOMP library…
0
votes
1 answer

define register alias for register

How to define register alias in assembler file ('.S') for microblaze? So I could write instructions with this alias like addi ctx, r0, 0x08 for ARM it was ctx .req r12. Neither .req or .register works for microblaze. File is compiled…
user3124812
  • 1,861
  • 3
  • 18
  • 39
0
votes
1 answer

How to compile a library for a fixed address in microblaze

I want to build a library which is relocatable (ie. nothing other than local variables. I also want to force the location of the library to be at a fixed location in memory. I think this has to be done in the makefile, but I am confused as to what…
Godspped
  • 683
  • 4
  • 12
  • 31
0
votes
0 answers

Software interrupt with microblaze

I am trying to get a software interrupt running in a microblaze but am hitting a complete road block. So the xparameter.h file that gets generated by the Vivado design does not have any generated macros for the sw interrupts I enabled. So I started…
Godspped
  • 683
  • 4
  • 12
  • 31
0
votes
1 answer

FT600 Interfacing with FPGA

I am interfacing with a FT600 16-bit chip for USB3.0 communication. The computer will communicate through the FT600 to the FPGA and vice versa. I have created an FSM to assert appropriate signals and write Data to memory. Problem: I assume the…
0
votes
0 answers

xilinx sdk integer overflows

I'm writing a c code in Xilinx SDK for microblaze. The variables were defined as: int xcoi; int ycoi; u16 mat[1280][720]; The code reads the image data stored in DDR2 memory and saves it into a variable. if ((lBtnChanges & bitBtnD) && (lBtnStateNew…
monika
  • 1
  • 2
0
votes
0 answers

How to read a portion of a GPIO input or assign the GPIO input to a bit vector?

I'm trying to read the inputs from a GPIO through a microblaze implemented in a Basys3 FPGA board. My GPIO inputs are coming from the 16 dip switches in the Basys3 board. Currently I'm using the following line of code to read the GPIO input to a…
ksaliya
  • 182
  • 7
0
votes
1 answer

FPGA interrupt handling in C

I have a coursework for designing a state machine on the Microblaze microprocessor in C. The problem I have is that I have to change a certain picture. Let's say I press BTNL on the FPGA; I have to be presented with a landscape picture for 5 secs…
Nick
  • 677
  • 1
  • 11
  • 25
0
votes
1 answer

baudrate mismatch between AXI-Uartlite and Teraterm

I have built a simple Microblaze system on a Kintex 7 on Avnet's MMP2 board. I am using Uartlite (v2.0) IP in this system and communicate to a PC using Teraterm (v4.85). The baudrate for the Uartlite component must be fixed at a particular value at…
Vinay Madapura
  • 327
  • 5
  • 17
0
votes
0 answers

LwIP client application for Microblaze

Does anyone have any prior experience working with LwIP running on Microblaze? My problem right now is that I'm using the info that I found on http://lwip.wikia.com/wiki/Raw/TCP to write an application to connect to an specific socket and send an…
0
votes
0 answers

xilinx sdka error when using lwip library

I'm trying to create an echo server on spartan 3 A with MicroBlaze using ethernet interface, but when i compile the project i got an undefined reference error. I am using lwip 1.3.0. I think that i am missing a library but I can't get which…
0
votes
0 answers

how to read data from memory on microblaze using sdk

I use an atlyse spartan-6 xc6slx45 and I try to do a C code on sdk which permit to read data from a memory of microblaze then do a multiplication of two matrix.I found many tutorials which make the initialisation of the two input matrixes on the C…
Classe Ensi E
  • 45
  • 2
  • 10
0
votes
1 answer

Substituting for a .SET on the the command line

I have some (Microblaze) assembly I need to build (via the GCC cross-assembler and linker) and execute many times with the (same) constants, currently fixed via .SET commands, changed each time. Is there a way to automate the setting of in-assembly…
adrianmcmenamin
  • 1,081
  • 1
  • 15
  • 44
0
votes
1 answer

Accessing MMU/TLB at boot on Microblaze

I am seeking to set up the TLB on a Microblaze (actually simulated on OVP), and have C_USE_MMU set to 3. This is my boot code: .global _start .section .vectors.reset, "ax" .align 2 .ent _start .type _start, @function _start: …
adrianmcmenamin
  • 1,081
  • 1
  • 15
  • 44