



openMSP430 instuction set
by bil on Nov 22, 2013 |
bil
Posts: 6 Joined: Aug 30, 2013 Last seen: Feb 9, 2021 |
||
Hi All,
I do apologise if my question seem very basic but I am a total new in FPGA implementation. i would like to ask how i can set the openMSP430 implemented on the FPGA to recognize the full istruction of the MSP430. if there is someone can guide me to do it, i will appreciate any help. best Regards Billel |
RE: openMSP430 instuction set
by richard_vlamynck on Nov 24, 2013 |
richard_vlamynck
Posts: 31 Joined: Sep 15, 2008 Last seen: Jan 24, 2016 |
||
Hi Bil, can you please be more specific, what is the problem? Are you saying that there is an instruction that is not implemented? If so, which instruction is it that is missing? Have you run any software on it already? I used mspgcc and it seemed to work ok.
|
RE: openMSP430 instuction set
by bil on Nov 25, 2013 |
bil
Posts: 6 Joined: Aug 30, 2013 Last seen: Feb 9, 2021 |
||
Hi Richard
The problem not in the verilog instruction, the implementation work correctelly, i mean, if i want to use the openMSP430 i need to run an operating system i side it, how can i do that? As you say how can i run a software as mspgcc in it. Thank you Richard. |
RE: openMSP430 instuction set
by richard_vlamynck on Nov 25, 2013 |
richard_vlamynck
Posts: 31 Joined: Sep 15, 2008 Last seen: Jan 24, 2016 |
||
Hi Billel,
With regards to running software on a soft core CPU inside an FPGA, you should go to the FPGA vendors website and take the on-line training. Altera and Xilinx both have online training that will teach you how to put your blocks and cores into their devices. You will have to learn how to instantiate memory for the openMSP430 using both internal memory within the FPGA and using external memory. Then take the training on programming the FPGA's general purpose i/o. When you have the CPU core, the memory and the i/o, then finally you have a system. With regards to mspgcc, it does not run in the fpga, it is a "cross compiler" that produces binary code specifically for the openMSP430. You need a cross compiler development system what will run on your Windows or DOS or Linux "host" computer. You use the development system to write your software that will run not on the host computer, but on the openMSP430 "target" system. You don't have to run an Operating System on the openMSP430, you could write an embedded system using a simple "polling loop." If you want to run an OS on the openMSP430, then google around the internet for candidates. Avoid the temptation to purchase any hardware. Learn how to use the FPGA simulator tools that come with the free versions of the xilinx and altera tools. You can build a complete working system for openMSP430 and train yourself how to use fpga tools before you need to get any hardware. Good Luck, Richard. |
RE: openMSP430 instuction set
by bil on Nov 26, 2013 |
bil
Posts: 6 Joined: Aug 30, 2013 Last seen: Feb 9, 2021 |
||
Thank you Richard, i will do it, im using xilinx fpga so i hope i can a get a online training.
Thank you again. |



