Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > Electronic Projects Design/Ideas/Reviews


Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution.

Reply
 
LinkBack Thread Tools Display Modes
Old 22nd April 2004, 02:35 AM   (permalink)
Default Using Flip-Flops in CUPL on a 16v8 GAL

I am having trouble understanding how to use the flip flop in GAL 16v8, being programmed with WinCUPL. I have the logic equations figured out for my flip flops and I understand the the extension on a variable is .d for a d flip flop (which I want to use) , but what about the clocks, presets, clears, etc. How do I set those items. I want the circuit to be synchronous if that helps any.

Any insight will be greatly appreciated.
jupiter669 is offline  
Old 22nd April 2004, 04:36 AM   (permalink)
Default

I don't know what "GAL 16v8, being programmed with WinCUPL" means.

But in general, the clock input is used to trigger the Flip Flop (ie. the set and reset the FF synchronously).

Some FFs trigger on the positive edge (ie. a Low to High transition) and others on the negative edge. The preset is an asynchronous input which allows the FF to be set, ie. to set the Q output High.

The clear is an asynchronous input which allows the FF to be reset, ie. to set the Q output Low.

Len
ljcox is offline  
Old 22nd April 2004, 05:34 PM   (permalink)
Default Re: Using Flip-Flops in CUPL on a 16v8 GAL

Quote:
Originally Posted by jupiter669
I am having trouble understanding how to use the flip flop in GAL 16v8, being programmed with WinCUPL. I have the logic equations figured out for my flip flops and I understand the the extension on a variable is .d for a d flip flop (which I want to use) , but what about the clocks, presets, clears, etc. How do I set those items. I want the circuit to be synchronous if that helps any.

Any insight will be greatly appreciated.
This sounds like something that you will only be able to find in WinCUPL documentation. I say that because how you describe something like the clock of a flipflop to the WinCUPL software is specific to that software.
Maybe someone else here has used CUPL or winCUPL..

Whether or not your system is synchronous or not, depends on how you have designed it which, is not available here for us to see.
Optikon is offline  
Old 22nd April 2004, 09:05 PM   (permalink)
Default

I can't offer a whole lot of help either, having no experience with GALs, but I have done CPLDs with WinCUPL. To figure out how to use the FFs in my device, I had to get intimate with the documentation for it. I mean, I had to dig! That, plus a lot of experimentation. My CPLD was FLASH based, so I could try and try and try again, I don't know how your GAL is programmed. If it's OTP,... well, that won't work. What you are looking for is which extensions your device supports. Who is the manufacturer?

j.
John Sorensen is offline  
Old 25th April 2004, 04:30 AM   (permalink)
Default

Quote:
Originally Posted by John Sorensen
To figure out how to use the FFs in my device, I had to get intimate with the documentation for it. I mean, I had to dig!
Wincupl is a sort of primitive vhdl, but I have now figured it out. I just had to append ".d" to my output variables, then attached my clock to pin #1 and ground pin #11. And yeah I did have to get intimate with the GAL16v8 and WinCUPL documentation to figure it all out.
jupiter669 is offline  
Reply

Bookmarks

Thread Tools
Display Modes





All times are GMT. The time now is 05:04 AM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

eXTReMe Tracker