Sha256: d6e67885d8d57e3668b4d6d103f281831440c1fdbb0addfea2f18eb3a0e5ecca

Contents?: true

Size: 928 Bytes

Versions: 5

Compression:

Stored size: 928 Bytes

Contents

flow <%= flow_name %> {
% input_variables.each do |var|
%   if var.is_a?(Array)
    in <%= var[0].to_s %> = <%= var[1].is_a?(String) || var[1].is_a?(Symbol) ? "\"#{var[1]}\"" : var[1] %>;
%   else
    in <%= var.to_s %> = -1;
%   end
% end

% output_variables.each do |var|
%   if var.is_a?(Array)
    out <%= var[0].to_s %> = <%= var[1].is_a?(String) || var[1].is_a?(Symbol) ? "\"#{var[1]}\"" : var[1] %>;
%   else
    out <%= var.to_s %> = -1;
%   end
% end

    setup {
% test_suites.sorted_collection.each do |suite|
%   suite.lines.each do |line|
        <%= line %>
%   end

% end
% auxiliary_flows.each do |name, path|
        flow <%= name %> calls <%= path %> {}
% end
% sub_flows.each do |name, path|
        flow <%= name %> calls <%= path %> { }
% end
    }

    execute {
% flow_header.each do |line|
<%= line %>
% end
% lines.each do |line|
<%= line %>
% end
% flow_footer.each do |line|
<%= line %>
% end
    }
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
origen_testers-0.52.5 lib/origen_testers/smartest_based_tester/v93k_smt8/templates/template.flow.erb
origen_testers-0.52.4 lib/origen_testers/smartest_based_tester/v93k_smt8/templates/template.flow.erb
origen_testers-0.52.3 lib/origen_testers/smartest_based_tester/v93k_smt8/templates/template.flow.erb
origen_testers-0.52.1 lib/origen_testers/smartest_based_tester/v93k_smt8/templates/template.flow.erb
origen_testers-0.52.0 lib/origen_testers/smartest_based_tester/v93k_smt8/templates/template.flow.erb