- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I have learnt CUPL recently. I have written a pld code for my application. And here is the code: Name US_Timing_IN ; PartNo ATF16V8C ; Date 11/24/2011 ; Revision 01 ; Designer Deepika ; Company XYZ ; Assembly None ; Location ; Device virtual ; /* *************** INPUT PINS *********************/ PIN 1 = res ; /* */ PIN 2 = mhz ; /* */ PIN 3 = ad1 ; /* */ PIN 4 = ad2 ; /* */ PIN 5 = ad7 ; /* */ PIN 6 = ad8 ; /* */ PIN 7 = ad3 ; /* */ PIN 8 = ad4 ; /* */ PIN 9 = ad6 ; /* */ PIN 10 = gnd ; /* */ PIN 11 = ad5 ; /* */ PIN 13 = test ; /* */ PIN 15 = b ; /* */ PIN 16 = a ; /* */ PIN 18 = ad9 ; /* */ PIN 20 = vcc ; /* */ /* *************** OUTPUT PINS *********************/ PIN 12 = tg ; /* */ PIN 14 = dg ; /* */ PIN 17 = cw ; /* */ PIN 19 = reset ; /* */ /* *************** Reduced equations **************/ tg = !(ad4 & !ad7 & !ad8 & !ad9 & test # ad5 & !ad7 & !ad8 & !ad9 & test # !ad6 & ad7 & !ad8 & !ad9 & test # ad2 & !ad4 & !ad5 & !ad8 & !ad9 & test # !ad3 & !ad5 & ad7 & !ad8 & !ad9 & test # ad3 & !ad4 & !ad5 & !ad8 & !ad9 & test # !ad4 & !ad5 & ad6 & !ad8 & !ad9 & test); dg = !(ad9# !test# !ad8# !ad6 & !ad7); reset = !(ad6 & ad9 & mhz & res # ad7 & ad9 & mhz & res # ad8 & ad9 & mhz & res # ad1 & ad2 & ad3 & ad4 & ad5 & ad9 & mhz & res); cw = !(!a# !b# !mhz); I have selected the correct device from the list, also i have unchecked Device in file option. But when i try to compile it the compiler crashes, please let what is the problem with the code and settings. Waiting for the help. Thank you, DeepikaLink Copied
0 Replies
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page