URL
https://opencores.org/ocsvn/spacewire_light/spacewire_light/trunk
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
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.