Sign in

username:

password:



Not a member?

Search Comp.Arch.FPGA



Search tips

fpga by Keywords

Altera | ASIC | CPLD | Cyclone | DCM | DDR | DSP | Ethernet | ISE | JTAG | Linux | LVDS | Microblaze | ML310 | Modelsim | NIOS | OPB | PCI | Quartus | RocketIO | SDRAM | Spartan | Spartan3 | SRAM | Stratix | Verilog | VHDL | Virtex | Virtex-4 | Virtex-II | Xilinx | XST


Ads

See Also

DSPEmbedded SystemsElectronics

Comp.Arch.FPGA | How to do profiling on hardware target on Microblaze

There are 2 messages in this thread.

You are currently looking at messages 0 to 2.

How to do profiling on hardware target on Microblaze - 2006-03-24 06:31:00

Hello There!
We need to profile our software program that runs on the MicroBlaze
SCP. We referred to the Platform Studio user guide. It says so:

"The following steps illustrate profiling on a MicroBlaze program. The
system has BRAM
and External Memory. The system has an opb_timer, and the Interrupt
signal is directly
connected to MicroBlaze External Interrupt signal. The opb_timer is
used as the profile
timer on MicroBlaze."

I think the addtion of opb_timer can be done froom the "Add/Edit cores"
dialog (correct me if i'm wrong). But how do i "directly connect" the
interrupt signal to MicroBlaze External Interrupt signal?

Thanks.
- DN.




Re: How to do profiling on hardware target on Microblaze - Brian Drummond - 2006-03-25 10:03:00

On 24 Mar 2006 03:31:51 -0800,
d...@gmail.com wrote:

>Hello There!
>We need to profile our software program that runs on the MicroBlaze
>SCP. We referred to the Platform Studio user guide. It says so:
>
>"The following steps illustrate profiling on a MicroBlaze program. The
>system has BRAM
>and External Memory. The system has an opb_timer, and the Interrupt
>signal is directly
>connected to MicroBlaze External Interrupt signal. The opb_timer is
>used as the profile
>timer on MicroBlaze."
>
>I think the addtion of opb_timer can be done froom the "Add/Edit cores"
>dialog (correct me if i'm wrong). But how do i "directly connect" the
>interrupt signal to MicroBlaze External Interrupt signal?

If you are already using interrupts on the Microblaze, it would be
better to connect the timer interrupt to the opb_intc core along with
the other interrupt sources ... see what happens to them for an example.

If it's your only interrupt, you can connect it in the "Ports" tab of
"add/edit cores"; use the same signal name for the opb_timer interrupt
port, and the Microblaze interrupt input port. Or you can edit the "MHS"
file by hand to do the same thing. (Watch what the "Add/Edit Cores" does
to the .mhs file, to see how it is done)

- Brian

- Brian