Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[Moved] Uni project, MCU on a FPGA?

Status
Not open for further replies.

Plecto

Full Member level 5
Joined
Jan 4, 2012
Messages
315
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,298
Activity points
4,979
Hi. We've just started with a university project where the idea is to implement a MCU on an Altera DE2 board. We've previously successfully implemented a 32-bit MIPS processor on the FPGA so we are thinking of just using this architecture. The first problem we are facing is the programming part, how to store the assembly code coming from the programmer to the memory on the DE2 board. I know we need to make something like an SPI interface that can handle the incoming serial data and then save it on the 4MB flash on the DE2, but how does the information from the programmer look like? What type of programmer should we use for this purpose?
 

Why don't you use the Nios II? Then you won't have to re-invent the development and programming ecosystem. Or perhaps see if you can incorporate the MIPs processor design into the Altera's EDK environment as a new processor. I know Xilinx allows you to create new embedded IP (including uP) I'm guessing Altera would have something similar.
 

We don't have anything but the DE2. Is this programming ecosystem big? Aren't we just talking about a list of instructions? What's coming out of that programmer exactly?
 

I'm pretty sure that Quartus II has the DE2 as one of the boards it supports.

Which means you can use Altera's EDK tool suite and their embedded development environment, which allows you to build a uP system and add custom IP to the embedded system. This embedded system has IP that can already interface with things like SPI/DDR2/3 SDRAM/etc. Along with a board support package you'll have the benefit of getting bootloaders and such for the system and worked out methods of inserting the boot code into the sof programming file.

The biggest issue is if you can get access to the Altera embedded tool suite, which is a superset of Quartus II.

regards
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top