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

Subversion Repositories p9813_rgb_led_string_driver

[/] [p9813_rgb_led_string_driver/] [trunk/] [rtl/] [VHDL/] [testbench/] [rs232_test_in.txt] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 jclaytons
-- Simulation Input File
2
-- For "sim_uart_control_port"
3
--
4
-- u = UART transmit data
5
-- 
6
--
7
-- Format:
8
--
9
-- u 
10
-- A single Carriage Return is sent at the end of each line (at the ';' character)
11
-- Currently, Backspace and other "special characters" are not supported,
12
-- although "uart_control_port" can certainly be used to send those.
13
 
14
-- This set of commands is useful to verify operation of the system controller module.
15
--d  10 us;             -- Delay
16
--u 300 us ;            --  (Allows autobaud to obtain lock on baud rate.)
17
--u 300 us i;           -- i
18
--u 600 us r 00;        -- read in src region, qty unspecified. (POR default is used.)
19
--u 600 us r 00 2;      -- read in src region
20
--u 600 us r 10 2;      -- read in dst region
21
--u 600 us r;           -- read in dst region, use same qty as previous command, with sequential address.
22
--u 2.1 ms r 00 31;     -- read across src, dst, misc and beyond, resulting in bus error message
23
--u 300 us f 14 55 4;   -- fill in dst region
24
--u 300 us f 18 AA 4;   -- fill
25
--u 300 us w 1c 01 23;  -- write
26
--u 300 us w 00 45 67;  -- write
27
--u 300 us y 0r 45 67;  -- write, should cause "c?" message
28
--u 300 us w 0r 45 67;  -- write, should cause "a?" message
29
--u 300 us w 00 t5 67;  -- write, should cause "d?" message
30
--u 300 us f 00 45 67;  -- fill, should cause "q?" message
31
 
32
-- This set of commands is useful to exercise the module under test
33
--d 2.0 ms ;            -- Delay to allow for incoming initialization strings
34
d  10 us;             -- Delay
35
u 0.3 ms ;            --  (Allows autobaud to obtain lock on baud rate.)
36
--u 4.5 ms r 5000001 8; -- Read from SPI Flash in memory mapped fashion
37
--u 4.5 ms w 5000002 0 1 2 3; -- Write to SPI Flash in memory mapped fashion
38
--u 0.5 ms w 300fff7 a; -- Select SPI Flash Interface function
39
--u 0.5 ms w 300ffc3 7f0000; -- Set ram mapping address register
40
--u 1.5 ms w 300ffc5 5; -- Erase a sector
41
--u 4.5 ms r 5000001 8; -- Read from SPI Flash in memory mapped fashion
42
--u 0.5 ms w 300ffc0 0 3 7f0000;
43
--u 1.4 ms r 300ffc0 7; -- Read SPI bytes
44
--u 0.6 ms w 300ffc0 1; -- Finish SPI command
45
--u 0.3 ms w 10100 100; -- Send ARP request (test)
46
--u 0.3 ms w 10100 100; -- Send ARP request (test)
47
--
48
 

powered by: WebSVN 2.1.0

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