inst2.0         !15:00 03-Jun-88  (tsp.ins)  TSP Network Builder Model
!****************************************************************
!*                                                              *
!*      TSP Network Generator                                   *
!*                                                              *
!****************************************************************

!       *** check that input PE count is non-zero


=n3     25              ! Number of PEs per 3 major layers

!       *** Load the Control Strategy and LRS if needed

@LdCS   "tsp"                   !control strategy
@LdLR   "tsp"                   !L/R schedule
@LdSt   "tsp"                   !style sheet = TSP

=netn   "InstaNet (tm) TSP Network version 1.00 20-Jun-88"
=DLnF   0                       !learn  re-display off
=DRcF   0                       !recall re-display off

!       *** Build the Input Layer ***

@LLdf                           !load default layer to mi_layer structure
=LDsp 3
=LDln   "Input"                 !layer name
=Lpes   n3                      !copy # of input PEs from menu
=x      100                     !place to put layer on screen
=y       35
@LAdd                           !add the input layer
=n0     LayN                    !track previous layer
=n2   LayN          !keep a pointer to this layer

!       *** Build the Hopfield Layer ***

@LLdf                           !start with default layer again
=LDsp 3
=LDln   "Hopfield"              !layer name
=Lpes   n3                      !desired number of PEs
=Lsum   "CumSum"                !summation function
=Ltrn   "Sigmoid"                  !transfer function
=Lscl 1.0           ! add scale
=Loff 0.0           ! add offset
+y      235                     !up higher on display
@LAdd

!       *** Connect it to the input layer ***

=SPEl   LayN                    !current layer
@SlPE
=NPEl   n0                      !input layer
@NrPE
=cnwt   1.0                     !unit weight
=cnsc   WRel
=cnty   WSet
@LCCr                           !connect corresponding items

!       *** Connect it to itself ***

=NPEl   LayN                    !connect layer to itself
=cnsc   WAbs                    !absolute connection geometry

=n0     LayN                    !track hopfield layer




!      Distance Terms   

@PECN 0,9,-0.019244,M
@PECN 0,6,-0.019244,M
@PECN 0,14,-0.041166,M
@PECN 0,11,-0.041166,M
@PECN 0,19,-0.019244,M
@PECN 0,16,-0.019244,M
@PECN 0,24,-0.003742,M
@PECN 0,21,-0.003742,M
@PECN 1,5,-0.019244,M
@PECN 1,7,-0.019244,M
@PECN 1,10,-0.041166,M
@PECN 1,12,-0.041166,M
@PECN 1,15,-0.019244,M
@PECN 1,17,-0.019244,M
@PECN 1,20,-0.003742,M
@PECN 1,22,-0.003742,M
@PECN 2,6,-0.019244,M
@PECN 2,8,-0.019244,M
@PECN 2,11,-0.041166,M
@PECN 2,13,-0.041166,M
@PECN 2,16,-0.019244,M
@PECN 2,18,-0.019244,M
@PECN 2,21,-0.003742,M
@PECN 2,23,-0.003742,M
@PECN 3,7,-0.019244,M
@PECN 3,9,-0.019244,M
@PECN 3,12,-0.041166,M
@PECN 3,14,-0.041166,M
@PECN 3,17,-0.019244,M
@PECN 3,19,-0.019244,M
@PECN 3,22,-0.003742,M
@PECN 3,24,-0.003742,M
@PECN 4,8,-0.019244,M
@PECN 4,5,-0.019244,M
@PECN 4,13,-0.041166,M
@PECN 4,10,-0.041166,M
@PECN 4,18,-0.019244,M
@PECN 4,15,-0.019244,M
@PECN 4,23,-0.003742,M
@PECN 4,20,-0.003742,M
@PECN 5,4,-0.019244,M
@PECN 5,1,-0.019244,M
@PECN 5,14,-0.019244,M
@PECN 5,11,-0.019244,M
@PECN 5,19,-0.041166,M
@PECN 5,16,-0.041166,M
@PECN 5,24,-0.050000,M
@PECN 5,21,-0.050000,M
@PECN 6,0,-0.019244,M
@PECN 6,2,-0.019244,M
@PECN 6,10,-0.019244,M
@PECN 6,12,-0.019244,M
@PECN 6,15,-0.041166,M
@PECN 6,17,-0.041166,M
@PECN 6,20,-0.050000,M
@PECN 6,22,-0.050000,M
@PECN 7,1,-0.019244,M
@PECN 7,3,-0.019244,M
@PECN 7,11,-0.019244,M
@PECN 7,13,-0.019244,M
@PECN 7,16,-0.041166,M
@PECN 7,18,-0.041166,M
@PECN 7,21,-0.050000,M
@PECN 7,23,-0.050000,M
@PECN 8,2,-0.019244,M
@PECN 8,4,-0.019244,M
@PECN 8,12,-0.019244,M
@PECN 8,14,-0.019244,M
@PECN 8,17,-0.041166,M
@PECN 8,19,-0.041166,M
@PECN 8,22,-0.050000,M
@PECN 8,24,-0.050000,M
@PECN 9,3,-0.019244,M
@PECN 9,0,-0.019244,M
@PECN 9,13,-0.019244,M
@PECN 9,10,-0.019244,M
@PECN 9,18,-0.041166,M
@PECN 9,15,-0.041166,M
@PECN 9,23,-0.050000,M
@PECN 9,20,-0.050000,M
@PECN 10,4,-0.041166,M
@PECN 10,1,-0.041166,M
@PECN 10,9,-0.019244,M
@PECN 10,6,-0.019244,M
@PECN 10,19,-0.019244,M
@PECN 10,16,-0.019244,M
@PECN 10,24,-0.050000,M
@PECN 10,21,-0.050000,M
@PECN 11,0,-0.041166,M
@PECN 11,2,-0.041166,M
@PECN 11,5,-0.019244,M
@PECN 11,7,-0.019244,M
@PECN 11,15,-0.019244,M
@PECN 11,17,-0.019244,M
@PECN 11,20,-0.050000,M
@PECN 11,22,-0.050000,M
@PECN 12,1,-0.041166,M
@PECN 12,3,-0.041166,M
@PECN 12,6,-0.019244,M
@PECN 12,8,-0.019244,M
@PECN 12,16,-0.019244,M
@PECN 12,18,-0.019244,M
@PECN 12,21,-0.050000,M
@PECN 12,23,-0.050000,M
@PECN 13,2,-0.041166,M
@PECN 13,4,-0.041166,M
@PECN 13,7,-0.019244,M
@PECN 13,9,-0.019244,M
@PECN 13,17,-0.019244,M
@PECN 13,19,-0.019244,M
@PECN 13,22,-0.050000,M
@PECN 13,24,-0.050000,M
@PECN 14,3,-0.041166,M
@PECN 14,0,-0.041166,M
@PECN 14,8,-0.019244,M
@PECN 14,5,-0.019244,M
@PECN 14,18,-0.019244,M
@PECN 14,15,-0.019244,M
@PECN 14,23,-0.050000,M
@PECN 14,20,-0.050000,M
@PECN 15,4,-0.019244,M
@PECN 15,1,-0.019244,M
@PECN 15,9,-0.041166,M
@PECN 15,6,-0.041166,M
@PECN 15,14,-0.019244,M
@PECN 15,11,-0.019244,M
@PECN 15,24,-0.003742,M
@PECN 15,21,-0.003742,M
@PECN 16,0,-0.019244,M
@PECN 16,2,-0.019244,M
@PECN 16,5,-0.041166,M
@PECN 16,7,-0.041166,M
@PECN 16,10,-0.019244,M
@PECN 16,12,-0.019244,M
@PECN 16,20,-0.003742,M
@PECN 16,22,-0.003742,M
@PECN 17,1,-0.019244,M
@PECN 17,3,-0.019244,M
@PECN 17,6,-0.041166,M
@PECN 17,8,-0.041166,M
@PECN 17,11,-0.019244,M
@PECN 17,13,-0.019244,M
@PECN 17,21,-0.003742,M
@PECN 17,23,-0.003742,M
@PECN 18,2,-0.019244,M
@PECN 18,4,-0.019244,M
@PECN 18,7,-0.041166,M
@PECN 18,9,-0.041166,M
@PECN 18,12,-0.019244,M
@PECN 18,14,-0.019244,M
@PECN 18,22,-0.003742,M
@PECN 18,24,-0.003742,M
@PECN 19,3,-0.019244,M
@PECN 19,0,-0.019244,M
@PECN 19,8,-0.041166,M
@PECN 19,5,-0.041166,M
@PECN 19,13,-0.019244,M
@PECN 19,10,-0.019244,M
@PECN 19,23,-0.003742,M
@PECN 19,20,-0.003742,M
@PECN 20,4,-0.003742,M
@PECN 20,1,-0.003742,M
@PECN 20,9,-0.050000,M
@PECN 20,6,-0.050000,M
@PECN 20,14,-0.050000,M
@PECN 20,11,-0.050000,M
@PECN 20,19,-0.003742,M
@PECN 20,16,-0.003742,M
@PECN 21,0,-0.003742,M
@PECN 21,2,-0.003742,M
@PECN 21,5,-0.050000,M
@PECN 21,7,-0.050000,M
@PECN 21,10,-0.050000,M
@PECN 21,12,-0.050000,M
@PECN 21,15,-0.003742,M
@PECN 21,17,-0.003742,M
@PECN 22,1,-0.003742,M
@PECN 22,3,-0.003742,M
@PECN 22,6,-0.050000,M
@PECN 22,8,-0.050000,M
@PECN 22,11,-0.050000,M
@PECN 22,13,-0.050000,M
@PECN 22,16,-0.003742,M
@PECN 22,18,-0.003742,M
@PECN 23,2,-0.003742,M
@PECN 23,4,-0.003742,M
@PECN 23,7,-0.050000,M
@PECN 23,9,-0.050000,M
@PECN 23,12,-0.050000,M
@PECN 23,14,-0.050000,M
@PECN 23,17,-0.003742,M
@PECN 23,19,-0.003742,M
@PECN 24,3,-0.003742,M
@PECN 24,0,-0.003742,M
@PECN 24,8,-0.050000,M
@PECN 24,5,-0.050000,M
@PECN 24,13,-0.050000,M
@PECN 24,10,-0.050000,M
@PECN 24,18,-0.003742,M
@PECN 24,15,-0.003742,M

!      Inhibitory connections within row   

@PECN 0,1,-0.050000,F
@PECN 0,2,-0.050000,F
@PECN 0,3,-0.050000,F
@PECN 0,4,-0.050000,F
@PECN 1,0,-0.050000,F
@PECN 1,2,-0.050000,F
@PECN 1,3,-0.050000,F
@PECN 1,4,-0.050000,F
@PECN 2,0,-0.050000,F
@PECN 2,1,-0.050000,F
@PECN 2,3,-0.050000,F
@PECN 2,4,-0.050000,F
@PECN 3,0,-0.050000,F
@PECN 3,1,-0.050000,F
@PECN 3,2,-0.050000,F
@PECN 3,4,-0.050000,F
@PECN 4,0,-0.050000,F
@PECN 4,1,-0.050000,F
@PECN 4,2,-0.050000,F
@PECN 4,3,-0.050000,F
@PECN 5,6,-0.050000,F
@PECN 5,7,-0.050000,F
@PECN 5,8,-0.050000,F
@PECN 5,9,-0.050000,F
@PECN 6,5,-0.050000,F
@PECN 6,7,-0.050000,F
@PECN 6,8,-0.050000,F
@PECN 6,9,-0.050000,F
@PECN 7,5,-0.050000,F
@PECN 7,6,-0.050000,F
@PECN 7,8,-0.050000,F
@PECN 7,9,-0.050000,F
@PECN 8,5,-0.050000,F
@PECN 8,6,-0.050000,F
@PECN 8,7,-0.050000,F
@PECN 8,9,-0.050000,F
@PECN 9,5,-0.050000,F
@PECN 9,6,-0.050000,F
@PECN 9,7,-0.050000,F
@PECN 9,8,-0.050000,F
@PECN 10,11,-0.050000,F
@PECN 10,12,-0.050000,F
@PECN 10,13,-0.050000,F
@PECN 10,14,-0.050000,F
@PECN 11,10,-0.050000,F
@PECN 11,12,-0.050000,F
@PECN 11,13,-0.050000,F
@PECN 11,14,-0.050000,F
@PECN 12,10,-0.050000,F
@PECN 12,11,-0.050000,F
@PECN 12,13,-0.050000,F
@PECN 12,14,-0.050000,F
@PECN 13,10,-0.050000,F
@PECN 13,11,-0.050000,F
@PECN 13,12,-0.050000,F
@PECN 13,14,-0.050000,F
@PECN 14,10,-0.050000,F
@PECN 14,11,-0.050000,F
@PECN 14,12,-0.050000,F
@PECN 14,13,-0.050000,F
@PECN 15,16,-0.050000,F
@PECN 15,17,-0.050000,F
@PECN 15,18,-0.050000,F
@PECN 15,19,-0.050000,F
@PECN 16,15,-0.050000,F
@PECN 16,17,-0.050000,F
@PECN 16,18,-0.050000,F
@PECN 16,19,-0.050000,F
@PECN 17,15,-0.050000,F
@PECN 17,16,-0.050000,F
@PECN 17,18,-0.050000,F
@PECN 17,19,-0.050000,F
@PECN 18,15,-0.050000,F
@PECN 18,16,-0.050000,F
@PECN 18,17,-0.050000,F
@PECN 18,19,-0.050000,F
@PECN 19,15,-0.050000,F
@PECN 19,16,-0.050000,F
@PECN 19,17,-0.050000,F
@PECN 19,18,-0.050000,F
@PECN 20,21,-0.050000,F
@PECN 20,22,-0.050000,F
@PECN 20,23,-0.050000,F
@PECN 20,24,-0.050000,F
@PECN 21,20,-0.050000,F
@PECN 21,22,-0.050000,F
@PECN 21,23,-0.050000,F
@PECN 21,24,-0.050000,F
@PECN 22,20,-0.050000,F
@PECN 22,21,-0.050000,F
@PECN 22,23,-0.050000,F
@PECN 22,24,-0.050000,F
@PECN 23,20,-0.050000,F
@PECN 23,21,-0.050000,F
@PECN 23,22,-0.050000,F
@PECN 23,24,-0.050000,F
@PECN 24,20,-0.050000,F
@PECN 24,21,-0.050000,F
@PECN 24,22,-0.050000,F
@PECN 24,23,-0.050000,F

!      Inhibitory connections within column   

@PECN 0,5,-0.050000,F
@PECN 0,10,-0.050000,F
@PECN 0,15,-0.050000,F
@PECN 0,20,-0.050000,F
@PECN 5,0,-0.050000,F
@PECN 5,10,-0.050000,F
@PECN 5,15,-0.050000,F
@PECN 5,20,-0.050000,F
@PECN 10,0,-0.050000,F
@PECN 10,5,-0.050000,F
@PECN 10,15,-0.050000,F
@PECN 10,20,-0.050000,F
@PECN 15,0,-0.050000,F
@PECN 15,5,-0.050000,F
@PECN 15,10,-0.050000,F
@PECN 15,20,-0.050000,F
@PECN 20,0,-0.050000,F
@PECN 20,5,-0.050000,F
@PECN 20,10,-0.050000,F
@PECN 20,15,-0.050000,F
@PECN 1,6,-0.050000,F
@PECN 1,11,-0.050000,F
@PECN 1,16,-0.050000,F
@PECN 1,21,-0.050000,F
@PECN 6,1,-0.050000,F
@PECN 6,11,-0.050000,F
@PECN 6,16,-0.050000,F
@PECN 6,21,-0.050000,F
@PECN 11,1,-0.050000,F
@PECN 11,6,-0.050000,F
@PECN 11,16,-0.050000,F
@PECN 11,21,-0.050000,F
@PECN 16,1,-0.050000,F
@PECN 16,6,-0.050000,F
@PECN 16,11,-0.050000,F
@PECN 16,21,-0.050000,F
@PECN 21,1,-0.050000,F
@PECN 21,6,-0.050000,F
@PECN 21,11,-0.050000,F
@PECN 21,16,-0.050000,F
@PECN 2,7,-0.050000,F
@PECN 2,12,-0.050000,F
@PECN 2,17,-0.050000,F
@PECN 2,22,-0.050000,F
@PECN 7,2,-0.050000,F
@PECN 7,12,-0.050000,F
@PECN 7,17,-0.050000,F
@PECN 7,22,-0.050000,F
@PECN 12,2,-0.050000,F
@PECN 12,7,-0.050000,F
@PECN 12,17,-0.050000,F
@PECN 12,22,-0.050000,F
@PECN 17,2,-0.050000,F
@PECN 17,7,-0.050000,F
@PECN 17,12,-0.050000,F
@PECN 17,22,-0.050000,F
@PECN 22,2,-0.050000,F
@PECN 22,7,-0.050000,F
@PECN 22,12,-0.050000,F
@PECN 22,17,-0.050000,F
@PECN 3,8,-0.050000,F
@PECN 3,13,-0.050000,F
@PECN 3,18,-0.050000,F
@PECN 3,23,-0.050000,F
@PECN 8,3,-0.050000,F
@PECN 8,13,-0.050000,F
@PECN 8,18,-0.050000,F
@PECN 8,23,-0.050000,F
@PECN 13,3,-0.050000,F
@PECN 13,8,-0.050000,F
@PECN 13,18,-0.050000,F
@PECN 13,23,-0.050000,F
@PECN 18,3,-0.050000,F
@PECN 18,8,-0.050000,F
@PECN 18,13,-0.050000,F
@PECN 18,23,-0.050000,F
@PECN 23,3,-0.050000,F
@PECN 23,8,-0.050000,F
@PECN 23,13,-0.050000,F
@PECN 23,18,-0.050000,F
@PECN 4,9,-0.050000,F
@PECN 4,14,-0.050000,F
@PECN 4,19,-0.050000,F
@PECN 4,24,-0.050000,F
@PECN 9,4,-0.050000,F
@PECN 9,14,-0.050000,F
@PECN 9,19,-0.050000,F
@PECN 9,24,-0.050000,F
@PECN 14,4,-0.050000,F
@PECN 14,9,-0.050000,F
@PECN 14,19,-0.050000,F
@PECN 14,24,-0.050000,F
@PECN 19,4,-0.050000,F
@PECN 19,9,-0.050000,F
@PECN 19,14,-0.050000,F
@PECN 19,24,-0.050000,F
@PECN 24,4,-0.050000,F
@PECN 24,9,-0.050000,F
@PECN 24,14,-0.050000,F
@PECN 24,19,-0.050000,F
=SPEl    n2   ! point at current layer 
@PEVL       0,0.197136
@PEVL       1,0.192567
@PEVL       2,0.204066
@PEVL       3,0.204748
@PEVL       4,0.206050
@PEVL       5,0.208305
@PEVL       6,0.200228
@PEVL       7,0.205241
@PEVL       8,0.199128
@PEVL       9,0.199421
@PEVL       10,0.195991
@PEVL       11,0.202251
@PEVL       12,0.191468
@PEVL       13,0.199964
@PEVL       14,0.194392
@PEVL       15,0.190829
@PEVL       16,0.201298
@PEVL       17,0.203957
@PEVL       18,0.209020
@PEVL       19,0.208332
@PEVL       20,0.202608
@PEVL       21,0.202108
@PEVL       22,0.208754
@PEVL       23,0.192852
@PEVL       24,0.206149

!     Excitatory connections within row   


! *** Bias layer Definition ***
!       *** Build the feed-back layer ***

@LLdf                           !start with default layer again
=LDsp 3
=LDln   "Inh"                   !accumulate inhibitions
=Lpes   5                       !5 PEs
=x      10                      !shift left for this one
=y      290                      !up higher on display
=Lscl -0.010000            ! add scale
=Loff 0.010000            ! add offset
@LAdd
+x      30                      !shift back right again
=cnwt   1.0                     !weight of one
=cnty   WFix                    !fixed
=cnsc   WAbs                    !absolute

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 0,0,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 0,0,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 1,0,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 0,1,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 2,0,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 0,2,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 3,0,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 0,3,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 4,0,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 0,4,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 0,1,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 1,0,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 1,1,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 1,1,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 2,1,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 1,2,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 3,1,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 1,3,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 4,1,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 1,4,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 0,2,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 2,0,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 1,2,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 2,1,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 2,2,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 2,2,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 3,2,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 2,3,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 4,2,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 2,4,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 0,3,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 3,0,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 1,3,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 3,1,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 2,3,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 3,2,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 3,3,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 3,3,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 4,3,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 3,4,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 0,4,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 4,0,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 1,4,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 4,1,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 2,4,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 4,2,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 3,4,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 4,3,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 4,4,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 4,4,1.000000,F

! *** Bias layer Definition ***
!       *** Build the feed-back layer ***

@LLdf                           !start with default layer again
=LDsp 3
=LDln   "Inh"                   !accumulate inhibitions
=Lpes   5                       !5 PEs
=x      60                      !shift left for this one
=y      290                      !up higher on display
=Lscl -0.010000            ! add scale
=Loff 0.010000            ! add offset
@LAdd
+x      30                      !shift back right again
=cnwt   1.0                     !weight of one
=cnty   WFix                    !fixed
=cnsc   WAbs                    !absolute

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 5,0,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 0,5,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 6,0,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 0,6,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 7,0,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 0,7,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 8,0,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 0,8,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 9,0,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 0,9,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 5,1,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 1,5,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 6,1,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 1,6,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 7,1,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 1,7,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 8,1,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 1,8,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 9,1,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 1,9,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 5,2,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 2,5,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 6,2,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 2,6,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 7,2,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 2,7,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 8,2,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 2,8,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 9,2,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 2,9,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 5,3,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 3,5,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 6,3,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 3,6,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 7,3,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 3,7,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 8,3,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 3,8,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 9,3,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 3,9,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 5,4,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 4,5,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 6,4,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 4,6,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 7,4,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 4,7,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 8,4,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 4,8,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 9,4,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 4,9,1.000000,F

! *** Bias layer Definition ***
!       *** Build the feed-back layer ***

@LLdf                           !start with default layer again
=LDsp 3
=LDln   "Inh"                   !accumulate inhibitions
=Lpes   5                       !5 PEs
=x      110                      !shift left for this one
=y      290                      !up higher on display
=Lscl -0.010000            ! add scale
=Loff 0.010000            ! add offset
@LAdd
+x      30                      !shift back right again
=cnwt   1.0                     !weight of one
=cnty   WFix                    !fixed
=cnsc   WAbs                    !absolute

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 10,0,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 0,10,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 11,0,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 0,11,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 12,0,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 0,12,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 13,0,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 0,13,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 14,0,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 0,14,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 10,1,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 1,10,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 11,1,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 1,11,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 12,1,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 1,12,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 13,1,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 1,13,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 14,1,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 1,14,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 10,2,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 2,10,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 11,2,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 2,11,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 12,2,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 2,12,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 13,2,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 2,13,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 14,2,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 2,14,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 10,3,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 3,10,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 11,3,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 3,11,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 12,3,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 3,12,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 13,3,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 3,13,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 14,3,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 3,14,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 10,4,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 4,10,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 11,4,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 4,11,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 12,4,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 4,12,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 13,4,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 4,13,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 14,4,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 4,14,1.000000,F

! *** Bias layer Definition ***
!       *** Build the feed-back layer ***

@LLdf                           !start with default layer again
=LDsp 3
=LDln   "Inh"                   !accumulate inhibitions
=Lpes   5                       !5 PEs
=x      160                      !shift left for this one
=y      290                      !up higher on display
=Lscl -0.010000            ! add scale
=Loff 0.010000            ! add offset
@LAdd
+x      30                      !shift back right again
=cnwt   1.0                     !weight of one
=cnty   WFix                    !fixed
=cnsc   WAbs                    !absolute

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 15,0,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 0,15,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 16,0,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 0,16,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 17,0,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 0,17,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 18,0,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 0,18,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 19,0,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 0,19,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 15,1,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 1,15,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 16,1,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 1,16,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 17,1,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 1,17,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 18,1,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 1,18,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 19,1,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 1,19,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 15,2,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 2,15,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 16,2,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 2,16,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 17,2,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 2,17,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 18,2,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 2,18,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 19,2,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 2,19,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 15,3,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 3,15,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 16,3,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 3,16,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 17,3,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 3,17,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 18,3,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 3,18,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 19,3,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 3,19,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 15,4,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 4,15,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 16,4,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 4,16,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 17,4,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 4,17,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 18,4,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 4,18,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 19,4,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 4,19,1.000000,F

! *** Bias layer Definition ***
!       *** Build the feed-back layer ***

@LLdf                           !start with default layer again
=LDsp 3
=LDln   "Inh"                   !accumulate inhibitions
=Lpes   5                       !5 PEs
=x      210                      !shift left for this one
=y      290                      !up higher on display
=Lscl -0.010000            ! add scale
=Loff 0.010000            ! add offset
@LAdd
+x      30                      !shift back right again
=cnwt   1.0                     !weight of one
=cnty   WFix                    !fixed
=cnsc   WAbs                    !absolute

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 20,0,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 0,20,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 21,0,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 0,21,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 22,0,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 0,22,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 23,0,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 0,23,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 24,0,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 0,24,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 20,1,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 1,20,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 21,1,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 1,21,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 22,1,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 1,22,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 23,1,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 1,23,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 24,1,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 1,24,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 20,2,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 2,20,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 21,2,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 2,21,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 22,2,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 2,22,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 23,2,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 2,23,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 24,2,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 2,24,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 20,3,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 3,20,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 21,3,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 3,21,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 22,3,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 3,22,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 23,3,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 3,23,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 24,3,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 3,24,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 20,4,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 4,20,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 21,4,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 4,21,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 22,4,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 4,22,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 23,4,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 4,23,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 24,4,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 4,24,1.000000,F

!     Excitatory connections within column   


! *** Bias layer Definition ***
!       *** Build the feed-back layer ***

@LLdf                           !start with default layer again
=LDsp 3
=LDln   "Inh"                   !accumulate inhibitions
=Lpes   5                       !5 PEs
=x      10                      !shift left for this one
=y      320                      !up higher on display
=Lscl -0.010000            ! add scale
=Loff 0.010000            ! add offset
@LAdd
+x      30                      !shift back right again
=cnwt   1.0                     !weight of one
=cnty   WFix                    !fixed
=cnsc   WAbs                    !absolute

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 0,0,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 0,0,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 5,0,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 0,5,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 10,0,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 0,10,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 15,0,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 0,15,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 20,0,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 0,20,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 0,1,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 1,0,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 5,1,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 1,5,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 10,1,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 1,10,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 15,1,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 1,15,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 20,1,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 1,20,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 0,2,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 2,0,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 5,2,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 2,5,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 10,2,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 2,10,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 15,2,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 2,15,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 20,2,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 2,20,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 0,3,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 3,0,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 5,3,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 3,5,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 10,3,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 3,10,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 15,3,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 3,15,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 20,3,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 3,20,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 0,4,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 4,0,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 5,4,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 4,5,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 10,4,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 4,10,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 15,4,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 4,15,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 20,4,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 4,20,1.000000,F

! *** Bias layer Definition ***
!       *** Build the feed-back layer ***

@LLdf                           !start with default layer again
=LDsp 3
=LDln   "Inh"                   !accumulate inhibitions
=Lpes   5                       !5 PEs
=x      60                      !shift left for this one
=y      320                      !up higher on display
=Lscl -0.010000            ! add scale
=Loff 0.010000            ! add offset
@LAdd
+x      30                      !shift back right again
=cnwt   1.0                     !weight of one
=cnty   WFix                    !fixed
=cnsc   WAbs                    !absolute

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 1,0,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 0,1,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 6,0,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 0,6,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 11,0,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 0,11,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 16,0,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 0,16,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 21,0,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 0,21,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 1,1,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 1,1,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 6,1,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 1,6,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 11,1,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 1,11,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 16,1,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 1,16,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 21,1,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 1,21,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 1,2,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 2,1,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 6,2,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 2,6,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 11,2,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 2,11,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 16,2,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 2,16,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 21,2,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 2,21,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 1,3,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 3,1,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 6,3,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 3,6,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 11,3,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 3,11,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 16,3,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 3,16,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 21,3,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 3,21,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 1,4,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 4,1,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 6,4,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 4,6,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 11,4,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 4,11,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 16,4,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 4,16,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 21,4,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 4,21,1.000000,F

! *** Bias layer Definition ***
!       *** Build the feed-back layer ***

@LLdf                           !start with default layer again
=LDsp 3
=LDln   "Inh"                   !accumulate inhibitions
=Lpes   5                       !5 PEs
=x      110                      !shift left for this one
=y      320                      !up higher on display
=Lscl -0.010000            ! add scale
=Loff 0.010000            ! add offset
@LAdd
+x      30                      !shift back right again
=cnwt   1.0                     !weight of one
=cnty   WFix                    !fixed
=cnsc   WAbs                    !absolute

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 2,0,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 0,2,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 7,0,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 0,7,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 12,0,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 0,12,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 17,0,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 0,17,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 22,0,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 0,22,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 2,1,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 1,2,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 7,1,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 1,7,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 12,1,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 1,12,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 17,1,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 1,17,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 22,1,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 1,22,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 2,2,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 2,2,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 7,2,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 2,7,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 12,2,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 2,12,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 17,2,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 2,17,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 22,2,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 2,22,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 2,3,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 3,2,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 7,3,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 3,7,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 12,3,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 3,12,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 17,3,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 3,17,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 22,3,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 3,22,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 2,4,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 4,2,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 7,4,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 4,7,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 12,4,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 4,12,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 17,4,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 4,17,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 22,4,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 4,22,1.000000,F

! *** Bias layer Definition ***
!       *** Build the feed-back layer ***

@LLdf                           !start with default layer again
=LDsp 3
=LDln   "Inh"                   !accumulate inhibitions
=Lpes   5                       !5 PEs
=x      160                      !shift left for this one
=y      320                      !up higher on display
=Lscl -0.010000            ! add scale
=Loff 0.010000            ! add offset
@LAdd
+x      30                      !shift back right again
=cnwt   1.0                     !weight of one
=cnty   WFix                    !fixed
=cnsc   WAbs                    !absolute

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 3,0,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 0,3,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 8,0,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 0,8,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 13,0,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 0,13,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 18,0,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 0,18,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 23,0,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 0,23,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 3,1,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 1,3,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 8,1,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 1,8,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 13,1,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 1,13,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 18,1,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 1,18,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 23,1,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 1,23,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 3,2,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 2,3,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 8,2,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 2,8,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 13,2,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 2,13,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 18,2,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 2,18,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 23,2,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 2,23,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 3,3,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 3,3,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 8,3,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 3,8,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 13,3,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 3,13,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 18,3,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 3,18,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 23,3,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 3,23,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 3,4,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 4,3,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 8,4,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 4,8,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 13,4,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 4,13,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 18,4,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 4,18,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 23,4,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 4,23,1.000000,F

! *** Bias layer Definition ***
!       *** Build the feed-back layer ***

@LLdf                           !start with default layer again
=LDsp 3
=LDln   "Inh"                   !accumulate inhibitions
=Lpes   5                       !5 PEs
=x      210                      !shift left for this one
=y      320                      !up higher on display
=Lscl -0.010000            ! add scale
=Loff 0.010000            ! add offset
@LAdd
+x      30                      !shift back right again
=cnwt   1.0                     !weight of one
=cnty   WFix                    !fixed
=cnsc   WAbs                    !absolute

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 4,0,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 0,4,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 9,0,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 0,9,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 14,0,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 0,14,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 19,0,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 0,19,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 24,0,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 0,24,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 4,1,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 1,4,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 9,1,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 1,9,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 14,1,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 1,14,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 19,1,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 1,19,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 24,1,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 1,24,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 4,2,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 2,4,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 9,2,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 2,9,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 14,2,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 2,14,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 19,2,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 2,19,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 24,2,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 2,24,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 4,3,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 3,4,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 9,3,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 3,9,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 14,3,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 3,14,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 19,3,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 3,19,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 24,3,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 3,24,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 4,4,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 4,4,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 9,4,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 4,9,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 14,4,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 4,14,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 19,4,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 4,19,1.000000,F

=NPEn   0
=NPEl   n0
@NrPE
=SPEn   0
=SPEl   LayN
@SlPE
@PECN 24,4,1.000000,F

!       *** Connect its output to the Hopfield Layer input ***

=NPEl   LayN                    !current layer
@NrPE
=SPEl   n0                      !connect to hopfield layer
@SlPE
@PECN 4,24,1.000000,F

!       *** Build the Output Layer ***

@LLdf                           !start with default layer again
=LDsp 3
=LDln   "Output"                !layer name
=Lpes   n3                      !desired number of PEs
=x     100                      !place to put output layer
+y      20                      !up higher on display
@LAdd

!       *** Connect the output layer back to the hopfield layer ***

=SPEl   LayN                    !select output layer
@SlPE
=NPEl   n0                      !hopfield layer
@NrPE
=cnsc   WRel
@LCCr

!       *** Select Control Strategy & L/R Schedule ***

@LLsl                           !load super layer
=Lctl   "tsp"                 !control strategy
=Llrs   "tsp"                 !L/R Schedule
=Lsty   "tsp"                 !style sheet

=Llnn   "tsp"                 !name of learn input
=Lrcn   "tsp"                 !name of recall output
=Lion   "tspio"               !user i/o name */
+Llio 128     !set user i/o in learn mode
+Lrio 128     !set user i/o in recall mode
+Lflg   LAAs                    !auto-associative
=BPDM 0     !do not use min/max tables
=BPDF 1     !use default file names
=RnRm 1     !recall for 1 pass
@SVsl                           !save it back

@EOF
