-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun.tcl
More file actions
executable file
·41 lines (30 loc) · 1.19 KB
/
run.tcl
File metadata and controls
executable file
·41 lines (30 loc) · 1.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Import Design
read_file ./SingleCycleMIPS.v
current_design [get_designs SingleCycleMIPS]
link
source -echo -verbose ./SingleCycleMIPS.sdc
# Compile Design
current_design [get_designs SingleCycleMIPS]
set high_fanout_net_threshold 0
uniquify
set_fix_multiple_port_nets -all -buffer_constants [get_designs *]
set_max_area 0
compile_ultra
# Output Design
current_design [get_designs SingleCycleMIPS]
remove_unconnected_ports -blast_buses [get_cells -hierarchical *]
set bus_inference_style {%s[%d]}
set bus_naming_style {%s[%d]}
set hdlout_internal_busses true
change_names -hierarchy -rule verilog
define_name_rules name_rule -allowed {a-z A-Z 0-9 _} -max_length 255 -type cell
define_name_rules name_rule -allowed {a-z A-Z 0-9 _[]} -max_length 255 -type net
define_name_rules name_rule -map {{"\\*cell\\*" "cell"}}
define_name_rules name_rule -case_insensitive
change_names -hierarchy -rules name_rule
# rename when you do FPU part!
write_sdf -version 2.1 ./SingleCycleMIPS_syn.sdf
write -hierarchy -format verilog -output ./SingleCycleMIPS_syn.v
write -hierarchy -format ddc -output ./SingleCycleMIPS_syn.ddc
report_area -nosplit -hierarchy > ./area.txt
report_timing > ./timing.txt