Uploaded image for project: 'SURF'
  1. SURF
  2. ESSURF-21

12b14b Decoder disparity error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: resolved
    • Icon: Major Major
    • None
    • None

      I'm using the 12b14b encoder/decoder in a circuit and when I simulate I see a single disparity error out of the decoder which I can't explain. The disparity error occurs after several hundred clock cycles even though the decoded data is correct. My testbench applies a test pattern into the encoder which consists of an incrementing 12bit count value.
      
      Have you seen this problem before? I notice a comment in git about a fix for the disparity function saturating its value. Can you please tell me if the Encoder/Decoder vhdl (attached) which I downloaded from the git surf directory are the latest?
      
      To debug this problem, I created a small testbench (tb.sv in the attached file) which is simply the encoder connected to the decoder with an incrementing count as the data input. This testbench does show the disparity error.  
      
      Thanks,
      Mike 
      
      

          1. decoderSignals.dat
            1 kB
          2. image-2023-07-03-08-54-42-143.png
            image-2023-07-03-08-54-42-143.png
            92 kB
          3. ModelSim disparity error.png
            ModelSim disparity error.png
            456 kB
          4. ssp12b14benc.tar.gz
            19 kB
          5. VCS disparity error.png
            VCS disparity error.png
            151 kB

              bareese Reese, Benjamin A.
              ruckman Larry Ruckman
              Christos Bakalis, Doering, Dionisio, Gupta, Aseem, Larry Ruckman, Lorenzo Rota, Reese, Benjamin A.
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: