mirror of
https://github.com/Klagarge/Cursor.git
synced 2025-06-26 04:12:31 +00:00
Initial commit
This commit is contained in:
45
Libs/Lcd_test/sim/lcdController.do
Normal file
45
Libs/Lcd_test/sim/lcdController.do
Normal file
File diff suppressed because one or more lines are too long
71
Libs/Lcd_test/sim/lcdDemo.do
Normal file
71
Libs/Lcd_test/sim/lcdDemo.do
Normal file
@ -0,0 +1,71 @@
|
||||
onerror {resume}
|
||||
quietly WaveActivateNextPane {} 0
|
||||
add wave -noupdate /lcddemo_tb/reset
|
||||
add wave -noupdate /lcddemo_tb/clock
|
||||
add wave -noupdate -divider Controls
|
||||
add wave -noupdate -radix hexadecimal /lcddemo_tb/leds
|
||||
add wave -noupdate -radix hexadecimal /lcddemo_tb/buttons
|
||||
add wave -noupdate -divider UART
|
||||
add wave -noupdate -radix hexadecimal /lcddemo_tb/i_dut/dataout
|
||||
add wave -noupdate -radix hexadecimal /lcddemo_tb/i_dut/datavalid
|
||||
add wave -noupdate -divider Test
|
||||
add wave -noupdate -radix hexadecimal /lcddemo_tb/i_dut/send_int
|
||||
add wave -noupdate -radix hexadecimal /lcddemo_tb/i_dut/busy_int
|
||||
add wave -noupdate -radix hexadecimal /lcddemo_tb/i_dut/ascii_int
|
||||
add wave -noupdate -divider {ASCII data}
|
||||
add wave -noupdate -radix hexadecimal /lcddemo_tb/i_dut/ascii
|
||||
add wave -noupdate -radix hexadecimal /lcddemo_tb/i_dut/send
|
||||
add wave -noupdate -radix hexadecimal /lcddemo_tb/i_dut/busy
|
||||
add wave -noupdate -divider Encoder
|
||||
add wave -noupdate -radix hexadecimal /lcddemo_tb/i_dut/i_lcd/i_font/asciisend
|
||||
add wave -noupdate -radix hexadecimal /lcddemo_tb/i_dut/i_lcd/i_font/asciibusy
|
||||
add wave -noupdate -radix hexadecimal /lcddemo_tb/i_dut/i_lcd/i_font/asciidata
|
||||
add wave -noupdate -radix unsigned /lcddemo_tb/i_dut/i_lcd/i_font/asciibitnb
|
||||
add wave -noupdate -radix unsigned /lcddemo_tb/i_dut/i_lcd/i_font/lcdcolumnnb
|
||||
add wave -noupdate -radix unsigned /lcddemo_tb/i_dut/i_lcd/i_font/lcddatabitnb
|
||||
add wave -noupdate -radix unsigned /lcddemo_tb/i_dut/i_lcd/i_font/lcdpagenb
|
||||
add wave -noupdate -radix unsigned /lcddemo_tb/i_dut/i_lcd/i_font/fontrownb
|
||||
add wave -noupdate -radix unsigned /lcddemo_tb/i_dut/i_lcd/i_font/fontcolumnnb
|
||||
add wave -noupdate -radix hexadecimal /lcddemo_tb/i_dut/i_lcd/i_font/fontdisplaystate
|
||||
add wave -noupdate -radix hexadecimal /lcddemo_tb/i_dut/i_lcd/i_font/asciicolumncounter
|
||||
add wave -noupdate -radix unsigned /lcddemo_tb/i_dut/i_lcd/i_font/columncounter
|
||||
add wave -noupdate -radix unsigned /lcddemo_tb/i_dut/i_lcd/i_font/pagecounter
|
||||
add wave -noupdate -radix unsigned /lcddemo_tb/i_dut/i_lcd/i_font/pixeloffset
|
||||
add wave -noupdate -radix hexadecimal /lcddemo_tb/i_dut/i_lcd/i_font/pixeldata
|
||||
add wave -noupdate -radix hexadecimal /lcddemo_tb/i_dut/i_lcd/i_font/a0
|
||||
add wave -noupdate -radix hexadecimal /lcddemo_tb/i_dut/i_lcd/i_font/cleardisplay
|
||||
add wave -noupdate -radix hexadecimal /lcddemo_tb/i_dut/i_lcd/i_font/lcdsend
|
||||
add wave -noupdate -radix hexadecimal /lcddemo_tb/i_dut/i_lcd/i_font/lcdbusy
|
||||
add wave -noupdate -radix hexadecimal /lcddemo_tb/i_dut/i_lcd/i_font/lcddata
|
||||
add wave -noupdate -divider Initialization
|
||||
add wave -noupdate /lcddemo_tb/i_dut/i_lcd/i_init/cleardisplay
|
||||
add wave -noupdate /lcddemo_tb/i_dut/i_lcd/i_init/initsequencedone
|
||||
add wave -noupdate -radix unsigned /lcddemo_tb/i_dut/i_lcd/i_init/initsequencecounter
|
||||
add wave -noupdate /lcddemo_tb/i_dut/i_lcd/i_init/clearsequencedone
|
||||
add wave -noupdate -radix unsigned /lcddemo_tb/i_dut/i_lcd/i_init/clearsequencecounter
|
||||
add wave -noupdate -radix hexadecimal /lcddemo_tb/i_dut/i_lcd/lcdsend
|
||||
add wave -noupdate -radix hexadecimal /lcddemo_tb/i_dut/i_lcd/lcdbusy
|
||||
add wave -noupdate -radix hexadecimal /lcddemo_tb/i_dut/i_lcd/lcddata
|
||||
add wave -noupdate -divider LCD
|
||||
add wave -noupdate /lcddemo_tb/rst_n
|
||||
add wave -noupdate /lcddemo_tb/a0
|
||||
add wave -noupdate /lcddemo_tb/cs1_n
|
||||
add wave -noupdate /lcddemo_tb/scl
|
||||
add wave -noupdate /lcddemo_tb/si
|
||||
TreeUpdate [SetDefaultTree]
|
||||
WaveRestoreCursors {{Cursor 1} {0 ps} 0}
|
||||
configure wave -namecolwidth 350
|
||||
configure wave -valuecolwidth 58
|
||||
configure wave -justifyvalue left
|
||||
configure wave -signalnamewidth 0
|
||||
configure wave -snapdistance 10
|
||||
configure wave -datasetprefix 0
|
||||
configure wave -rowmargin 4
|
||||
configure wave -childrowmargin 2
|
||||
configure wave -gridoffset 0
|
||||
configure wave -gridperiod 1
|
||||
configure wave -griddelta 40
|
||||
configure wave -timeline 0
|
||||
configure wave -timelineunits us
|
||||
update
|
||||
WaveRestoreZoom {0 ps} {31265344 ps}
|
128
Libs/Lcd_test/sim/lcdFont.txt
Normal file
128
Libs/Lcd_test/sim/lcdFont.txt
Normal file
@ -0,0 +1,128 @@
|
||||
111000111011000000010000000000001110001111100011
|
||||
111000111011000000010000000000001110001111100011
|
||||
111000111011000000010000000000001110001111100011
|
||||
111000111011000000010000000000001110001111100011
|
||||
111000111011000000010000000000001110001111100011
|
||||
111000111011000000010000000000001110001111100011
|
||||
111000111011000000010000000000001110001111100011
|
||||
111000111011000000010000000000001110001111100011
|
||||
111000111011000000010000000000001110001111100011
|
||||
111000111011000000010000000000001110001111100011
|
||||
111000111011000000010000000000001110001111100011
|
||||
111000111011000000010000000000001110001111100011
|
||||
111000111011000000010000000000001110001111100011
|
||||
111000111011000000010000000000001110001111100011
|
||||
111000111011000000010000000000001110001111100011
|
||||
111000111011000000010000000000001110001111100011
|
||||
111000111011000000010000000000001110001111100011
|
||||
111000111011000000010000000000001110001111100011
|
||||
111000111011000000010000000000001110001111100011
|
||||
111000111011000000010000000000001110001111100011
|
||||
111000111011000000010000000000001110001111100011
|
||||
111000111011000000010000000000001110001111100011
|
||||
111000111011000000010000000000001110001111100011
|
||||
111000111011000000010000000000001110001111100011
|
||||
111000111011000000010000000000001110001111100011
|
||||
111000111011000000010000000000001110001111100011
|
||||
111000111011000000010000000000001110001111100011
|
||||
111000111011000000010000000000001110001111100011
|
||||
111000111011000000010000000000001110001111100011
|
||||
111000111011000000010000000000001110001111100011
|
||||
111000111011000000010000000000001110001111100011
|
||||
111000111011000000010000000000001110001111100011
|
||||
000000000000000000000000000000000000000000000000
|
||||
000000000000000001001111000000000000000000000000
|
||||
000000000000011100000000000001110000000000000000
|
||||
000101000111111100010100011111110001010000000000
|
||||
001001000010101001111111001010100001001000000000
|
||||
001000110001001100001000011001000110001000000000
|
||||
001101100100100101010101001000100101000000000000
|
||||
000000000000010100000011000000000000000000000000
|
||||
000000000001110000100010010000010000000000000000
|
||||
000000000100000100100010000111000000000000000000
|
||||
000101000000100000111110000010000001010000000000
|
||||
000010000000100000111110000010000000100000000000
|
||||
000000000101000000110000000000000000000000000000
|
||||
000010000000100000001000000010000000100000000000
|
||||
000000000110000001100000000000000000000000000000
|
||||
001000000001000000001000000001000000001000000000
|
||||
001111100101000101001001010001010011111000000000
|
||||
000000000100001001111111010000000000000000000000
|
||||
010000100110000101010001010010010100011000000000
|
||||
001000010100000101000101010010110011000100000000
|
||||
000110000001010000010010011111110001000000000000
|
||||
001001110100010101000101010001010011100100000000
|
||||
001111000100101001001001010010010011000000000000
|
||||
000000010111000100001001000001010000001100000000
|
||||
001101100100100101001001010010010011011000000000
|
||||
000001100100100101001001001010010001111000000000
|
||||
000000000011011000110110000000000000000000000000
|
||||
000000000101011000110110000000000000000000000000
|
||||
000010000001010000100010010000010000000000000000
|
||||
000101000001010000010100000101000001010000000000
|
||||
000000000100000100100010000101000000100000000000
|
||||
000000100000000101010001000010010000011000000000
|
||||
001100100100100101111001010000010011111000000000
|
||||
011111100001000100010001000100010111111000000000
|
||||
011111110100100101001001010010010011011000000000
|
||||
001111100100000101000001010000010010001000000000
|
||||
011111110100000101000001001000100001110000000000
|
||||
011111110100100101001001010010010100000100000000
|
||||
011111110000100100001001000010010000000100000000
|
||||
001111100100000101001001010010010111101000000000
|
||||
011111110000100000001000000010000111111100000000
|
||||
000000000100000101111111010000010000000000000000
|
||||
001000000100000001000001001111110000000100000000
|
||||
011111110000100000010100001000100100000100000000
|
||||
011111110100000001000000010000000100000000000000
|
||||
011111110000001000001100000000100111111100000000
|
||||
011111110000010000001000000100000111111100000000
|
||||
001111100100000101000001010000010011111000000000
|
||||
011111110000100100001001000010010000011000000000
|
||||
001111100100000101010001001000010101111000000000
|
||||
011111110000100100011001001010010100011000000000
|
||||
010001100100100101001001010010010011000100000000
|
||||
000000010000000101111111000000010000000100000000
|
||||
001111110100000001000000010000000011111100000000
|
||||
000111110010000001000000001000000001111100000000
|
||||
001111110100000000111000010000000011111100000000
|
||||
011000110001010000001000000101000110001100000000
|
||||
000001110000100001110000000010000000011100000000
|
||||
011000010101000101001001010001010100001100000000
|
||||
000000000111111101000001010000010000000000000000
|
||||
000101010001011001111100000101100001010100000000
|
||||
000000000100000101000001011111110000000000000000
|
||||
000001000000001000000001000000100000010000000000
|
||||
010000000100000001000000010000000100000000000000
|
||||
000000000000000100000010000001000000000000000000
|
||||
001000000101010001010100010101000111100000000000
|
||||
011111110100100001000100010001000011100000000000
|
||||
001110000100010001000100010001000010000000000000
|
||||
001110000100010001000100010010000111111100000000
|
||||
001110000101010001010100010101000001100000000000
|
||||
000010000111111000001001000000010000001000000000
|
||||
000011000101001001010010010100100011111000000000
|
||||
011111110000100000000100000001000111100000000000
|
||||
000000000100010001111101010000000000000000000000
|
||||
001000000100000001000100001111010000000000000000
|
||||
011111110001000000101000010001000000000000000000
|
||||
000000000100000101111111010000000000000000000000
|
||||
011111000000010000011000000001000111100000000000
|
||||
011111000000100000000100000001000111100000000000
|
||||
001110000100010001000100010001000011100000000000
|
||||
011111000001010000010100000101000000100000000000
|
||||
000010000001010000010100000110000111110000000000
|
||||
011111000000100000000100000001000000100000000000
|
||||
010010000101010001010100010101000010000000000000
|
||||
000001000011111101000100010000000010000000000000
|
||||
001111000100000001000000001000000111110000000000
|
||||
000111000010000001000000001000000001110000000000
|
||||
001111000100000000110000010000000011110000000000
|
||||
010001000010100000010000001010000100010000000000
|
||||
000011000101000001010000010100000011110000000000
|
||||
010001000110010001010100010011000100010000000000
|
||||
000000000000100000110110010000010000000000000000
|
||||
000000000000000001111111000000000000000000000000
|
||||
000000000100000100110110000010000000000000000000
|
||||
000010000000100000101010000111000000100000000000
|
||||
000010000001110000101010000010000000100000000000
|
43
Libs/Lcd_test/sim/lcdSerializer.do
Normal file
43
Libs/Lcd_test/sim/lcdSerializer.do
Normal file
@ -0,0 +1,43 @@
|
||||
onerror {resume}
|
||||
quietly WaveActivateNextPane {} 0
|
||||
add wave -noupdate -expand -group {Reset and clock} /lcddemo_tb/reset
|
||||
add wave -noupdate -expand -group {Reset and clock} /lcddemo_tb/clock
|
||||
add wave -noupdate -group {Buttons and LEDs} -radix hexadecimal -childformat {{/lcddemo_tb/buttons(1) -radix hexadecimal} {/lcddemo_tb/buttons(2) -radix hexadecimal} {/lcddemo_tb/buttons(3) -radix hexadecimal} {/lcddemo_tb/buttons(4) -radix hexadecimal}} -expand -subitemconfig {/lcddemo_tb/buttons(1) {-height 16 -radix hexadecimal} /lcddemo_tb/buttons(2) {-height 16 -radix hexadecimal} /lcddemo_tb/buttons(3) {-height 16 -radix hexadecimal} /lcddemo_tb/buttons(4) {-height 16 -radix hexadecimal}} /lcddemo_tb/buttons
|
||||
add wave -noupdate -group {Buttons and LEDs} -radix hexadecimal -childformat {{/lcddemo_tb/leds(1) -radix hexadecimal} {/lcddemo_tb/leds(2) -radix hexadecimal} {/lcddemo_tb/leds(3) -radix hexadecimal} {/lcddemo_tb/leds(4) -radix hexadecimal} {/lcddemo_tb/leds(5) -radix hexadecimal} {/lcddemo_tb/leds(6) -radix hexadecimal} {/lcddemo_tb/leds(7) -radix hexadecimal} {/lcddemo_tb/leds(8) -radix hexadecimal}} -expand -subitemconfig {/lcddemo_tb/leds(1) {-height 16 -radix hexadecimal} /lcddemo_tb/leds(2) {-height 16 -radix hexadecimal} /lcddemo_tb/leds(3) {-height 16 -radix hexadecimal} /lcddemo_tb/leds(4) {-height 16 -radix hexadecimal} /lcddemo_tb/leds(5) {-height 16 -radix hexadecimal} /lcddemo_tb/leds(6) {-height 16 -radix hexadecimal} /lcddemo_tb/leds(7) {-height 16 -radix hexadecimal} /lcddemo_tb/leds(8) {-height 16 -radix hexadecimal}} /lcddemo_tb/leds
|
||||
add wave -noupdate -expand -group {Hello message} /lcddemo_tb/I_dut/I_hello/buttonRising
|
||||
add wave -noupdate -expand -group {Hello message} -radix unsigned -radixshowbase 0 /lcddemo_tb/I_dut/I_hello/sequenceCounter
|
||||
add wave -noupdate -expand -group {Hello message} /lcddemo_tb/I_dut/I_hello/sequenceDone
|
||||
add wave -noupdate -expand -group {Hello message} /lcddemo_tb/I_dut/helloSend
|
||||
add wave -noupdate -expand -group {Hello message} -radix hexadecimal -radixshowbase 0 /lcddemo_tb/I_dut/helloData
|
||||
add wave -noupdate -expand -group {Hello message} -radix ascii -radixshowbase 0 /lcddemo_tb/I_dut/helloData
|
||||
add wave -noupdate -expand -group {Hello message} /lcddemo_tb/I_dut/helloBusy
|
||||
add wave -noupdate -expand -group UART /lcddemo_tb/I_tester/rs232OutByte
|
||||
add wave -noupdate -expand -group UART /lcddemo_tb/I_tester/rs232SendOutByte
|
||||
add wave -noupdate -expand -group UART /lcddemo_tb/I_dut/RxD
|
||||
add wave -noupdate -group {LCD controller interface} -radix hexadecimal -radixshowbase 0 /lcddemo_tb/I_dut/ascii
|
||||
add wave -noupdate -group {LCD controller interface} -radix ascii -radixshowbase 0 /lcddemo_tb/I_dut/ascii
|
||||
add wave -noupdate -group {LCD controller interface} -radix hexadecimal /lcddemo_tb/I_dut/send
|
||||
add wave -noupdate -group {LCD controller interface} -radix hexadecimal /lcddemo_tb/I_dut/busy
|
||||
add wave -noupdate -expand -group {LCD interface} /lcddemo_tb/RST_n
|
||||
add wave -noupdate -expand -group {LCD interface} /lcddemo_tb/A0
|
||||
add wave -noupdate -expand -group {LCD interface} /lcddemo_tb/CS1_n
|
||||
add wave -noupdate -expand -group {LCD interface} /lcddemo_tb/SCL
|
||||
add wave -noupdate -expand -group {LCD interface} /lcddemo_tb/SI
|
||||
TreeUpdate [SetDefaultTree]
|
||||
WaveRestoreCursors {{Cursor 1} {0 ps} 0}
|
||||
quietly wave cursor active 1
|
||||
configure wave -namecolwidth 350
|
||||
configure wave -valuecolwidth 58
|
||||
configure wave -justifyvalue left
|
||||
configure wave -signalnamewidth 0
|
||||
configure wave -snapdistance 10
|
||||
configure wave -datasetprefix 0
|
||||
configure wave -rowmargin 4
|
||||
configure wave -childrowmargin 2
|
||||
configure wave -gridoffset 0
|
||||
configure wave -gridperiod 1
|
||||
configure wave -griddelta 40
|
||||
configure wave -timeline 0
|
||||
configure wave -timelineunits us
|
||||
update
|
||||
WaveRestoreZoom {0 ps} {2527664378 ps}
|
Reference in New Issue
Block a user