Line 1... |
Line 1... |
---------------------------------------------------------------------
|
---------------------------------------------------------------------
|
-- TITLE: M-lite CPU core
|
-- TITLE: Plasma CPU core
|
-- AUTHOR: Steve Rhoads (rhoadss@yahoo.com)
|
-- AUTHOR: Steve Rhoads (rhoadss@yahoo.com)
|
-- DATE CREATED: 2/15/01
|
-- DATE CREATED: 2/15/01
|
-- FILENAME: mlite_cpu.vhd
|
-- FILENAME: mlite_cpu.vhd
|
-- PROJECT: M-lite CPU core
|
-- PROJECT: Plasma CPU core
|
-- COPYRIGHT: Software placed into the public domain by the author.
|
-- COPYRIGHT: Software placed into the public domain by the author.
|
-- Software 'as is' without warranty. Author liable for nothing.
|
-- Software 'as is' without warranty. Author liable for nothing.
|
-- NOTE: MIPS(tm) and MIPS I(tm) are registered trademarks of MIPS
|
-- NOTE: MIPS(tm) and MIPS I(tm) are registered trademarks of MIPS
|
-- Technologies. MIPS Technologies does not endorse and is not
|
-- Technologies. MIPS Technologies does not endorse and is not
|
-- associated with this project.
|
-- associated with this project.
|
-- DESCRIPTION:
|
-- DESCRIPTION:
|
-- Top level VHDL document that ties the eight other entities together.
|
-- Top level VHDL document that ties the eight other entities together.
|
-- Executes MIPS(tm) opcodes. Based on information found in:
|
-- Executes most MIPS I(tm) opcodes. Based on information found in:
|
-- "MIPS RISC Architecture" by Gerry Kane and Joe Heinrich
|
-- "MIPS RISC Architecture" by Gerry Kane and Joe Heinrich
|
-- and "The Designer's Guide to VHDL" by Peter J. Ashenden
|
-- and "The Designer's Guide to VHDL" by Peter J. Ashenden
|
-- An add instruction would take the following steps (see cpu.gif):
|
-- An add instruction would take the following steps (see cpu.gif):
|
-- 1. The "pc_next" entity would have previously passed the program
|
-- 1. The "pc_next" entity would have previously passed the program
|
-- counter (PC) to the "mem_ctrl" entity.
|
-- counter (PC) to the "mem_ctrl" entity.
|