Picon

Regarding desgning peripheral libraries



hi

I am trying get to design peripheral library referring to GRIP document for sparcv8 leon3 core processor. The tool chain being used is sparc-elf-gcc executing over TSIM (professional version). Till now, I have tried to develop program for accessing APBUART register addresses through memory mapping but could not get it to work properly. Could anyone please assist me on the same regarding what should be my approach to design my own peripheral library?

Thanks and regards,

-Sameer






__._,_.___
Posted by: Sameer Huddar <sam_huddar-/E1597aS9LQxFYw1CcD5bw@public.gmane.org>



__,_._,___
Picon

IU in error mode [1 Attachment]



Hello, I am getting the following error while running standalone.exe

IU in error mode. (tt= 0x08, fp exception)


Snapshot of the error is attached. 



__._,_.___ View attachments on the web
Posted by: apurv.vasal-/E1597aS9LQAvxtiuMwx3w@public.gmane.org



__,_._,___
Picon

read data from uart



hello,


how to read incoming  data  coming to kintex 705 UART in leon3.


Regards 

Krunal



__._,_.___
Posted by: krunal.kolhatkar-jtpRmYsQNJU@public.gmane.org



__,_._,___
Picon

TMR on Leon



Hello,

I currently have a Leon3 working with 4 CPUs on an Artix-7 board.  I would like to know if there is a way to modify the architecture so that I can have three of the CPUs all running the same instructions at the same time, so that I can have redundancy and use a voter to decide on the correct output (triple modular redundancy).  The output/voter part seems fairly straightforward but I am confused regarding how to send the same line of instruction to multiple processors for execution.  It seems that this may require modification of either the ahbctrl.vhd file, or else the leon3x.vhd file.  Thanks in advance for any help or pointers in the right direction.

Thank you,
elpenmaster

__._,_.___
Posted by: dlturner-Bp11XsR9O9o@public.gmane.org



__,_._,___
Picon

How to configure 16 cores



Hi Jiri,

Thank you for your fast reply.
Is it possible to create a second AHB Bus with another 4 cores?

T he reason why I want to use more than 4 cores is, that I want to investigate a Dark Silicon Scenario with the Leon3. Therefore as many cores as possible would be nice.


__._,_.___
Posted by: Patrick Schmale <patrick.schmale-/E1597aS9LQAvxtiuMwx3w@public.gmane.org>



__,_._,___
Picon

How to configure 16 cores



Hi all,

I am using the Leon3 ASIC design and want to synthesize a multicore system with 16 cores using Synopsis design compiler.
Until now I was just able to configure 4 cores with the xconfig. If I insert a higher number to CFG_NCPU the make script ends up with the following error: 

Error:  ./leon3mp.vhd:301: Array index out of bounds ahbmo[16], valid bounds are [15 downto 0]. (ELAB-298)

I think, there is a limitation of the AHB-Bus to support only 16 slaves, but I don't know how to extend the bus.
An example configuration with more than 4 cores would be very nice.

Thanks for your help & kind regards,
Patrick
 


__._,_.___
Posted by: Patrick Schmale <patrick.schmale-/E1597aS9LQAvxtiuMwx3w@public.gmane.org>



__,_._,___
Picon

Booting linux on Leon3 under QEMU

Hi all,

Has anyone had success in booting linux on Linux using the Leon3 CPU
model?

I've tried several images: a few from from buildroot (both current
and the ones in gaisler's website), and also the one I'm
running on an FPGA.

All I get in QEMU is either no progress at all (no printouts; I see
some guest memory accesses and then a call to exit), or simply
"Bad ram pointer (nil)" and then abort().

Note that I have tried with and without some patches that were
sent to the QEMU mailing list but never made it upstream.[1]

If anyone has suggestions on what images or qemu parameters
to try, I'd really appreciate hearing them.

Thanks,

                Emilio

[1] http://comments.gmane.org/gmane.comp.emulators.qemu/301104

------------------------------------
Posted by: "Emilio G. Cota" <cota@...>
------------------------------------

------------------------------------

Yahoo Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/LEON_SPARC/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/LEON_SPARC/join
    (Yahoo! ID required)

<*> To change settings via email:
    LEON_SPARC-digest@... 
    LEON_SPARC-fullfeatured@...

<*> To unsubscribe from this group, send an email to:
    LEON_SPARC-unsubscribe@...

<*> Your use of Yahoo Groups is subject to:
    https://info.yahoo.com/legal/us/yahoo/utos/terms/

Picon

Error when compiling systest.c [1 Attachment]



Hello, while compiling systest.c (using make), i am getting the following error
undefined reference to 'report_start'
undefined reference to 'base_test'
undefined reference to 'report_end'

Similar type of errors, i am getting while compiling leon3_test.c

What could be the reason for this?


__._,_.___ View attachments on the web
Posted by: apurv.vasal-/E1597aS9LQAvxtiuMwx3w@public.gmane.org



__,_._,___
Picon

error while compiling apbuart.c [1 Attachment]



hello, I want to test the uart communication between the leon3 processor on kc705 board and PC and receive the data on hyperterminal 

I am trying to compile apbuart.c which comes along with grlib but i am getting following error


undefined refrence  to 'report device'

undefined refrence  to 'fail'


I have also attached the snapshot of the error


Regards

Krunal

 




__._,_.___ View attachments on the web
Posted by: krunal.kolhatkar-jtpRmYsQNJU@public.gmane.org



__,_._,___
Picon

Re: Fw: leon eclipse prob

somebody please help me also...what are the implications if the example design does not meet timing
constraint as expected in readme.txt of the design? will application code not work properly? 

------------------------------------
Posted by: Pramod Mishra <pramod.mishra2210@...>
------------------------------------

------------------------------------

Yahoo Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/LEON_SPARC/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/LEON_SPARC/join
    (Yahoo! ID required)

<*> To change settings via email:
    LEON_SPARC-digest@... 
    LEON_SPARC-fullfeatured@...

<*> To unsubscribe from this group, send an email to:
    LEON_SPARC-unsubscribe@...

<*> Your use of Yahoo Groups is subject to:
    https://info.yahoo.com/legal/us/yahoo/utos/terms/

Picon

Passing command line argument to a testbench on leon3



Hi Jiri,

I am trying to run a testbench compress.c on leon3. It uses a command line argument "compress.txt". "compress.txt" is a file which stores the input to the program. But I am not able to figure out how to pass compress.txt file when chip will run the executable. Please help.

PS : I have copied this testbench in systest.c and by using "make soft" which gives sram.srec. Now for compilation I used
fuse -intstyle ise -incremental -o project/designs/leon3mp/testbench_isim_beh.exe -prj project/designs/leon3mp/testbench_beh.prj "work.testbench"
./testbench_isim_beh.exe -intstyle ise -tclbatch isim.cmd

Regards
Neetu



__._,_.___
Posted by: Neetu Jindal <jindalneetu28-/E1597aS9LQAvxtiuMwx3w@public.gmane.org>



__,_._,___

Gmane