ARRAY - FIFO 3

For general discussion related FlowStone
Post Reply
User avatar
tiffy
Posts: 400
Joined: Wed May 08, 2013 12:14 pm

ARRAY - FIFO 3

Post by tiffy »

The individual data can be withdrawn from the Array in both Directions (Up/Down).

Sorry people, I forgot to connect the Afterload Primitive in the schematic to one of its Resets. This version 3.1 is corrected now.
Attachments
Array - FIFO 3.1.fsm
(1.98 KiB) Downloaded 927 times
User avatar
kortezzzz
Posts: 763
Joined: Tue Mar 19, 2013 4:21 pm

Re: ARRAY - FIFO 3

Post by kortezzzz »

Works great :) Thanks. The only thing I would change is removing the Ruby module that counts the array length and just adding a simple green integer primitive that does the same
https://imgur.com/86AD4WV
User avatar
tiffy
Posts: 400
Joined: Wed May 08, 2013 12:14 pm

Re: ARRAY - FIFO 3

Post by tiffy »

kortezzzz wrote:Works great :) Thanks. The only thing I would change is removing the Ruby module that counts the array length and just adding a simple green integer primitive that does the same
https://imgur.com/86AD4WV


Thank you kortezzzz...you know, I was looking for that 'green' primitive in the FlowStone toolbox to calculate the array length (I know there exist a green primitive to calculate string length) but I could not find any therefore I used the Ruby module.

To be honest, I never knew about that little trick to make a 'green' primitive to calculate the Array length you showed me.
User avatar
kortezzzz
Posts: 763
Joined: Tue Mar 19, 2013 4:21 pm

Re: ARRAY - FIFO 3

Post by kortezzzz »

The Trick works whenever you connect an array to other type of edit box primitive. For instance, connect float array to integer or vice versa, or string array to int. or float :)

Cheers!
Post Reply