- Отметить как новое
- Закладка
- Подписаться
- Отключить
- Подписка на RSS-канал
- Выделить
- Печать
- Сообщить о недопустимом содержимом
Hi,
I want to reset the LPM_COUNTER on positive edge of an input pin. For example when the input signal rises to logic ‘1’, I want the counter to reset to zero and start counting, and don’t stuck at reset state while the input signal is still logic ’1’. I'm not sure if i should design an custom counter or i can use the LPM_COUNTER with some additional logic combination attached to the reset input. I'm kind of new in this area. Please give me some suggestions.Ссылка скопирована
1 Ответить
- Отметить как новое
- Закладка
- Подписаться
- Отключить
- Подписка на RSS-канал
- Выделить
- Печать
- Сообщить о недопустимом содержимом
--- Quote Start --- Hi, I want to reset the LPM_COUNTER on positive edge of an input pin. For example when the input signal rises to logic ‘1’, I want the counter to reset to zero and start counting, and don’t stuck at reset state while the input signal is still logic ’1’. I'm not sure if i should design an custom counter or i can use the LPM_COUNTER with some additional logic combination attached to the reset input. I'm kind of new in this area. Please give me some suggestions. --- Quote End --- depends on what you mean by edge try this: clocked process reset_d <= reset; ... reset_final <= reset and not reset_d; would give you one pulse of reset (one clock period)

Ответить
Параметры темы
- Подписка на RSS-канал
- Отметить тему как новую
- Отметить тему как прочитанную
- Выполнить отслеживание данной Тема для текущего пользователя
- Закладка
- Подписаться
- Страница в формате печати