[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cse141] Lab#3: create ROM/RAM in Xilinx



CS141L students,

When you start your lab#3, you might have questions on how to create
ROM/RAM in Xilinx. Hope the following instructions helpful.

Q: How to build ROM and RAM in Xilinx?
A: To build ROM and RAM, you could do this:
(1) Go to Schematic Editor->Tools->LogiBLOX Module Generator.
(2) From box "Module Type", choose "memories". Check "ROM" or "RAM". Edit
"Mem File", and input your programs/data into "mem file" manually.
(3) When create ROM/RAM, leave those boxes that you don't use as default
value.
(4) To input your programs into ROM, when you edit the "mem file", you
will need to convert your assembly program in machine code. You will then
need to convert the 8-bit machine code into hexadecimal input. And then
feed this hexadecimal input into "mem file" to generate your ROM.

-Yuanfang Hu, lab TA