/***************************** flipFlop *****************************/ include "LIBRARY/flipFlop.lib"; define base = 16, n = 8; path clock; path opd1[ n ]; path result[ n ]; input( "opd1", 10, 100, base, n ) { out opd1 }; counter( "clock", 10, 200, base, 1 ) { out clock }; { in clock, opd1 } bitMemory( n ) { out result }; { in result } output( "result", 10, 300, base, n );