Skip to content

Commit 149edab

Browse files
authored
Merge pull request The-OpenROAD-Project#3391 from The-OpenROAD-Project-staging/initial-hercules_idecode
Initial commit of hercules_idecode on Rapidus
2 parents f09073f + d714e32 commit 149edab

File tree

4 files changed

+90
-1
lines changed

4 files changed

+90
-1
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
export PLATFORM = rapidus2hp
2+
3+
export DESIGN_NAME = hercules_idecode
4+
5+
export SRC_HOME = /platforms/Rapidus/designs/hercules_idecode
6+
export VERILOG_FILES = $(sort $(wildcard $(SRC_HOME)/hercules_idecode/verilog/*.sv)) \
7+
$(sort $(wildcard $(SRC_HOME)/shared/verilog/*.sv)) \
8+
$(sort $(wildcard $(SRC_HOME)/models/cells/generic/*.sv))
9+
10+
export VERILOG_INCLUDE_DIRS = $(SRC_HOME)/hercules_idecode/verilog \
11+
$(SRC_HOME)/shared/verilog \
12+
$(SRC_HOME)/models/cells/generic
13+
14+
export SDC_FILE = $(DESIGN_HOME)/$(PLATFORM)/$(DESIGN_NAME)/prects.sdc
15+
16+
export SYNTH_HDL_FRONTEND ?= slang
17+
export CORE_UTILIZATION = 25
18+
export CORE_MARGIN = 1
19+
export PLACE_DENSITY = 0.50
20+
21+
# a smoketest for this option, there are a
22+
# few last gasp iterations
23+
export SKIP_LAST_GASP ?= 1
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#set sdc_version 2.1
2+
set sdc_version 1.4
3+
current_design hercules_idecode
4+
5+
set clk_period 250
6+
7+
set_max_fanout 32 [current_design]
8+
set_load 10 [all_outputs]
9+
set_max_capacitance 10 [all_inputs]
10+
11+
create_clock -name "clk" -add -period $clk_period \
12+
-waveform [list 0.0 [expr 0.5*$clk_period]] [get_ports clk]
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
{
2+
"synth__design__instance__area__stdcell": {
3+
"value": 8741.01,
4+
"compare": "<="
5+
},
6+
"constraints__clocks__count": {
7+
"value": 1,
8+
"compare": "=="
9+
},
10+
"placeopt__design__instance__area": {
11+
"value": 17454,
12+
"compare": "<="
13+
},
14+
"placeopt__design__instance__count__stdcell": {
15+
"value": 315828,
16+
"compare": "<="
17+
},
18+
"detailedplace__design__violations": {
19+
"value": 0,
20+
"compare": "=="
21+
},
22+
"cts__design__instance__count__setup_buffer": {
23+
"value": 27463,
24+
"compare": "<="
25+
},
26+
"cts__design__instance__count__hold_buffer": {
27+
"value": 27463,
28+
"compare": "<="
29+
},
30+
"globalroute__antenna_diodes_count": {
31+
"value": 0,
32+
"compare": "<="
33+
},
34+
"finish__timing__setup__ws": {
35+
"value": -79.25,
36+
"compare": ">="
37+
},
38+
"finish__design__instance__area": {
39+
"value": 17734,
40+
"compare": "<="
41+
},
42+
"finish__timing__drv__setup_violation_count": {
43+
"value": 13732,
44+
"compare": "<="
45+
},
46+
"finish__timing__drv__hold_violation_count": {
47+
"value": 149,
48+
"compare": "<="
49+
},
50+
"finish__timing__wns_percent_delay": {
51+
"value": -31.7,
52+
"compare": ">="
53+
}
54+
}

flow/scripts/synth_preamble.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ proc read_design_sources { } {
4747
# slang requires all files at once
4848
plugin -i slang
4949
yosys read_slang -D SYNTHESIS --keep-hierarchy --compat=vcs \
50-
--ignore-assertions --top $::env(DESIGN_NAME) \
50+
--ignore-assertions --no-implicit-memories --top $::env(DESIGN_NAME) \
5151
{*}$vIdirsArgs {*}$::env(VERILOG_FILES) {*}[env_var_or_empty VERILOG_DEFINES]
5252
# Workaround for yosys-slang#119
5353
setattr -unset init

0 commit comments

Comments
 (0)