Vladimir wrote:
Related Wellon VP-290. $160 +$20 shipment is Kanga price. The Chinese sell for $120, shipment included. Advice?
I got most of my things from China (aliexpress) and it worked well. E.g. the device programmer, the hotair gun and the oscilloscope all arrived fast and save. I see in Aliexpress a lot of items are shipped to Russia, so it seems that you would not be the only one. Wellon is in Asia so need for the programmer to make a detour via UK. Only if something is not available in China I order it directly. However for me in Switzerland ordering from China has a lot of advantages
As for the prices you paid they are within the normal range, except for the R65C22, you see the 4MHz version typically for the same price.
There have been many discussions about the internal oscillator of the R65C51 and other brands and all I can say, there is no need for an external oscillator. Just use the built-in oscillator of the R65C51, it works perfectly and has been designed to be used. Note that some CMOS versions of the 6551 require a 1MOhm resister between the oscillator pins. The best is you consult the appropriate datasheet you can find at this site or the internet. This way your system clock can be anything and is independent. Even a simple RC oscillator using a 74HC14 will then do the job.
As for the gates used in a GAL, you need to know the following. I make some simplifications as there is more, but for a simple decoder as you need this is ok. Each Output has a OLMC (Output Logic Macro Cell) associated with it. Then there is the fuse matrix. The fuse matrix has twice as many columns as possible inputs. Each column is associated with the true and the inverted value of an input (hence twice as many columns). By blowing the appropriate fuse a product term is created that is a AND of all inputs selected by the blown fuses. In a GAL16V8 there are 64 product terms. Each OLMC has 8 product terms associated with it. Now for a simple combinatorial design (one that does not use the flip-flop function of the OLMC) it will create the logical OR of the results of all 8 product terms. Then the result can either be sent directly to the associated output or it can be sent inverted to the output. Now a GAL is flexible in that the output pins (except for 2, thats why it is called a GAL16V8, it has up to 16 inputs and up to 8 outputs form a total of 18 signal pins) can also be used as input or you can use the output as a feedback and use it as an input for the other OLMCs. The later of course doubles the propagation delay, but this is not an issue with system clocks up to approx 5-6MHz.
A GAL22V10 is larger as it has first no restrictions of which pin can be an input (thats why it is called GAL22V10, it can have up to 22 inputs and up to 10 outputs) and most OLMCs have more than 8 product terms (PIN14 and 23 have 8 PTs, PIN15 and 22 have 10PTs, ... PIN18 and 19 have 16 PTs).
When you use WinCUPL you can change the option so the compiler will create a DOC file which tells you how many product terms have been used. I recommend that you get a copy of WinCUPL (it's free) and install it (Windows XP or Windows 7 required) and try to compile the design of Daryl and check your options so you can then study the .doc file.
Cheers
Peter