OpenCores
URL https://opencores.org/ocsvn/spacewire_light/spacewire_light/trunk

Subversion Repositories spacewire_light

[/] [spacewire_light/] [trunk/] [rtl/] [vhdl/] [spwrecv.vhd] - Diff between revs 2 and 4

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 2 Rev 4
Line 131... Line 131...
                -- got a bit transition
                -- got a bit transition
                v.bit_seen  := '1';
                v.bit_seen  := '1';
 
 
                if v.bitcnt(0) = '1' then
                if v.bitcnt(0) = '1' then
                    -- received new token
                    -- received new token
 
                    -- note that this will not happen before null_seen='1'
                    if (v.parity xor v_inbit) = '0' then
                    if (v.parity xor v_inbit) = '0' then
                        -- Parity check failed.
                        -- Parity check failed.
                        v.errpar    := '1';
                        v.errpar    := '1';
                    else
                    else
                        if v.control = '1' then
                        if v.control = '1' then

powered by: WebSVN 2.1.0

© copyright 1999-2020 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.