URL
https://opencores.org/ocsvn/uart_block/uart_block/trunk
[/] [uart_block/] [trunk/] [hdl/] [iseProject/] [testSerial_receiver.vhd] - Diff between revs 2 and 3
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 2 |
Rev 3 |
Line 101... |
Line 101... |
|
|
-- Stop bit here
|
-- Stop bit here
|
serial_in <= '1';
|
serial_in <= '1';
|
wait for baudClk_period * 3;
|
wait for baudClk_period * 3;
|
|
|
|
-- Receive 0x55 value (01010101)
|
|
-- Start bit here
|
|
serial_in <= '0';
|
|
wait for baudClk_period;
|
|
|
|
serial_in <= '1';
|
|
wait for baudClk_period;
|
|
serial_in <= '0';
|
|
wait for baudClk_period;
|
|
serial_in <= '1';
|
|
wait for baudClk_period;
|
|
serial_in <= '0';
|
|
wait for baudClk_period;
|
|
serial_in <= '1';
|
|
wait for baudClk_period;
|
|
serial_in <= '0';
|
|
wait for baudClk_period;
|
|
serial_in <= '1';
|
|
wait for baudClk_period;
|
|
serial_in <= '0';
|
|
wait for baudClk_period;
|
|
|
|
-- Stop bit here
|
|
serial_in <= '1';
|
|
wait for baudClk_period * 3;
|
|
|
-- Stop Simulation
|
-- Stop Simulation
|
assert false report "NONE. End of simulation." severity failure;
|
assert false report "NONE. End of simulation." severity failure;
|
|
|
wait;
|
wait;
|
end process;
|
end process;
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.