⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 isp8.tcl

📁 简单的8位CPU
💻 TCL
字号:
# =============================================================================
#                           COPYRIGHT NOTICE
# Copyright 2000-2001 (c) Lattice Semiconductor Corporation
# ALL RIGHTS RESERVED
# This confidential and proprietary software may be used only as authorised by
# a licensing agreement from Lattice Semiconductor Corporation.
# The entire notice above must be reproduced on all authorized copies and
# copies may only be made to the extent permitted by a licensing agreement from
# Lattice Semiconductor Corporation.
#
# Lattice Semiconductor Corporation        TEL : 1-800-Lattice (USA and Canada)
# 5555 NE Moore Court                            408-826-6000 (other locations)
# Hillsboro, OR 97124                     web  : http://www.latticesemi.com/
# U.S.A                                   email: techsupport@latticesemi.com
# =============================================================================
#                         FILE DETAILS
# Project          : isp8
# File             : isp8.tcl
# Title            :
# Dependencies     : 
# Description      : tcl script to synthesis in synplicity's symplify pro.
# =============================================================================
#                        REVISION HISTORY
# Version          : 1.0
# Author(s)        : Umesh Ananthiah
# Mod. Date        : May 17, 2005
# Changes Made     : Initial Creation
# =============================================================================

set PROJPATH C:\\isp8_sb

#Create a new project
new_project $PROJPATH\\synthesis\\xp\\synplicity\\config1\\isp8.prj

# Set the options
set_option -technology LATTICE-XP
set_option -part LFXP3C
set_option -package T100C
set_option -grade -5
set_option -resource_sharing 1
set_option -symbolic_fsm_compiler 1
set_option -frequency 100.00
set_option -top_module isp8
set_option -_effort high
set_option -result_file $PROJPATH\\synthesis\\xp\\synplicity\\config1\\isp8.edf
set_option -include_path $PROJPATH\\source\\config1
set_option -include_path $PROJPATH\\tests
set_option -num_startend_points 10
set_option -num_critical_paths 10
#set_option -disable_io_insertion true
set_option -write_verilog 0

# add configuration file. 
   add_file -verilog $PROJPATH\\source\\config1\\isp8_cfg.v

# add model files. 
   add_file -verilog $PROJPATH\\models\\xp\\sim\\prom.v
   add_file -verilog $PROJPATH\\models\\xp\\sim\\dpram32x8.v
   add_file -verilog $PROJPATH\\models\\xp\\sim\\dpram16x8.v
   add_file -verilog $PROJPATH\\models\\xp\\sim\\spram32x8.v
   add_file -verilog $PROJPATH\\models\\xp\\sim\\spram16x8.v
   add_file -verilog $PROJPATH\\models\\xp\\sim\\spram16x9.v
   add_file -verilog $PROJPATH\\models\\xp\\syn\\xp.v

# Add top level files. 
   add_file -verilog $PROJPATH\\source\\isp8.v


# Compile first to just add constraint from sdc file
project -log_file $PROJPATH\\synthesis\\xp\\synplicity\\config1\\isp8.srr
project -run compile

# Read the constraints file
add_file -constraint $PROJPATH\\synthesis\\xp\\synplicity\\config1\\isp8.sdc

# Run synthesis now
project -run synthesis

# save and close project 
save_project $PROJPATH\\synthesis\\xp\\synplicity\\config1\\isp8.prj
#close_project $PROJPATH\\synthesis\\xp\\synplicity\\config1\\isp8.prj

# =============================================================================

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -