#--  Synopsys, Inc.
#--  Version P-2019.03G-1-Beta1
#--  Project file E:\GOWIN_WORK\IP_Design\MIPI\MIPI_release_case\MIPI_DPHY_Reference_Design\MIPI_RefDesign\impl\synthesize\rev_1\scratchproject.prs

#project files
add_file -verilog "E:/GOWIN_WORK/IP_Design/MIPI/MIPI_release_case/MIPI_DPHY_Reference_Design/MIPI_RefDesign/src/DPHY_TOP.v"
add_file -verilog "E:/GOWIN_WORK/IP_Design/MIPI/MIPI_release_case/MIPI_DPHY_Reference_Design/MIPI_RefDesign/src/gw_pll.v"
add_file -verilog "E:/GOWIN_WORK/IP_Design/MIPI/MIPI_release_case/MIPI_DPHY_Reference_Design/MIPI_RefDesign/src/ROM549X17.v"
add_file -verilog "E:/GOWIN_WORK/IP_Design/MIPI/MIPI_release_case/MIPI_DPHY_Reference_Design/MIPI_RefDesign/src/DPHY_RX_TOP/DPHY_RX_TOP.v"
add_file -verilog "E:/GOWIN_WORK/IP_Design/MIPI/MIPI_release_case/MIPI_DPHY_Reference_Design/MIPI_RefDesign/src/DPHY_TX_TOP/DPHY_TX_TOP.v"



#implementation: "rev_1"
impl -add E:\GOWIN_WORK\IP_Design\MIPI\MIPI_release_case\MIPI_DPHY_Reference_Design\MIPI_RefDesign\impl\synthesize\rev_1 -type fpga

#device options
set_option -technology GOWIN-GW1N
set_option -part GW1N_9
set_option -package PBGA256
set_option -speed_grade -5
set_option -part_companion ""

#compilation/mapping options
set_option -top_module "DPHY_TOP"

# hdl_compiler_options
set_option -distributed_compile 0
set_option -hdl_strict_syntax 0

# mapper_without_write_options
set_option -frequency auto
set_option -srs_instrumentation 1

# mapper_options
set_option -write_verilog 0
set_option -write_vhdl 0

# GOWIN-GW1N
set_option -maxfan 10000
set_option -rw_check_on_ram 1
set_option -disable_io_insertion 0
set_option -pipe 1
set_option -retiming 0
set_option -update_models_cp 0
set_option -fix_gated_and_generated_clocks 1
set_option -run_prop_extract 1

# NFilter
set_option -no_sequential_opt 0

# sequential_optimization_options
set_option -symbolic_fsm_compiler 1

# Compiler Options
set_option -compiler_compatible 0
set_option -resource_sharing 1

# Compiler Options
set_option -auto_infer_blackbox 0

#automatic place and route (vendor) options
set_option -write_apr_constraint 1

#set result format/file last
project -result_file "E:/GOWIN_WORK/IP_Design/MIPI/MIPI_release_case/MIPI_DPHY_Reference_Design/MIPI_RefDesign/impl/synthesize/rev_1/MIPI_RefDesign.vm"
impl -active "rev_1"
