Skip to content
Snippets Groups Projects
Commit c13547a0 authored by Mikael Henriksson's avatar Mikael Henriksson
Browse files

csv_to_plot_single_file.m: fix in-data in non-generic branch

parent 92a37bb7
No related branches found
No related tags found
No related merge requests found
...@@ -74,10 +74,10 @@ else ...@@ -74,10 +74,10 @@ else
% in the frequency/area figure. % in the frequency/area figure.
% Extract table data % Extract table data
period = table2array(current_data(:,1)); period = table2array(in_data(:,1));
size = table2array(current_data(:,2)); size = table2array(in_data(:,2));
power = table2array(current_data(:,3)); power = table2array(in_data(:,3));
slack = table2array(current_data(:,4)); slack = table2array(in_data(:,4));
critical_path = period - min(zeros(length(period), 1), slack); critical_path = period - min(zeros(length(period), 1), slack);
% Conditionally exlude negative slack points % Conditionally exlude negative slack points
...@@ -94,6 +94,7 @@ else ...@@ -94,6 +94,7 @@ else
1000./fig_periods, fig_size, ... 1000./fig_periods, fig_size, ...
'LineWidth', 2 ... 'LineWidth', 2 ...
); );
legend(LEGENDS);
end end
xlabel('Frequency MHz'); xlabel('Frequency MHz');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment