Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[SOLVED] ROM implementation on FPGA

Status
Not open for further replies.

mrflibble

Advanced Member level 5
Advanced Member level 5
Joined
Apr 19, 2010
Messages
2,720
Helped
679
Reputation
1,360
Reaction score
652
Trophy points
1,393
Activity points
19,551
Did you find the datasheet pdf that goes with that ip core? It usually mentions how to provide initial values and such.
 

vlsi_whiz

Full Member level 4
Full Member level 4
Joined
Nov 12, 2005
Messages
216
Helped
49
Reputation
98
Reaction score
24
Trophy points
1,298
Location
Penang
Activity points
3,139
If you're using Xilinx IP, then when you generate the IP core using coregen, you can add the initial values via the coregen itself. You may need the values in a hex format or any other one specified by Xilinx. You can get this information from the ISe user guide as well as the cores user guide.
 

imbichie

Full Member level 6
Full Member level 6
Joined
Jul 30, 2010
Messages
381
Helped
55
Reputation
110
Reaction score
54
Trophy points
1,308
Location
Cochin/ Kerala/ India or Bangalore/ Karnataka/ Ind
Activity points
3,580
When you are generating the IP, there is an option to load the initial values which are in a *.ini or *.hex file.
You can choose the file (the data width and depth need to take care) and load the data.
 

Analog Ground

Full Member level 4
Full Member level 4
Joined
Nov 22, 2013
Messages
191
Helped
55
Reputation
110
Reaction score
55
Trophy points
28
Location
Vermont, USA
Activity points
1,345
With Altera Quartus II, a ROM is instantiated with a Megafunction. An "mif" file is commonly used to specify the contents and defined as a parameter for the ROM.
 

ahmad1954

Full Member level 4
Full Member level 4
Joined
Jun 30, 2012
Messages
192
Helped
26
Reputation
52
Reaction score
26
Trophy points
1,308
Activity points
2,102
when you define block ram with coregen, you can put a file with coe extension for initial value. there is a similar way for rom.
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top