URL
https://opencores.org/ocsvn/miniuart2/miniuart2/trunk
Subversion Repositories miniuart2
Compare Revisions
- This comparison shows the changes necessary to convert path
/
- from Rev 9 to Rev 10
- ↔ Reverse comparison
Rev 9 → Rev 10
/trunk/rtl/vhdl/Rxunit.vhd
82,10 → 82,15
RReg(BitPos-2) <= RxD; -- Deserialisation |
end if; |
if SampleCnt = 3 then -- Increment BitPos on 3 |
BitPos := BitPos + 1; |
BitPos := BitPos + 1; |
end if; |
end case; |
sampleCnt := SampleCnt + 1; |
end case; |
if SampleCnt = 3 then -- Optionaly (SampleCnt can be free running) |
SampleCnt := 0; |
else |
sampleCnt := SampleCnt + 1; |
end if; |
|
end if; |
end if; |
end process; |