Skip to content

Commit 9bca87d

Browse files
authored
Merge pull request #2940 from Pinata-Consulting/error-nits
Error nits
2 parents 88a6db4 + 22101c1 commit 9bca87d

File tree

5 files changed

+6
-7
lines changed

5 files changed

+6
-7
lines changed

flow/designs/asap7/mock-alu/constraints.sdc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ set_output_delay [expr $clk_period * $clk_io_pct] -clock $clk_name [all_outputs]
1414

1515
set output_regs [get_cells *io_out_REG*]
1616
if {[llength $output_regs] == 0} {
17-
puts "ERROR: Could not find *io_out_REG*"
17+
puts "Error: Could not find *io_out_REG*"
1818
exit 1
1919
}

flow/scripts/floorplan.tcl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ set use_core_utilization [env_var_exists_and_non_empty CORE_UTILIZATION]
5050

5151
set methods_defined [expr {$use_floorplan_def + $use_footprint + $use_die_and_core_area + $use_core_utilization}]
5252
if {$methods_defined > 1} {
53-
puts "ERROR: Floorplan initialization methods are mutually exclusive, pick one."
53+
puts "Error: Floorplan initialization methods are mutually exclusive, pick one."
5454
exit 1
5555
}
5656

@@ -88,7 +88,7 @@ if {$use_floorplan_def} {
8888
-site $::env(PLACE_SITE) \
8989
{*}$additional_args
9090
} else {
91-
puts "ERROR: No floorplan initialization method specified"
91+
puts "Error: No floorplan initialization method specified"
9292
exit 1
9393
}
9494

flow/scripts/mem_dump.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,5 @@ def format_ram_table_from_json(data, max_bits=None):
123123
print(formatted_table)
124124
if not max_ok:
125125
sys.exit(
126-
"ERROR: Synthesized memory size exceeds maximum allowed bits "
127-
+ str(args.max_bits)
126+
f"Error: Synthesized memory size {args.max_bits} exceeds SYNTH_MEMORY_MAX_BITS"
128127
)

flow/scripts/util.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ proc recover_power_helper {} {
6969

7070
proc extract_stage {input_file} {
7171
if {![regexp {/([0-9])_(([0-9])_)?} $input_file match num1 _ num2]} {
72-
puts "ERROR: Could not determine design stage from $input_file"
72+
puts "Error: Could not determine design stage from $input_file"
7373
exit 1
7474
}
7575
lappend number_groups $num1

flow/util/addDummyToLef.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,5 @@
3030
f.write(result)
3131
f.close()
3232
else:
33-
print("ERROR: Pattern not found")
33+
print("Error: Pattern not found")
3434
sys.exit(1)

0 commit comments

Comments
 (0)