



Assembler files on the FPGA Development Board
by CleberGomes on Apr 8, 2013 |
CleberGomes
Posts: 14 Joined: Feb 1, 2013 Last seen: Sep 9, 2014 |
||
Hello Everybody,
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 asmfile.S �o asmfile_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? Any help would be appreciated! Thanks a lot in advance. Best regards, Cleber Gomes. |
RE: Assembler files on the FPGA Development Board
by jeremybennett on Apr 10, 2013 |
jeremybennett
Posts: 815 Joined: May 29, 2008 Last seen: Jun 13, 2019 |
||
Hi Cleber, Could you post the output you get when you run the command. The post got a big mangled, but I think the command you were trying to run was or32-elf-gcc -mboard=ordb2a cfile.c -o cfile_hw Best wishes, Jeremy |
RE: Assembler files on the FPGA Development Board
by CleberGomes on Apr 11, 2013 |
CleberGomes
Posts: 14 Joined: Feb 1, 2013 Last seen: Sep 9, 2014 |
||
Hi Jeremmy,
Yes, that's it. I was finally able to compile both .s and .c files for the board using or32-elf-gcc. Will be adding the outputs later on. Thanks! Cleber. |



