Skip to content

Commit

Permalink
Fix tests for GF
Browse files Browse the repository at this point in the history
  • Loading branch information
M0stafaRady committed Oct 17, 2023
1 parent 0b3f305 commit 5c56702
Show file tree
Hide file tree
Showing 27 changed files with 1,066 additions and 279 deletions.
Empty file.
Empty file.
Empty file.
205 changes: 205 additions & 0 deletions verilog/dv/cocotb/DVEfiles/session.tcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,205 @@
# Begin_DVE_Session_Save_Info
# DVE reload session
# Saved on Tue Oct 17 03:05:34 2023
# Designs open: 1
# V1: /home/rady/caravel_proj/GF/caravel_user_project/verilog/dv/cocotb/sim/trial/GL_SDF-mem_sram_smoke-nom-t/waves.vpd
# Toplevel windows open: 2
# TopLevel.1
# TopLevel.2
# Source.1: caravel_top
# Wave.1: 7 signals
# Group count = 1
# Group Group1 signal count = 7
# End_DVE_Session_Save_Info

# DVE version: T-2022.06_Full64
# DVE build date: May 31 2022 20:53:03


#<Session mode="Reload" path="/home/rady/caravel_proj/GF/caravel_user_project/verilog/dv/cocotb/DVEfiles/session.tcl" type="Debug">

gui_set_loading_session_type Reload
gui_continuetime_set

# Close design
if { [gui_sim_state -check active] } {
gui_sim_terminate
}
gui_close_db -all
gui_expr_clear_all
gui_clear_window -type Wave
gui_clear_window -type List

# Application preferences
gui_set_pref_value -key app_default_font -value {Helvetica,10,-1,5,50,0,0,0,0,0}
gui_src_preferences -tabstop 8 -maxbits 24 -windownumber 1
#<WindowLayout>

# DVE top-level session


# Create and position top-level window: TopLevel.1

set TopLevel.1 TopLevel.1

# Docked window settings
set HSPane.1 HSPane.1
set Hier.1 Hier.1
set DLPane.1 DLPane.1
set Data.1 Data.1
set Console.1 Console.1
gui_sync_global -id ${TopLevel.1} -option true

# MDI window settings
set Source.1 Source.1
gui_update_layout -id ${Source.1} {{show_state maximized} {dock_state undocked} {dock_on_new_line false}}

# End MDI window settings


# Create and position top-level window: TopLevel.2

set TopLevel.2 TopLevel.2

# Docked window settings
gui_sync_global -id ${TopLevel.2} -option true

# MDI window settings
set Wave.1 Wave.1
gui_update_layout -id ${Wave.1} {{show_state maximized} {dock_state undocked} {dock_on_new_line false} {child_wave_left 743} {child_wave_right 1811} {child_wave_colname 369} {child_wave_colvalue 370} {child_wave_col1 0} {child_wave_col2 1}}

# End MDI window settings


#</WindowLayout>

#<Database>

# DVE Open design session:

if { ![gui_is_db_opened -db {/home/rady/caravel_proj/GF/caravel_user_project/verilog/dv/cocotb/sim/trial/GL_SDF-mem_sram_smoke-nom-t/waves.vpd}] } {
gui_open_db -design V1 -file /home/rady/caravel_proj/GF/caravel_user_project/verilog/dv/cocotb/sim/trial/GL_SDF-mem_sram_smoke-nom-t/waves.vpd -nosource
}
gui_set_precision 1ps
gui_set_time_units 1ps
#</Database>

# DVE Global setting session:


# Global: Bus

# Global: Expressions

# Global: Signal Time Shift

# Global: Signal Compare

# Global: Signal Groups


set _session_group_7 Group1
gui_sg_create "$_session_group_7"
set Group1 "$_session_group_7"

gui_sg_addsignal -group "$_session_group_7" { {caravel_top.uut.chip_core.\soc.core.sram.ram512x32.RAM03 .CLK} {caravel_top.uut.chip_core.\soc.core.sram.ram512x32.RAM03 .CEN} {caravel_top.uut.chip_core.\soc.core.sram.ram512x32.RAM03 .WEN} {caravel_top.uut.chip_core.\soc.core.sram.ram512x32.RAM03 .GWEN} {caravel_top.uut.chip_core.\soc.core.sram.ram512x32.RAM03 .A} {caravel_top.uut.chip_core.\soc.core.sram.ram512x32.RAM03 .D} {caravel_top.uut.chip_core.\soc.core.sram.ram512x32.RAM03 .Q} }

# Global: Highlighting

# Global: Stack
gui_change_stack_mode -mode list

# Post database loading setting...

# Restore C1 time
gui_set_time -C1_only 51245954906



# Save global setting...

# Wave/List view global setting
gui_cov_show_value -switch false

# Close all empty TopLevel windows
foreach __top [gui_ekki_get_window_ids -type TopLevel] {
if { [llength [gui_ekki_get_window_ids -parent $__top]] == 0} {
gui_close_window -window $__top
}
}
gui_set_loading_session_type noSession
# DVE View/pane content session:


# Hier 'Hier.1'
gui_show_window -window ${Hier.1}
gui_list_set_filter -id ${Hier.1} -list { {Package 1} {All 0} {Process 1} {VirtPowSwitch 0} {UnnamedProcess 1} {UDP 0} {Function 1} {Block 1} {SrsnAndSpaCell 0} {OVA Unit 1} {LeafScCell 1} {LeafVlgCell 1} {Interface 1} {LeafVhdCell 1} {$unit 1} {NamedBlock 1} {Task 1} {VlgPackage 1} {ClassDef 1} {VirtIsoCell 0} }
gui_list_set_filter -id ${Hier.1} -text {*ram*} -force
gui_change_design -id ${Hier.1} -design V1
gui_view_scroll -id ${Hier.1} -vertical -set 0
gui_view_scroll -id ${Hier.1} -horizontal -set 0

# Data 'Data.1'
gui_list_set_filter -id ${Data.1} -list { {Buffer 1} {Input 1} {Others 1} {Linkage 1} {Output 1} {LowPower 1} {Parameter 1} {All 1} {Aggregate 1} {LibBaseMember 1} {Event 1} {Assertion 1} {Constant 1} {Interface 1} {BaseMembers 1} {Signal 1} {$unit 1} {Inout 1} {Variable 1} }
gui_list_set_filter -id ${Data.1} -text {*}
gui_list_show_data -id ${Data.1} {caravel_top.uut.chip_core.\soc.core.sram.ram512x32.RAM03 }
gui_show_window -window ${Data.1}
catch { gui_list_select -id ${Data.1} {{caravel_top.uut.chip_core.\soc.core.sram.ram512x32.RAM03 .CEN} {caravel_top.uut.chip_core.\soc.core.sram.ram512x32.RAM03 .CLK} {caravel_top.uut.chip_core.\soc.core.sram.ram512x32.RAM03 .GWEN} {caravel_top.uut.chip_core.\soc.core.sram.ram512x32.RAM03 .VDD} {caravel_top.uut.chip_core.\soc.core.sram.ram512x32.RAM03 .VSS} {caravel_top.uut.chip_core.\soc.core.sram.ram512x32.RAM03 .A} {caravel_top.uut.chip_core.\soc.core.sram.ram512x32.RAM03 .D} {caravel_top.uut.chip_core.\soc.core.sram.ram512x32.RAM03 .Q} {caravel_top.uut.chip_core.\soc.core.sram.ram512x32.RAM03 .WEN} }}
gui_view_scroll -id ${Data.1} -vertical -set 0
gui_view_scroll -id ${Data.1} -horizontal -set 0
gui_view_scroll -id ${Hier.1} -vertical -set 0
gui_view_scroll -id ${Hier.1} -horizontal -set 0

# Source 'Source.1'
gui_src_value_annotate -id ${Source.1} -switch false
gui_set_env TOGGLE::VALUEANNOTATE 0
gui_open_source -id ${Source.1} -replace -active caravel_top /home/rady/caravel_proj/GF/caravel_user_project/caravel-gf180mcu/verilog/rtl/toplevel_cocotb.v
gui_src_value_annotate -id ${Source.1} -switch true
gui_set_env TOGGLE::VALUEANNOTATE 1
gui_view_scroll -id ${Source.1} -vertical -set 64
gui_src_set_reusable -id ${Source.1}

# View 'Wave.1'
gui_wv_sync -id ${Wave.1} -switch false
set groupExD [gui_get_pref_value -category Wave -key exclusiveSG]
gui_set_pref_value -category Wave -key exclusiveSG -value {false}
set origWaveHeight [gui_get_pref_value -category Wave -key waveRowHeight]
gui_list_set_height -id Wave -height 25
set origGroupCreationState [gui_list_create_group_when_add -wave]
gui_list_create_group_when_add -wave -disable
gui_wv_zoom_timerange -id ${Wave.1} 0 177527089432
gui_list_add_group -id ${Wave.1} -after {New Group} {Group1}
gui_list_select -id ${Wave.1} {{caravel_top.uut.chip_core.\soc.core.sram.ram512x32.RAM03 .WEN} }
gui_seek_criteria -id ${Wave.1} {Any Edge}



gui_set_env TOGGLE::DEFAULT_WAVE_WINDOW ${Wave.1}
gui_set_pref_value -category Wave -key exclusiveSG -value $groupExD
gui_list_set_height -id Wave -height $origWaveHeight
if {$origGroupCreationState} {
gui_list_create_group_when_add -wave -enable
}
if { $groupExD } {
gui_msg_report -code DVWW028
}
gui_list_set_filter -id ${Wave.1} -list { {Buffer 1} {Input 1} {Others 1} {Linkage 1} {Output 1} {Parameter 1} {All 1} {Aggregate 1} {LibBaseMember 1} {Event 1} {Assertion 1} {Constant 1} {Interface 1} {BaseMembers 1} {Signal 1} {$unit 1} {Inout 1} {Variable 1} }
gui_list_set_filter -id ${Wave.1} -text {*}
gui_list_set_insertion_bar -id ${Wave.1} -group Group1 -item {caravel_top.uut.chip_core.\soc.core.sram.ram512x32.RAM03 .CLK} -position below

gui_marker_move -id ${Wave.1} {C1} 51245954906
gui_view_scroll -id ${Wave.1} -vertical -set 0
gui_show_grid -id ${Wave.1} -enable false
# Restore toplevel window zorder
# The toplevel window could be closed if it has no view/pane
if {[gui_exist_window -window ${TopLevel.1}]} {
gui_set_active_window -window ${TopLevel.1}
gui_set_active_window -window ${Source.1}
gui_set_active_window -window ${DLPane.1}
}
if {[gui_exist_window -window ${TopLevel.2}]} {
gui_set_active_window -window ${TopLevel.2}
gui_set_active_window -window ${Wave.1}
}
#</Session>

Loading

0 comments on commit 5c56702

Please sign in to comment.