Download Honours Project
Transcript
Abstract This report covers implementation of a simple 8-bit microprocessor in a FPGA, the design is made as an emulated standard 8051 microcontroller. It is build based on the free PicoBlazeTM IP Core from Xilinx, containing a Special Function Register which is specifically chosen for this microcontroller. BGEPB1 is short for (BG-Electronic PicoBlaze version 1). The microcontroller is implemented with parallels input and output ports (I/O ports), serial UART, timers and interrupts. The microcontroller interface is programmed in VHDL and the test programs for the microcontroller are made in C-code language using the PCCOMP compiler by Francesco Poderico. Tested in both ModelSim, a simulating tool, and in practical on the development board named Spartan-3 starter kit from Xilinx using the FPGA XC3S200. The second part of the report is regarding the design of a CAN bus hardware interface for the development board and a CAN VHDL interface for transmitting data through the CAN bus level converter out on to the CAN bus. The last part of the report is a setup guide for the software used to implemented and design new VHDL function. Benjamin Grydehoej (04007714) – BEng (Honours) Electronic and Computer Engineering -3-