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

Subversion Repositories or1k

[/] [or1k/] [tags/] [first/] [mp3/] [syn/] [design_compiler/] [bin/] [top.scr] - Rev 1780

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

/*
 * User defines for synthesizing RTC IP core
 *
 */
TOPLEVEL = xfpga_top
include ../bin/select_tech.inc
CLK = clk
RST = rstn
CLK_PERIOD = 5		/* 200 MHz */
MAX_AREA = 0		/* Push hard */
DO_UNGROUP = yes	/* yes, no */
DO_VERIFY = yes		/* yes, no */
 
/* Starting timestamp */
sh date
 
/* Set some basic variables related to environment */
include ../bin/set_env.inc
STAGE = final
 
/* Load libraries */
include ../bin/tech_ + TECH + .inc
 
/* Load HDL source files */
include ../bin/read_design.inc		> LOG_PATH + read_design_ + TOPLEVEL + .log
 
/* Set design top */
current_design TOPLEVEL
 
/* Link all blocks and uniquify them */
link
uniquify
check_design			> LOG_PATH + check_design_ + TOPLEVEL + .log
 
/* Apply constraints */
if (TECH == "vs_umc18") {
	include ../bin/cons_vs_umc18.inc
} else if (TECH == "art_umc18") {
	include ../bin/cons_art_umc18.inc
} else {
	echo "Error: Unsupported technology"
	exit
}
 
/* Lets do basic synthesis */
if (DO_UNGROUP == "yes") {
	ungroup -all
}
compile -boundary_optimization -map_effort low
 
/* Dump gate-level from incremental synthesis */
include ../bin/save_design.inc
 
/* Generate reports for incremental synthesis */
include ../bin/reports.inc
 
/* Verify design */
if (DO_VERIFY == "yes") {
	compile -no_map -verify		> LOG_PATH + verify_ + TOPLEVEL + .log
}
 
/* Finish */
sh date
exit
 

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.