EDAboard.com | EDAboard.eu | EDAboard.de | EDAboard.co.uk | RTV forum PL | NewsGroups PL

Reevaluating Always blocks

elektroda.net NewsGroups Forum Index - Verilog Language - Reevaluating Always blocks

Suresh V
Guest

Fri Jul 23, 2010 9:46 pm   



Is there a way to reevaluate the always blocks(any always blocks)
through PLI ??

Please help on my query.

always@(a or b)
in = a or b;
end

Jonathan Bromley
Guest

Tue Jul 27, 2010 11:08 am   



On Jul 23, 7:46 pm, Suresh V <vsuresh...@gmail.com> wrote:
Quote:
Is there a way to reevaluate the always blocks(any always blocks)
through PLI ??

I don't think so. It would require PLI to be able to change the
behaviour of the @() event control. The only way I can imagine
is by changing the value of one of the signals in the sensitivity
list, which would the give you untrustworthy results - you would
probably need to change it back again later, forcing a second
re-evaluation to get back to the right answers.

But I'm fascinated to know why you should want to
do that. What event or action would cause you to
require a new evaluation of the block?
--
Jonathan Bromley

elektroda.net NewsGroups Forum Index - Verilog Language - Reevaluating Always blocks

Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
RTV map EDAboard.com map News map EDAboard.eu map EDAboard.de map EDAboard.co.uk map Opony