OpenCores
no use no use 1/1 no use no use
Starting with or1ksim
by daisordan on Aug 26, 2012
daisordan
Posts: 16
Joined: Aug 6, 2012
Last seen: Mar 21, 2013
Hi, I am new to opencore and I have installed or1ksim using the VirtualBox image by opencores. After I get the xterm windows, i dunno how can i get started? i mean how to use or1ksim? I have look through the user guide and the embecosm websitw but I am too new of linux, I am not quite understand how does it work. Is there any tutorial for or1ksim's newbie? like step by step? I would like to use OpenRISC1200 and write a C program into MEM, compile and do simulation. Therefore I think I need to use OR1kSIM, GNU Toolchain and ORPSOC.
But for the beginning, I wanna run through some tutorial first and understand how does it work. I have tried to google some tutorial for OR1KSIM, but the result are all about the installation.

Could anyone give me a hand for my problem? And I am really sorry about keep asking those newbie questions
Dan

ps: I guess the OpenRISC Ubuntu VirtualBox image is using OR1KSIM-0.5.0rc2?Since it reach at 2011-11-28
RE: Starting with or1ksim
by aikijw on Aug 26, 2012
aikijw
Posts: 76
Joined: Oct 21, 2011
Last seen: Jul 8, 2023
Dan,

So... First... A lack of *nix background is going to continue to be an issue... I'd suggest taking care of that first... There are lots of online resources easily found for this... I think there are even a few O'Reilly books released into the public domain at this point... Unless you're on some kind of schedule, I'd take care of this first... You'll find life much less frustrating...

Second...

Tutorials...

http://www.rte.se/blog/blogg-modesty-corex/index
http://kevinmehall.net/openrisc/guide/

Both quite good...

Best Regards,

/jw



Hi, I am new to opencore and I have installed or1ksim using the VirtualBox image by opencores. After I get the xterm windows, i dunno how can i get started? i mean how to use or1ksim? I have look through the user guide and the embecosm websitw but I am too new of linux, I am not quite understand how does it work. Is there any tutorial for or1ksim's newbie? like step by step? I would like to use OpenRISC1200 and write a C program into MEM, compile and do simulation. Therefore I think I need to use OR1kSIM, GNU Toolchain and ORPSOC.
But for the beginning, I wanna run through some tutorial first and understand how does it work. I have tried to google some tutorial for OR1KSIM, but the result are all about the installation.

Could anyone give me a hand for my problem? And I am really sorry about keep asking those newbie questions
Dan

ps: I guess the OpenRISC Ubuntu VirtualBox image is using OR1KSIM-0.5.0rc2?Since it reach at 2011-11-28
RE: Starting with or1ksim
by daisordan on Aug 27, 2012
daisordan
Posts: 16
Joined: Aug 6, 2012
Last seen: Mar 21, 2013
jw,

Thanks for your help and the rte blog is really helpful
RE: Starting with or1ksim
by svenand on Sep 6, 2012
svenand
Posts: 31
Joined: May 12, 2009
Last seen: May 14, 2014
Glad you like it. I wrote it.
Sven
RE: Starting with or1ksim
by CleberGomes on Apr 8, 2013
CleberGomes
Posts: 14
Joined: Feb 1, 2013
Last seen: Sep 9, 2014
Hello Sven,

My name is Cleber. I am a researcher at the Brazilian Federal Institute of Metrology. We are starting a new field of research on microprocessors, and I just bought the FPGA Development Board from OpenCores with the OpenRISC processor SoC design embedded. I am trying to compile a assembler file to run on the board. I compiled some C files and run them without any problems using:
or32-elf-gcc �mboard=ordb2a cfile.c �o cfile_hw
I, of course, tried something like this for asm files:
or32-elf-as �mboard=ordb2a cfile.c �o cfile_hw
But it didn´t work. Do you know how I can compile asm files for the board? And where I can maybe find some nice examples on a tutorial format? Do you approach the subject in your blog? The other guys on the thread are also welcome with any sugestions, of course, and any help would be appreciated! As I am also new to the subject could we maybe exchange ideas by direct mail? Thanks a lot in advance.
Best regards,
Cleber Gomes.
RE: Starting with or1ksim
by CleberGomes on Apr 8, 2013
CleberGomes
Posts: 14
Joined: Feb 1, 2013
Last seen: Sep 9, 2014
ERRATA:
or32-elf-as �mboard=ordb2a asmfile.S �o asmfile_hw
sorry :-)
no use no use 1/1 no use no use
© copyright 1999-2025 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.