Re: [myhdl-list] Can't compare Signal(enum)
Brought to you by:
jandecaluwe
From: Edward V. <dev...@sb...> - 2014-07-29 16:54:27
|
Chris In the stimulus the first loop was 3. I changed it to finally 17 and now increases but the state remained at IDLE see below. With the now print("%8d %s" % (now(), pix)) instead of print(pix) this what I getting. python add_shift.py this is with 3 70 IDLE 550 IDLE 830 IDLE 1110 IDLE [vidal@ws009 ipython_fixbv]$ python add_shift.py this is with 5 110 IDLE 590 IDLE 870 IDLE 1150 IDLE [vidal@ws009 ipython_fixbv]$ python add_shift.py this is with 7 150 IDLE 630 IDLE 910 IDLE 1190 IDLE [vidal@ws009 ipython_fixbv]$ python add_shift.py this is with 17 350 IDLE 830 IDLE 1110 IDLE 1390 IDLE The delay is longer than test code. This what I get in the test code. python t_x.py 0 IDLE 1 UPDATE_SAMPLE 2 TRANSFER_OUT 3 TRANSFER_IN Regards Edward Vidal Jr. e-mail dev...@sb... 915-595-1613 On Tuesday, July 29, 2014 6:59 AM, Christopher Felton <chr...@gm...> wrote: On 7/29/2014 4:43 AM, Thomas Heller wrote: > Am 28.07.2014 17:26, schrieb Christopher Felton: >> On 7/28/2014 7:08 AM, Thomas Heller wrote: >>> I cannot compare signals containing enum instances; this looks like a >>> bug to me: >> Yes, I would agree this is unexpected behavior. > [...] > >> This should be added as an issue in the repo tracker [2]. > > Done: https://bitbucket.org/jandecaluwe/myhdl/issue/9/ Perfect, thanks! ------------------------------------------------------------------------------ Infragistics Professional Build stunning WinForms apps today! Reboot your WinForms applications with our WinForms controls. Build a bridge from your legacy apps to the future. http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk _______________________________________________ myhdl-list mailing list myh...@li... https://lists.sourceforge.net/lists/listinfo/myhdl-list |