- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Just wanted to verify the following:
Does the Aclr pin only clear the input and output registers on the component, and leave the contents of the memory in tact? Was just wondering about this before I go ahead and write a loop of reset code to write a 0 value to every address. The Aclr would be an easy way of clearing the memory, but I don't think that is it's intent. Can someone please verify this for me?Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
the ram contents are not cleared
only output registers/latches (not input registers) are cleared in most recent families see page 31: http://www.altera.com/literature/ug/ug_ram_rom.pdf- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
As far as I know, the aclr clears the registers (inputs/outputs/address)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yeah, that's what I thought. So the only way to clear the RAM during runtime is to actually run a loop through all the addresses and write 0's to all of them.
Ok. Thanks for the verification.
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