#831 enumeration value `IVL_LPM_LATCH' not handled in switch

v0.8
closed-fixed
nobody
5
2010-12-14
2010-12-12
No

When compiling the compiler, the above warning can be seen (repeated below with context):

...
gcc -DHAVE_CVS_IDENT=1 -I. -I./.. -DHAVE_CONFIG_H -fPIC -Wall -g -O2 -MD -c vvp_scope.c -o vvp_scope.o
vvp_scope.c: In function `draw_net_input_drive':
vvp_scope.c:467: warning: enumeration value `IVL_LPM_LATCH' not handled in switch
mv vvp_scope.d dep

Discussion

  • Alan M. Feldstein

    While it is true that I'm the one adding latch support, for my purposes Icarus Verilog simulation is unnecessary. I understand that "vvp" indicates the simulator. I happened to notice this warning scroll by and thought that I might as well leave behind some bread crumbs for other contributors. The bug tracker is the best place for those bread crumbs.

     
  • Cary R.

    Cary R. - 2010-12-14

    I've submitted a patch that fails with a warning when a latch primitive is encountered during vvp code generation. Once latch synthesis is working correctly I'll consider adding an on demand UDP that can be used to simulate the latch primitive. Since this is the mostly abandoned V0.8 branch I don't feel like chasing my tail to keep up with a moving target.

     
  • Cary R.

    Cary R. - 2010-12-14
    • status: open --> closed-fixed
     
  • Cary R.

    Cary R. - 2011-01-01

    I have submitted a patch that adds full support for simulating a latch primitive. This should support all the functionality needed for an LPM latch. This cannot be fully tested since latch synthesis does not currently support generating asynchronous set/clear signals.

     

Log in to post a comment.