Operation Replacement in a SFG
Description of issue:
Several operations in a SFG should be able to be replaced by a fewer amount of operations with the same amount of in/output ports. The resulting SFG should be do the same thing as the previous SFG.
Example from customer:
T ex multiplikation följt av addition, så a*b + c, där det dels kan realiseras som separata operationer, eller som en operation med tre ingångar (t ex FPGA:er brukar ha den strukturen inbyggd och processorer brukar ha en speciell instruktion för det när det kommer till flyttal). Poängen är alltså att man skriver koden "som vanligt" men sedan säger att vi vill inte ha multiplikationer och additioner, vi vill ha MAD-operationer istället (multiply-and-add).
( 26 )
Potential Issues:None
Blockers:( #8 (closed), #15 (closed), #80 (closed) )
Issue Requirements:- Given a valid SFG with a set of operations. Then a new SFG may be able to be created with fewer amount of operations. The resulting SFG should have the same functionality.
- The amount of in/output ports to the operations and SFG should be the same after replacing.
None