URL
https://opencores.org/ocsvn/ethernet_tri_mode/ethernet_tri_mode/trunk
Subversion Repositories ethernet_tri_mode
Compare Revisions
- This comparison shows the changes necessary to convert path
/
- from Rev 15 to Rev 16
- ↔ Reverse comparison
Rev 15 → Rev 16
/trunk/sim/rtl_sim/ncsim_sim/script/set_stimulus.tcl
71,14 → 71,14
|
frame .stimulus.f20 |
button .stimulus.f20.1 -text "Save" -width 10 \ |
-com { set fileid [open ../data/config.ini w 0600] |
-command { set fileid [open ../data/config.ini w 0600] |
puts $fileid "$StartLength,$EndLength,$PacketNumber,$Random,$Broadcast" |
close $fileid |
destroy .stimulus |
} |
button .stimulus.f20.2 -text "Save as" -com {sti_save_as $StartLength $EndLength $PacketNumber $Random $Broadcast} -width 10 |
button .stimulus.f20.3 -text "Cancel" -com {destroy .stimulus} -width 10 |
button .stimulus.f20.4 -text "Help" -width 10 -com {print_help $help_string} |
button .stimulus.f20.2 -text "Save as" -command {sti_save_as $StartLength $EndLength $PacketNumber $Random $Broadcast} -width 10 |
button .stimulus.f20.3 -text "Cancel" -command {destroy .stimulus} -width 10 |
button .stimulus.f20.4 -text "Help" -width 10 -command {print_help $help_string} |
pack .stimulus.f20 -fill x |
pack .stimulus.f20.1 .stimulus.f20.2 .stimulus.f20.3 .stimulus.f20.4 -side left |
} |
/trunk/sim/rtl_sim/ncsim_sim/script/set_reg_data.tcl
104,10 → 104,10
} |
|
|
button .p.f2.b1 -text "Save" -width 10 -com {WriteVect CPU.vec} |
button .p.f2.b2 -text "SaveAs" -width 10 -com {WriteVect [reg_save_as]} |
button .p.f2.b3 -text "Exit" -width 10 -com {destroy .p} |
button .p.f2.b4 -text "Help" -width 10 -com {print_help $help_strings} |
button .p.f2.b1 -text "Save" -width 10 -command {WriteVect CPU.vec} |
button .p.f2.b2 -text "SaveAs" -width 10 -command {WriteVect [reg_save_as]} |
button .p.f2.b3 -text "Exit" -width 10 -command {destroy .p} |
button .p.f2.b4 -text "Help" -width 10 -command {print_help $help_strings} |
pack .p.f2.b1 .p.f2.b2 .p.f2.b3 .p.f2.b4 -side left |
bind .p.f2.b1 <ButtonPress> {focus .p} |
|
/trunk/sim/rtl_sim/ncsim_sim/script/start_verify.tcl
17,8 → 17,8
text .l.f1.t1 -width 80 -height 40 -yscrollcommand {.l.f1.scroll set} |
|
scrollbar .l.f1.scroll -command {.l.f1.t1 yview} |
button .l.f2.b1 -text "Exit" -com {destroy .l} -width 10 |
button .l.f2.b2 -text "Stop" -com {Stop_sim} -width 10 |
button .l.f2.b1 -text "Exit" -command {destroy .l} -width 10 |
button .l.f2.b2 -text "Stop" -command {Stop_sim} -width 10 |
pack .l.f1.scroll -side right -fill y |
pack .l.f1.t1 |
pack .l.f2.b1 .l.f2.b2 -side left |
/trunk/sim/rtl_sim/ncsim_sim/script/user_lib.tcl
3,7 → 3,7
frame .help.1 |
message .help.1.1 -text $help_string -width 10c |
frame .help.2 |
button .help.2.1 -text "exit" -com {destroy .help} -width 10 |
button .help.2.1 -text "exit" -command {destroy .help} -width 10 |
pack .help.1 .help.2 .help.1.1 .help.2.1 |
} |
|
12,6 → 12,6
frame .warning.1 |
message .warning.1.1 -text $warning_string -width 10c |
frame .warning.2 |
button .warning.2.1 -text "exit" -com {destroy .warning} -width 10 |
button .warning.2.1 -text "exit" -command {destroy .warning} -width 10 |
pack .warning.1 .warning.2 .warning.1.1 .warning.2.1 |
} |
/trunk/sim/rtl_sim/ncsim_sim/script/batch_mode.tcl
48,11 → 48,11
set tmp [expr $i+1] |
checkbutton .b.f$i.c -variable check$i -text $tmp -width 5 |
label .b.f$i.l1 -text [lindex $line 0] -width $lth1 |
button .b.f$i.b1 -text "Change" -width 5 -com [list ChangeDescript .b.f$i.l1 $i 0] |
button .b.f$i.b1 -text "Change" -width 5 -command [list ChangeDescript .b.f$i.l1 $i 0] |
label .b.f$i.l2 -text [lindex $line 1] -width $lth2 |
button .b.f$i.b2 -text "Change" -width 5 -com [list ChangeLabel .b.f$i.l2 $i 1] |
button .b.f$i.b2 -text "Change" -width 5 -command [list ChangeLabel .b.f$i.l2 $i 1] |
label .b.f$i.l3 -text [lindex $line 2] -width $lth3 |
button .b.f$i.b3 -text "Change" -width 5 -com [list ChangeLabel .b.f$i.l3 $i 2] |
button .b.f$i.b3 -text "Change" -width 5 -command [list ChangeLabel .b.f$i.l3 $i 2] |
pack .b.f$i |
pack .b.f$i.c .b.f$i.l1 .b.f$i.b1 .b.f$i.l2 .b.f$i.b2 .b.f$i.l3 .b.f$i.b3 -side left |
incr i |
61,8 → 61,8
|
frame .b.f102 |
button .b.f102.b1 -text "Start Verify" -width 10 |
button .b.f102.b2 -text "Save" -width 10 -com {save_batch_data} |
button .b.f102.b3 -text "Exit" -width 10 -com {destroy .b} |
button .b.f102.b2 -text "Save" -width 10 -command {save_batch_data} |
button .b.f102.b3 -text "Exit" -width 10 -command {destroy .b} |
pack .b.f102 |
pack .b.f102.b1 .b.f102.b2 .b.f102.b3 -side left |
bind .b.f102.b1 <ButtonPress> {create_index $i} |
127,7 → 127,7
set newy $y |
set newx $x |
entry .tmp.en -width 20 -textvariable value |
button .tmp.b -width 5 -text "Apply" -com {destroy .tmp} |
button .tmp.b -width 5 -text "Apply" -command {destroy .tmp} |
button .tmp.b1 -width 5 -text "quit" |
bind .tmp.b <ButtonPress> {ChangeDescriptApply $target $newy $newx $value} |
|
/trunk/sim/rtl_sim/ncsim_sim/script/run_proc.tcl
13,7 → 13,7
button .frame.b2 -width 20 -text "set_cpu_data" |
button .frame.b3 -width 20 -text "start_verify" |
button .frame.b4 -width 20 -text "batch_mode" |
button .frame.b40 -width 20 -text "exit" -com {cd ../../../../ ;destroy .frame} |
button .frame.b40 -width 20 -text "exit" -command {cd ../../../../ ;destroy .frame} |
|
bind .frame.b1 <Button-1> {set_stimulus} |
bind .frame.b2 <Button-1> {set_reg_data} |
/trunk/start.tcl
9,9 → 9,9
|
frame .f1 |
frame .f2 |
text .f1.t1 -width 60 -height 20 -font {time 12} |
button .f2.b1 -text "Quit" -width 5 -com {exit} |
button .f2.b2 -text "Next" -width 5 -com {module_conf} |
text .f1.t1 -width 60 -height 20 |
button .f2.b1 -text "Quit" -width 5 -command {exit} |
button .f2.b2 -text "Next" -width 5 -command {module_conf} |
|
pack .f1 .f2 |
pack .f1.t1 |
109,9 → 109,9
label .f1.f5.lb -text "MAC_RX_FF_DEPTH" -width 30 |
entry .f1.f5.en -textvariable MAC_RX_FF_DEPTH -width 5 |
|
button .f2.b1 -width 10 -text "Save" -com {save_header} |
button .f2.b2 -width 10 -text "Verify" -com {run_sim} |
button .f2.b4 -width 10 -text "Exit" -com {exit} |
button .f2.b1 -width 10 -text "Save" -command {save_header} |
button .f2.b2 -width 10 -text "Verify" -command {run_sim} |
button .f2.b4 -width 10 -text "Exit" -command {exit} |
|
pack .f1.f1.cb .f1.f1.lb -side right |
pack .f1.f2.cb .f1.f2.lb -side right |