- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have a VHDL component, where normally the reset signal is given by pressing a button.
Now I want to use another VHDL component to send the reset signal. The problem is that in a normal button press, the reset signal goes from low to high then back to low. If i were to use a second VHDL component to send the reset signal I would have to set it as high then write to the port again to set it back to low. How long should I wait before i reset the signal to low?Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- How long should I wait before i reset the signal to low? --- Quote End --- In either case, the reset signal should route through a reset synchronizer component, such that the reset output asserts with respect to the relative clock for that reset domain, and asynchronously deasserts. I believe the Quartus handbook has a discussion on this. The reset signal would only need to be active for a short time, i.e., on the order of a few clock periods (which I assume you have as something like 50MHz). Its unlikely that you can toggle an I/O pin that quickly from software, assuming of course that two writes are not pipelined and written on consecutive bus cycles, but in that case you could just write the software to toggle the I/O low, read the register (which ensures the write is complete), and then toggle it high. Cheers, Dave

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