OpenCores
no use no use 1/1 no use no use
OR1200 DC Synthesis
by arasu0812 on Jan 25, 2012
arasu0812
Posts: 1
Joined: Mar 30, 2011
Last seen: Oct 24, 2012
Hi,

I'm trying to synthesize the OR1200 and I am getting totally wrong. Not sure what is the expected dc version that I must use. I use,

Version C-2009.06-SP5 for suse64 -- Jan 15, 2010

The error is it completely out of syntax. Should I run some script on this top.scr to get the right dc script ?

Thanks!



Initializing...
/*
Error: unknown command '/*' (CMD-005)
* Examples of Synopsys Design Compiler
Error: unknown command '*' (CMD-005)
* synthesis script for OR1200 IP core
Error: unknown command '*' (CMD-005)
*
[*]
*/
Error: unknown command '*/' (CMD-005)
TOPLEVEL = or1200_top
Error: unknown command 'TOPLEVEL' (CMD-005)
TECH = vs_umc18 /* vs_umc18, art_umc18 */
Error: unknown command 'TECH' (CMD-005)
CLK = clk_i
RE: OR1200 DC Synthesis
by mojtabaebrahimi85 on Mar 26, 2012
mojtabaebrahimi85
Posts: 11
Joined: Jan 15, 2012
Last seen: Mar 18, 2013
Hello,

This is my synthesis script. It works perfectly.
You should replace your libraries in target and link library.

# OpenRISC Synthesis Script
# Written by Mojtaba Ebrahimi

set target_library ???
set link_library ???

set base_dir "/home/ebrahimi/Synthesize"

sh mkdir WORK
define_design_lib WORK -path WORK

analyze -library WORK -format verilog $base_dir/Code/or1200_defines.v

# ALU
analyze -library WORK -format verilog $base_dir/Code/or1200_alu.v

# FPU
analyze -library WORK -format verilog $base_dir/Code/or1200_fpu_post_norm_div.v
analyze -library WORK -format verilog $base_dir/Code/or1200_fpu_div.v
analyze -library WORK -format verilog $base_dir/Code/or1200_fpu_pre_norm_div.v
analyze -library WORK -format verilog $base_dir/Code/or1200_fpu_post_norm_mul.v
analyze -library WORK -format verilog $base_dir/Code/or1200_fpu_mul.v
analyze -library WORK -format verilog $base_dir/Code/or1200_fpu_pre_norm_mul.v
analyze -library WORK -format verilog $base_dir/Code/or1200_fpu_post_norm_addsub.v
analyze -library WORK -format verilog $base_dir/Code/or1200_fpu_addsub.v
analyze -library WORK -format verilog $base_dir/Code/or1200_fpu_pre_norm_addsub.v
analyze -library WORK -format verilog $base_dir/Code/or1200_fpu_arith.v
analyze -library WORK -format verilog $base_dir/Code/or1200_fpu_post_norm_intfloat_conv.v
analyze -library WORK -format verilog $base_dir/Code/or1200_fpu_intfloat_conv.v
analyze -library WORK -format verilog $base_dir/Code/or1200_fpu_fcmp.v
analyze -library WORK -format verilog $base_dir/Code/or1200_fpu.v

# Register File
analyze -library WORK -format verilog $base_dir/Code/or1200_mem2reg.v
analyze -library WORK -format verilog $base_dir/Code/or1200_reg2mem.v
#analyze -library WORK -format verilog $base_dir/Code/or1200_xcv_ram32x8d.v
#analyze -library WORK -format verilog $base_dir/Code/or1200_gmultp2_32x32.v
#analyze -library WORK -format verilog $base_dir/Code/or1200_dpram_256x32.v
#analyze -library WORK -format verilog $base_dir/Code/or1200_dpram_32x32.v
#analyze -library WORK -format verilog $base_dir/Code/or1200_tpram_32x32.v
analyze -library WORK -format verilog $base_dir/Code/or1200_dpram.v
analyze -library WORK -format verilog $base_dir/Code/or1200_rfram_generic.v
analyze -library WORK -format verilog $base_dir/Code/or1200_rf.v

# Pipeline
analyze -library WORK -format verilog $base_dir/Code/or1200_genpc.v
analyze -library WORK -format verilog $base_dir/Code/or1200_if.v
analyze -library WORK -format verilog $base_dir/Code/or1200_ctrl.v
analyze -library WORK -format verilog $base_dir/Code/or1200_operandmuxes.v
analyze -library WORK -format verilog $base_dir/Code/or1200_amultp2_32x32.v
analyze -library WORK -format verilog $base_dir/Code/or1200_mult_mac.v
analyze -library WORK -format verilog $base_dir/Code/or1200_sprs.v
analyze -library WORK -format verilog $base_dir/Code/or1200_lsu.v
analyze -library WORK -format verilog $base_dir/Code/or1200_wbmux.v
analyze -library WORK -format verilog $base_dir/Code/or1200_freeze.v
analyze -library WORK -format verilog $base_dir/Code/or1200_except.v
analyze -library WORK -format verilog $base_dir/Code/or1200_cfgr.v

# CPU
analyze -library WORK -format verilog $base_dir/Code/or1200_cpu.v

# Memory Configurations
#analyze -library WORK -format verilog $base_dir/Code/or1200_spram_1024x32_bw.v
#analyze -library WORK -format verilog $base_dir/Code/or1200_spram_1024x32.v
#analyze -library WORK -format verilog $base_dir/Code/or1200_spram_1024x8.v
#analyze -library WORK -format verilog $base_dir/Code/or1200_spram_128x32.v
#analyze -library WORK -format verilog $base_dir/Code/or1200_spram_2048x32_bw.v
#analyze -library WORK -format verilog $base_dir/Code/or1200_spram_2048x32.v
#analyze -library WORK -format verilog $base_dir/Code/or1200_spram_2048x8.v
#analyze -library WORK -format verilog $base_dir/Code/or1200_spram_256x21.v
#analyze -library WORK -format verilog $base_dir/Code/or1200_spram_32_bw.v
#analyze -library WORK -format verilog $base_dir/Code/or1200_spram_32x24.v
#analyze -library WORK -format verilog $base_dir/Code/or1200_spram_512x20.v
#analyze -library WORK -format verilog $base_dir/Code/or1200_spram_64x14.v
#analyze -library WORK -format verilog $base_dir/Code/or1200_spram_64x22.v
#analyze -library WORK -format verilog $base_dir/Code/or1200_spram_64x24.v
#analyze -library WORK -format verilog $base_dir/Code/or1200_spram.v


# Instruction Cache
analyze -library WORK -format verilog $base_dir/Code/or1200_ic_ram.v
analyze -library WORK -format verilog $base_dir/Code/or1200_ic_tag.v
analyze -library WORK -format verilog $base_dir/Code/or1200_ic_fsm.v
analyze -library WORK -format verilog $base_dir/Code/or1200_ic_top.v

# Data Cache
analyze -library WORK -format verilog $base_dir/Code/or1200_dc_ram.v
analyze -library WORK -format verilog $base_dir/Code/or1200_dc_tag.v
analyze -library WORK -format verilog $base_dir/Code/or1200_dc_fsm.v
analyze -library WORK -format verilog $base_dir/Code/or1200_dc_top.v

# MMU
analyze -library WORK -format verilog $base_dir/Code/or1200_immu_tlb.v
analyze -library WORK -format verilog $base_dir/Code/or1200_immu_top.v
analyze -library WORK -format verilog $base_dir/Code/or1200_dmmu_tlb.v
analyze -library WORK -format verilog $base_dir/Code/or1200_dmmu_top.v

# Bus
analyze -library WORK -format verilog $base_dir/Code/or1200_iwb_biu.v
analyze -library WORK -format verilog $base_dir/Code/or1200_wbmux.v
analyze -library WORK -format verilog $base_dir/Code/or1200_wb_biu.v

# Other ...
analyze -library WORK -format verilog $base_dir/Code/or1200_qmem_top.v
analyze -library WORK -format verilog $base_dir/Code/or1200_sb_fifo.v
analyze -library WORK -format verilog $base_dir/Code/or1200_sb.v
analyze -library WORK -format verilog $base_dir/Code/or1200_du.v
analyze -library WORK -format verilog $base_dir/Code/or1200_tt.v
analyze -library WORK -format verilog $base_dir/Code/or1200_pm.v
analyze -library WORK -format verilog $base_dir/Code/or1200_pic.v

# Top Module
analyze -library WORK -format verilog $base_dir/Code/or1200_top.v

elaborate or1200_top -architecture verilog -update
current_design or1200_top
uniquify

create_clock -name clk -period 40 -waveform [list 0.0 20] [list "clk_i"]

link
compile -map_effort medium
RE: OR1200 DC Synthesis
by amin.gholami94 on Jun 27, 2017
amin.gholami94
Posts: 1
Joined: Nov 2, 2016
Last seen: Jul 5, 2017
hi i tried your script but after running it my post_synthesis file has errors on spr_dat_i array ..
can you help me plzzzzz....
no use no use 1/1 no use no use
© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.