8BIT wrote:
cbscpe wrote:
There is no solution. Eigth 8-bit registers require all 64 macrocells. Each output also requires a macrocell. It wonˋt fit. I would reduce the number of bits in each register.
It seems that way, but the datasheet also claims a macrocell can have a combinatorial output with a buried registered feedback, which implies you can overlap the register with a non-registered output in a single macrocell.
From page 6 of the ATF1504AS datasheet: "Selecting the separate product term allows creation of a buried registered feedback within a
combinatorial output macrocell."
If this is possible, I am not ready to give in yet. It may be that it will require some deeper study of the intermediate processes to get this to work, though.
Daryl
Looking at the diagram this should be possible but the fitter does not seem to support it. But still we do not know if the matrix supports this combination. My experience is no.
The total number of PT per macro cell is 5. But if you use output enable, clock or asynchronous reset one of the PT is used for it, which leaves you with 4 PT for combinatorial logic.. There is one exception to it, those are the global inputs for CLK, OE and CLR, if you use one of the signals associated to the global CLK, OE or CLR inputs none of the 5 PT is used to control the MC.
Also as the ATF have no output signal routing layer care must be taken to which output pins you assign the signals. E.g. if you have an output wich is adjacent to a burried MC then "cascade logic" can combine the PT of the output MC and the adjacent MC (the one with the lower number) and hence you can use 10 PT for the MC with the output. But this works only if only one equation uses more than one PT.
Perhaps you should upload your design files, then I could better explain what happens. The fitter output only shows what he think is his optimum, however this might not be the optimum. Many samples delivered with WinCUPL use special tricks to overcome the fitters deficiencies.
Peter