AR# 35021

|

12.1 EDK - After I issue the restart command on the ISim console, the reset and clock sequences no longer toggle

Description

Why do the clock and reset pins no longer toggle after I issue a restart command?

Solution

There is a problem with how the system_setup.tcl file is created. To work around this problem:

-Close ISim

-Find the ClockSetup procedure (similar to):

proc ClockSetup {} {
global tbpath
global PathSeparator
puts -nonewline "Setting up clock ... "
if { [info exists PathSeparator] } { set ps $PathSeparator } else { set ps "/" }
if { ![info exists tbpath] } { set tbpath "${ps}system" }
if {$::ClockSetupCount > 0} { isim force remove $tbpath${ps}fpga_0_clk_1_sys_clk_pin }# Remove
isim force add $tbpath${ps}fpga_0_clk_1_sys_clk_pin 0 -time 0 ns -value 1 -time 4 ns -repeat 8 ns
incr ::ClockSetupCount
puts "done"
}

and change it to:

proc ClockSetup {} {
global tbpath
global PathSeparator
puts -nonewline "Setting up clock ... "
if { [info exists PathSeparator] } { set ps $PathSeparator } else { set ps "/" }
if { ![info exists tbpath] } { set tbpath "${ps}system" }
isim force add $tbpath${ps}fpga_0_clk_1_sys_clk_pin 0 -time 0 ns -value 1 -time 4 ns -repeat 8 ns
incr ::ClockSetupCount
puts "done"
}

-Find the reset procedure (similar to):

proc ResetSetup {} {
global tbpath
global PathSeparator
puts -nonewline "Setting up reset and simulating ... "
if { [info exists PathSeparator] } { set ps $PathSeparator } else { set ps "/" }
if { ![info exists tbpath] } { set tbpath "${ps}system" }
if {$::ResetSetupCount > 0} { isim force remove $tbpath${ps}fpga_0_rst_1_sys_rst_pin } # Remove
isim force add $tbpath${ps}fpga_0_rst_1_sys_rst_pin 0 -time 0 ns -value 1 -time 128 ns incr ::ResetSetupCount
puts "done"
}


and change it to:

proc ResetSetup {} {
global tbpath
global PathSeparator
puts -nonewline "Setting up reset and simulating ... "
if { [info exists PathSeparator] } { set ps $PathSeparator } else { set ps "/" }
if { ![info exists tbpath] } { set tbpath "${ps}system" }
isim force add $tbpath${ps}fpga_0_rst_1_sys_rst_pin 0 -time 0 ns -value 1 -time 128 ns incr ::ResetSetupCount
puts "done"
}

Save the file andstart ISim again.

This problem has been fixed in the 12.2 release of the software.
AR# 35021
Date 12/15/2012
Status Active
Type General Article
Tools
People Also Viewed