- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I used QSYS to generate a system containing on-chip RAM. I'm having trouble writing data into the RAM. I'm not sure if I just don't understand the proper writing process, but I've just been setting the writedata port to the data I want to write, setting the address port to the address I want to write and then pulsing the write port. I've had no success this this. I am able to read data from the RAM without any problems so I believe I've ruled out a possible addressing issue. Any suggestions?Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Are you supplying a clock to your on-chip RAM? You mention everything else - which all sounds correct. Present address and data. Then drive 'wren' high for one clock cycle. That will result in the write you want.
Depending on how you've configured your RAM the data you read may not be dependant on a clock, which (might be) why it works. Regards, Alex
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page