Hi again
Now i can use the D-FF, so You hit the nail straight on
But now something new appeared.
The code:
/* *************** INPUT PINS *********************/
/*PIN 1 = CLK ; */
PIN 2 = Out_E ;
PIN 3 = Data_in ;
/* *************** OUTPUT PINS *********************/
/*PIN 18 = CLK_out ; */
PIN 17 = Enable_O ;
PIN 16 = Data_out ;
PIN 15 = Data_out_L ;
/* ************* Logic equations *******************/
Enable_O = Out_E ;
Data_out = Data_in ;
Data_out_L.d = Data_in ;
Data_out_L.OE = Out_E ;
If i try to compile this, i get an error:
Variable usage is mutually excluded by a previous usage of the pin or pinnode. A shared product term or terms has been defined more than once.
In the first code example, i had a output Data_out_L.OE = Out_E ; that worked fine, but now it seems like this is conflicting with Data_out_L.d = Data_in ; ?
Another question is, i would like to have a PIN like PIN 18 = CLK_out ; so i have a confirmed state of clock in (PIN1).
How can i implement that, if i cannot name it?
Friendly regards
H.E.Tjelum