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.

how to write into ram

Status
Not open for further replies.

deepa

Full Member level 2
Joined
Jul 3, 2005
Messages
127
Helped
3
Reputation
6
Reaction score
2
Trophy points
1,298
Activity points
2,226
can anyone tell me how to write data sequentially into ram,without using the $readmemb command(since it cannot be synthesised) in verilog...i want to know how to read data from a rom and write it into a ram..can anyone suggest a synthesizable way to achieve this
 

you should understand the ram's clock....
 

think u have got some xilinx documentation,if so just refer to the xst in software manuals .there it is given how to initialize rams or write into rams
 

If you are copying to the same addresses, you only need one counter. If you are copying from one address to a different address, you can use two counters, or one counter with an adder.

And then you need a RAM controller (can be state machine) to control the counters and generate the signal timing for RAM writes.
 

deepa, you didn't say which tools you are using. Xilinx ISE 8.1i synthesizes $readmemb and initial. For example:
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top