OpenCores
URL https://opencores.org/ocsvn/t6507lp/t6507lp/trunk

Subversion Repositories t6507lp

[/] [t6507lp/] [trunk/] [syn/] [cadence/] [scripts/] [LP_io.cmd] - Rev 261

Go to most recent revision | Compare with Previous | Blame | View Log

# script written by Samuel N. Pagliarini
# Cadence Encounter(R) RTL Compiler

set SVNPATH /home/nscad/samuel/Desktop/svn_atari/trunk/
set FILE_LIST {t6507lp_io.v t6507lp.v t6507lp_alu.v t6507lp_fsm.v}

set_attr lp_insert_clock_gating true /
set_attr lp_insert_operand_isolation true /
set_attr dft_scan_style muxed_scan /
#set_attr dft_scan_map_mode tdrc_pass /
# this will force the mapping of all registers that passed dft rules into scannable registers
set_attr hdl_search_path $SVNPATH/rtl/verilog/
set_attr lib_search_path "$SVNPATH/syn/cadence/libs/ /home"

read_hdl $FILE_LIST -v2001
set_attr library {D_CELLSL_3_3V.lib IO_CELLS_33.lib}

set_attribute avoid false [find / -libcell LGC*]
set_attribute avoid false [find / -libcell LSG*]
set_attribute avoid false [find / -libcell LSOGC*]
#set_attribute avoid true [find / -libcell EN2LX1]
# the EN2LX1 cell always reports violations. i have also declared the dont use attribute of the cell in the .lib file

set_attribute lef_library {xc06_m3_FE.lef D_CELLSL.lef IO_CELLS.lef}
set_attr cap_table_file xc06m3_typ.CapTbl
set_attr interconnect_mode ple /

elaborate

define_clock -period 1000000 -name 1MHz [find [ find / -design t6507lp_io] -port clk]
set_attribute slew {0 0 1 1} [find / -clock 1MHz]
external_delay -clock [find / -clock 1MHz] -output 100 [all_outputs]
external_delay -clock [find / -clock 1MHz] -input 100 [all_inputs]

define_dft shift_enable -active high [find / -port scan_enable] -name SE
set_attribute lp_clock_gating_test_signal SE /des*/*
set_attribute lp_clock_gating_extract_common_enable true /des*/*

#read_vcd simvision.vcd -module t6507lp -static
#argh
#check_design -all

#report timing -lint

check_dft_rules
synthesize -to_generic -effort high
synthesize -to_mapped -effort high -no_incremental
clock_gating share -hier

define_dft scan_chain -name chain1 -sdi [find / -pin data_in[0]] -sdo [find / -pin data_out[0]] -shared_out -shared_select SE -shift_enable SE
connect_scan_chains
check_dft_rules

synthesize -incremental -effort high

#write_hdl t6507lp_io > gates.v

write_encounter design -basename /home/nscad/samuel/Desktop/svn_atari/trunk/syn/cadence/results/t6507lp_io t6507lp_io

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.