Commit 70177581 authored by Samuel GAIST's avatar Samuel GAIST

[toolchain] Use processor_ prefix for processor algorithm inputs/outputs

parent 1f6fc3ae
......@@ -86,13 +86,13 @@
"synchronized_channel": {
"$ref": "../database/1.json#/definitions/identifier"
},
"inputs": {
"processor_inputs": {
"type": "array",
"minItems": 1,
"uniqueItems": true,
"items": { "$ref": "common.json#/definitions/identifier" }
},
"outputs": {
"processor_outputs": {
"type": "array",
"minItems": 1,
"uniqueItems": true,
......@@ -114,8 +114,8 @@
"required": [
"name",
"synchronized_channel",
"inputs",
"outputs",
"processor_inputs",
"processor_outputs",
"evaluator_inputs",
"evaluator_outputs"
],
......
......@@ -41,10 +41,10 @@
{
"name": "loop_super_block",
"synchronized_channel": "integers",
"inputs": [
"processor_inputs": [
"in"
],
"outputs": [
"processor_outputs": [
"out"
],
"evaluator_inputs": [
......
......@@ -61,10 +61,10 @@
{
"name": "loop_super_block",
"synchronized_channel": "integers",
"inputs": [
"processor_inputs": [
"in"
],
"outputs": [
"processor_outputs": [
"out"
],
"evaluator_inputs": [
......@@ -77,10 +77,10 @@
{
"name": "echo_loop_block",
"synchronized_channel": "integers",
"inputs": [
"processor_inputs": [
"in"
],
"outputs": [
"processor_outputs": [
"out"
],
"evaluator_inputs": [
......
......@@ -232,7 +232,7 @@ class Toolchain(object):
else:
names[loop_name] = "/loops/%s[#%d]" % (loop_name, i)
for prefix in ["", "evaluator_"]:
for prefix in ["processor_", "evaluator_"]:
inputs += [
"%s.%s" % (loop_name, k) for k in loop[prefix + "inputs"]
]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment