- use LSB first for UART
- Uart_wb: added generic for default baudrate and fifo depth

git-svn-id: http://moon:8086/svn/vhdl/trunk@1358 cc03376c-175c-47c8-b038-4cd826a8556b
This commit is contained in:
2016-12-21 19:58:11 +00:00
parent e76ab469ca
commit 9a188d8b8a
4 changed files with 23 additions and 5 deletions
+1 -1
View File
@@ -142,7 +142,7 @@ begin
if rst = '1' then
shiftreg <= (others => '0');
elsif shiftreg_en = '1' and bit_sample = '1' and en_16_x_baud = '1' then
shiftreg <= shiftreg(shiftreg'left-1 downto 0) & ser_in;
shiftreg <= ser_in & shiftreg(shiftreg'left downto 1);
end if;
end if;
end process;