-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
1,275 additions
and
84 deletions.
There are no files selected for viewing
74 changes: 74 additions & 0 deletions
74
labs/2_graphics/2_2_rectangle_ellipse_parabola_moving/gtkwave.tcl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
# gtkwave::loadFile "dump.vcd" | ||
|
||
set all_signals [list] | ||
|
||
lappend all_signals tb.i_display.pixel_29 | ||
lappend all_signals tb.i_display.pixel_28 | ||
lappend all_signals tb.i_display.pixel_27 | ||
lappend all_signals tb.i_display.pixel_26 | ||
lappend all_signals tb.i_display.pixel_25 | ||
lappend all_signals tb.i_display.pixel_24 | ||
lappend all_signals tb.i_display.pixel_23 | ||
lappend all_signals tb.i_display.pixel_22 | ||
lappend all_signals tb.i_display.pixel_21 | ||
lappend all_signals tb.i_display.pixel_20 | ||
lappend all_signals tb.i_display.pixel_19 | ||
lappend all_signals tb.i_display.pixel_18 | ||
lappend all_signals tb.i_display.pixel_17 | ||
lappend all_signals tb.i_display.pixel_16 | ||
lappend all_signals tb.i_display.pixel_15 | ||
lappend all_signals tb.i_display.pixel_14 | ||
lappend all_signals tb.i_display.pixel_13 | ||
lappend all_signals tb.i_display.pixel_12 | ||
lappend all_signals tb.i_display.pixel_11 | ||
lappend all_signals tb.i_display.pixel_10 | ||
lappend all_signals tb.i_display.pixel_09 | ||
lappend all_signals tb.i_display.pixel_08 | ||
lappend all_signals tb.i_display.pixel_07 | ||
lappend all_signals tb.i_display.pixel_06 | ||
lappend all_signals tb.i_display.pixel_05 | ||
lappend all_signals tb.i_display.pixel_04 | ||
lappend all_signals tb.i_display.pixel_03 | ||
lappend all_signals tb.i_display.pixel_02 | ||
lappend all_signals tb.i_display.pixel_01 | ||
lappend all_signals tb.i_display.pixel_00 | ||
|
||
lappend all_signals tb.i_lcd.LCD_DE | ||
lappend all_signals tb.i_lcd.LCD_HSYNC | ||
lappend all_signals tb.LCD_R | ||
lappend all_signals tb.LCD_G | ||
lappend all_signals tb.LCD_B | ||
lappend all_signals tb.x | ||
lappend all_signals tb.y | ||
|
||
set num_added [ gtkwave::addSignalsFromList $all_signals ] | ||
|
||
gtkwave::highlightSignalsFromList "tb.LCD_R\[4:0\]" | ||
gtkwave::/Edit/Data_Format/Analog/Step | ||
gtkwave::/Edit/Data_Format/Decimal | ||
|
||
gtkwave::highlightSignalsFromList "tb.LCD_G\[5:0\]" | ||
gtkwave::/Edit/Data_Format/Analog/Step | ||
gtkwave::/Edit/Data_Format/Decimal | ||
|
||
gtkwave::highlightSignalsFromList "tb.LCD_B\[4:0\]" | ||
gtkwave::/Edit/Data_Format/Analog/Step | ||
gtkwave::/Edit/Data_Format/Decimal | ||
|
||
gtkwave::highlightSignalsFromList "tb.x\[8:0\]" | ||
gtkwave::/Edit/Data_Format/Analog/Step | ||
gtkwave::/Edit/Data_Format/Decimal | ||
|
||
gtkwave::highlightSignalsFromList "tb.y\[8:0\]" | ||
gtkwave::/Edit/Data_Format/Analog/Step | ||
gtkwave::/Edit/Data_Format/Decimal | ||
|
||
gtkwave::/Time/Zoom/Zoom_Full | ||
gtkwave::/Time/Zoom/Zoom_In | ||
gtkwave::/Time/Zoom/Zoom_In | ||
gtkwave::/Time/Zoom/Zoom_In | ||
gtkwave::/Time/Zoom/Zoom_In | ||
gtkwave::/Time/Zoom/Zoom_In | ||
gtkwave::/Time/Zoom/Zoom_To_End | ||
|
||
gtkwave::/Edit/UnHighlight_All |
74 changes: 74 additions & 0 deletions
74
labs/2_graphics/2_2_rectangle_ellipse_parabola_moving/surfer.scr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
variable_add tb.i_display.pixel_29 | ||
variable_add tb.i_display.pixel_28 | ||
variable_add tb.i_display.pixel_27 | ||
variable_add tb.i_display.pixel_26 | ||
variable_add tb.i_display.pixel_25 | ||
variable_add tb.i_display.pixel_24 | ||
variable_add tb.i_display.pixel_23 | ||
variable_add tb.i_display.pixel_22 | ||
variable_add tb.i_display.pixel_21 | ||
variable_add tb.i_display.pixel_20 | ||
variable_add tb.i_display.pixel_19 | ||
variable_add tb.i_display.pixel_18 | ||
variable_add tb.i_display.pixel_17 | ||
variable_add tb.i_display.pixel_16 | ||
variable_add tb.i_display.pixel_15 | ||
variable_add tb.i_display.pixel_14 | ||
variable_add tb.i_display.pixel_13 | ||
variable_add tb.i_display.pixel_12 | ||
variable_add tb.i_display.pixel_11 | ||
variable_add tb.i_display.pixel_10 | ||
variable_add tb.i_display.pixel_09 | ||
variable_add tb.i_display.pixel_08 | ||
variable_add tb.i_display.pixel_07 | ||
variable_add tb.i_display.pixel_06 | ||
variable_add tb.i_display.pixel_05 | ||
variable_add tb.i_display.pixel_04 | ||
variable_add tb.i_display.pixel_03 | ||
variable_add tb.i_display.pixel_02 | ||
variable_add tb.i_display.pixel_01 | ||
variable_add tb.i_display.pixel_00 | ||
variable_add tb.i_lcd.LCD_DE | ||
variable_add tb.i_lcd.LCD_HSYNC | ||
variable_add tb.LCD_R | ||
variable_add tb.LCD_G | ||
variable_add tb.LCD_B | ||
variable_add tb.x | ||
variable_add tb.y | ||
|
||
scope_select tb.i_lcd | ||
|
||
item_focus bo | ||
item_set_format Unsigned | ||
item_set_color Yellow | ||
|
||
item_focus bp | ||
item_set_format Unsigned | ||
item_set_color Gray | ||
|
||
item_focus ca | ||
item_set_format Unsigned | ||
item_set_color Red | ||
|
||
item_focus cb | ||
item_set_format Unsigned | ||
item_set_color Green | ||
|
||
item_focus cc | ||
item_set_format Unsigned | ||
item_set_color Blue | ||
|
||
item_focus cd | ||
item_set_format Unsigned | ||
item_set_color Gray | ||
|
||
item_focus ce | ||
item_set_format Unsigned | ||
item_set_color Gray | ||
|
||
zoom_in | ||
zoom_in | ||
zoom_in | ||
zoom_in | ||
zoom_in | ||
scroll_to_end |
Oops, something went wrong.