Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic 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.

Register Log in

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
how to write into sram

without using the $readmemb command ,can anyone suggesy how to read data from a rom to a ram...i want to realise this step in the hardware,not to read form a text file n load it...i want to write a code ,such that it depicts the exact manner in which ram's and rom's in our system communicate...how to do this?
 

anjali

Full Member level 3
Joined
Aug 16, 2005
Messages
173
Helped
14
Reputation
28
Reaction score
6
Trophy points
1,298
Activity points
3,033
model the memory block. then write RTL to generate addr, data, control lines to that memory.
 

aravind

Advanced Member level 1
Joined
Jun 29, 2004
Messages
487
Helped
45
Reputation
94
Reaction score
18
Trophy points
1,298
Location
india
Activity points
3,597
anjali ur correct
can u please give me any simple example codes
 

blanket

Junior Member level 3
Joined
Jan 14, 2003
Messages
28
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,281
Activity points
310
You can structurally model the memory with a set of flip flops - that's the maximum extent of hardware representation you can do for the SRAMs because SRAM structures are fairly analog (with bit lines and sense amplifiers). Then use the enables of flops to allow the load value or use output enable to read out of the flops to represent memory function. Hope that clarifies
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top