From eb5f82cb7e7d249e5f2f6682e99e846b8e520bc3 Mon Sep 17 00:00:00 2001 From: Vladimir Burian Date: Tue, 15 Feb 2011 20:54:38 +0100 Subject: [PATCH] Add map of Plasma MIPS RAMs. "ram_xilinx.bmm" was created from "plasma/vhdl/ram_xilinx.bmm" template. --- build/Makefile | 2 +- ram_xilinx.bmm | 24 ++++++++++++++++++++++++ 2 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 ram_xilinx.bmm diff --git a/build/Makefile b/build/Makefile index 7e321f0..de4d9dc 100644 --- a/build/Makefile +++ b/build/Makefile @@ -44,7 +44,7 @@ DEVICE = xc2v1000-fg456 PRJ = ${TOP}.prj UCF = ${TOP}.ucf -BMM = +BMM = ram_xilinx.bmm ELF = SEARCH_DIRS = diff --git a/ram_xilinx.bmm b/ram_xilinx.bmm new file mode 100644 index 0000000..9513f0b --- /dev/null +++ b/ram_xilinx.bmm @@ -0,0 +1,24 @@ +// Mapping of BRAMs used by Plasma MIPS +// in file "ram_xilinx.vhd" +// +// Currently 16 KB are mapped. +//================================================ + +ADDRESS_SPACE plasma_ram RAMB16 [0x0000:0x3fff] + + BUS_BLOCK + plasma_1/u2_ram/block0.ram_byte3 [31:24]; + plasma_1/u2_ram/block0.ram_byte2 [23:16]; + plasma_1/u2_ram/block0.ram_byte1 [15:8]; + plasma_1/u2_ram/block0.ram_byte0 [7:0]; + END_BUS_BLOCK; + + BUS_BLOCK + plasma_1/u2_ram/block1.ram_byte3 [31:24]; + plasma_1/u2_ram/block1.ram_byte2 [23:16]; + plasma_1/u2_ram/block1.ram_byte1 [15:8]; + plasma_1/u2_ram/block1.ram_byte0 [7:0]; + END_BUS_BLOCK; + +END_ADDRESS_SPACE; + -- 2.39.2