latches.scr 1.54 KB
#!/bin/csh -f
#
# QTV
#
#
set path= ($path /ecad/compass/v8r4.6/patch5/bin/) 

vlsishell << EOF
set echo on
qtv

set loadoption piping
set traceoption shrcdest

load [nle]rcp_mda

####################################
# hold time checks (best case nle)
####################################

# address latches
set TRACEOPTIONS SHORTPATH MINTIMING
trace del 1; rac_0.U1_BusClk; tc/tilemem/tile_adrs_l1_reg_*_.d

set TRACEOPTIONS LONGPATH MAXTIMING
trace del 1; rac_0.U1_BusClk; tc/tilemem/tile_adrs_l1_reg_*_.e

# we latches
set TRACEOPTIONS SHORTPATH MINTIMING
trace del 1; rac_0.U1_BusClk; tc/tilemem/we_tile_*_l1_reg.d

set TRACEOPTIONS LONGPATH MAXTIMING
trace del 1; rac_0.U1_BusClk; tc/tilemem/we_tile_*_l1_reg.e


####################################
# setup checks (worst case nle)
####################################

# address latches
set TRACEOPTIONS LONGPATH MAXTIMING
trace del 1; rac_0.U1_BusClk; tc/tilemem/tile_adrs_l1_reg_*_.d

set TRACEOPTIONS SHORTPATH MINTIMING
trace del 1; rac_0.U1_BusClk; tc/tilemem/tile_adrs_l1_reg_*_.e

# we latches
set TRACEOPTIONS LONGPATH MAXTIMING
trace del 1; rac_0.U1_BusClk; tc/tilemem/we_tile_*_l1_reg.d

set TRACEOPTIONS SHORTPATH MINTIMING
trace del 1; rac_0.U1_BusClk; tc/tilemem/we_tile_*_l1_reg.e

# memory cells
set TRACEOPTIONS LONGPATH MAXTIMING
trace del 1; rac_0.U1_BusClk; tc/tilemem/memory_*_*sb*_reg_*_.d

# enable nand gates
set TRACEOPTIONS LONGPATH MAXTIMING
trace del 1; rac_0.U1_BusClk; tc/tilemem/t*_nd*.a2

set TRACEOPTIONS SHORTPATH MINTIMING
trace del 1; rac_0.U1_BusClk; tc/tilemem/t*_nd*.a1

q
q
EOF