Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion flow/designs/rapidus2hp/hercules_idecode/prects_0.3.sdc
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,10 @@ set_load [convert_cap_value 10] [all_outputs]
set_max_capacitance [convert_cap_value 10] [all_inputs]

create_clock -name "clk" -add -period $clk_period \
-waveform [list 0.0 [expr 0.5*$clk_period]] [get_ports clk]
-waveform [list 0.0 [expr { 0.5 * $clk_period }]] [get_ports clk]

set_clock_latency $clk_period clk

### Setup input delay is set to 20% of CT
set_input_delay 0.150 -clock clk [all_inputs]
set_output_delay 0.050 -clock clk [all_outputs]
Comment on lines +20 to +22
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this need to handle convert_time_value ? It might be better to use an expression to avoid it becoming stale if clk_period changes.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it doesn't need convert_time_value since the SDC is PDK 0.3 specific. I can switch it to a percentage in a follow up PR.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok then a bit strange to have

set clk_period 370
convert_time_value clk_period

8 changes: 4 additions & 4 deletions flow/designs/rapidus2hp/hercules_idecode/rules-base.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@
"compare": "<="
},
"globalroute__timing__setup__ws": {
"value": -0.0383,
"value": -0.0596,
"compare": ">="
},
"globalroute__timing__setup__tns": {
"value": -0.473,
"value": -1.04,
"compare": ">="
},
"globalroute__timing__hold__ws": {
Expand All @@ -64,11 +64,11 @@
"compare": ">="
},
"finish__timing__setup__ws": {
"value": -0.0383,
"value": -0.0596,
"compare": ">="
},
"finish__timing__setup__tns": {
"value": -0.473,
"value": -1.04,
"compare": ">="
},
"finish__timing__hold__ws": {
Expand Down
8 changes: 4 additions & 4 deletions flow/designs/rapidus2hp/hercules_idecode/rules-verific.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@
"compare": "<="
},
"globalroute__timing__setup__ws": {
"value": -0.0225,
"value": -0.0894,
"compare": ">="
},
"globalroute__timing__setup__tns": {
"value": -0.0993,
"value": -0.314,
"compare": ">="
},
"globalroute__timing__hold__ws": {
Expand All @@ -64,11 +64,11 @@
"compare": ">="
},
"finish__timing__setup__ws": {
"value": -0.0225,
"value": -0.0894,
"compare": ">="
},
"finish__timing__setup__tns": {
"value": -0.0993,
"value": -0.314,
"compare": ">="
},
"finish__timing__hold__ws": {
Expand Down
6 changes: 6 additions & 0 deletions flow/designs/rapidus2hp/hercules_is_int/prects_0.3.sdc
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,9 @@ set_max_capacitance [convert_cap_value 10] [all_inputs]

create_clock -name "clk" -add -period $clk_period \
-waveform [list 0.0 [expr { 0.5 * $clk_period }]] [get_ports clk]

set_clock_latency $clk_period clk

### Setup input delay is set to 20% of CT
set_input_delay 0.150 -clock clk [all_inputs]
set_output_delay 0.050 -clock clk [all_outputs]
22 changes: 11 additions & 11 deletions flow/designs/rapidus2hp/hercules_is_int/rules-base.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,27 +12,27 @@
"compare": "<="
},
"placeopt__design__instance__count__stdcell": {
"value": 647733,
"value": 647436,
"compare": "<="
},
"detailedplace__design__violations": {
"value": 0,
"compare": "=="
},
"cts__design__instance__count__setup_buffer": {
"value": 56325,
"value": 56299,
"compare": "<="
},
"cts__design__instance__count__hold_buffer": {
"value": 56325,
"value": 56299,
"compare": "<="
},
"cts__timing__setup__ws": {
"value": -0.0185,
"value": -0.114,
"compare": ">="
},
"cts__timing__setup__tns": {
"value": -0.074,
"value": -85.7,
"compare": ">="
},
"cts__timing__hold__ws": {
Expand All @@ -48,35 +48,35 @@
"compare": "<="
},
"globalroute__timing__setup__ws": {
"value": -0.0815,
"value": -0.248,
"compare": ">="
},
"globalroute__timing__setup__tns": {
"value": -65.4,
"value": -567.0,
"compare": ">="
},
"globalroute__timing__hold__ws": {
"value": -0.0125,
"compare": ">="
},
"globalroute__timing__hold__tns": {
"value": -0.05,
"value": -0.302,
"compare": ">="
},
"finish__timing__setup__ws": {
"value": -0.0815,
"value": -0.248,
"compare": ">="
},
"finish__timing__setup__tns": {
"value": -65.4,
"value": -567.0,
"compare": ">="
},
"finish__timing__hold__ws": {
"value": -0.0125,
"compare": ">="
},
"finish__timing__hold__tns": {
"value": -0.05,
"value": -0.302,
"compare": ">="
},
"finish__design__instance__area": {
Expand Down
16 changes: 8 additions & 8 deletions flow/designs/rapidus2hp/hercules_is_int/rules-verific.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@
"compare": "<="
},
"cts__timing__setup__ws": {
"value": -0.0185,
"value": -0.141,
"compare": ">="
},
"cts__timing__setup__tns": {
"value": -0.074,
"value": -99.3,
"compare": ">="
},
"cts__timing__hold__ws": {
Expand All @@ -48,35 +48,35 @@
"compare": "<="
},
"globalroute__timing__setup__ws": {
"value": -0.133,
"value": -0.201,
"compare": ">="
},
"globalroute__timing__setup__tns": {
"value": -123.0,
"value": -537.0,
"compare": ">="
},
"globalroute__timing__hold__ws": {
"value": -0.0125,
"compare": ">="
},
"globalroute__timing__hold__tns": {
"value": -0.05,
"value": -0.23,
"compare": ">="
},
"finish__timing__setup__ws": {
"value": -0.133,
"value": -0.201,
"compare": ">="
},
"finish__timing__setup__tns": {
"value": -123.0,
"value": -537.0,
"compare": ">="
},
"finish__timing__hold__ws": {
"value": -0.0125,
"compare": ">="
},
"finish__timing__hold__tns": {
"value": -0.05,
"value": -0.23,
"compare": ">="
},
"finish__design__instance__area": {
Expand Down