URL
https://opencores.org/ocsvn/mlite/mlite/trunk
[/] [mlite/] [trunk/] [vhdl/] [ram_xilinx.vhd] - Diff between revs 139 and 181
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 139 |
Rev 181 |
Line 10... |
Line 10... |
-- Implements the RAM for Spartan 3 Xilinx FPGA
|
-- Implements the RAM for Spartan 3 Xilinx FPGA
|
--
|
--
|
-- Compile the MIPS C and assembly code into "text.exe".
|
-- Compile the MIPS C and assembly code into "text.exe".
|
-- Run convert.exe to change "text.exe" to "code.txt" which
|
-- Run convert.exe to change "text.exe" to "code.txt" which
|
-- will contain the hex values of the opcodes.
|
-- will contain the hex values of the opcodes.
|
-- Next run "run_image ram_xilinx.vhd code.txt ram_image.vhd",
|
-- Next run "ram_image ram_xilinx.vhd code.txt ram_image.vhd",
|
-- to create the "ram_image.vhd" file that will have the opcodes
|
-- to create the "ram_image.vhd" file that will have the opcodes
|
-- corectly placed inside the INIT_00 => strings.
|
-- correctly placed inside the INIT_00 => strings.
|
-- Then include ram_image.vhd in the simulation/synthesis.
|
-- Then include ram_image.vhd in the simulation/synthesis.
|
---------------------------------------------------------------------
|
---------------------------------------------------------------------
|
library ieee;
|
library ieee;
|
use ieee.std_logic_1164.all;
|
use ieee.std_logic_1164.all;
|
use ieee.std_logic_misc.all;
|
use ieee.std_logic_misc.all;
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.