Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Problem with Gal

Status
Not open for further replies.

fedail

New Member
befor 1 week i was search about how prgramin the GAL

no i buy the TOP2007 Programer and GAL22v10

and use CUPL language with ATMEL WINCUPL Compiler

i was learn the language and write my code and test with proteus samulation and it was good

but when i download my code on the GAL and verfiy it

i test it on the test Board it is give me some error like :

i was test a small programe

Code:
Pin 2 = A;          
Pin 3 = B;          

/** Outputs **/

Pin 15 = Q1; 

 Q1='b'0;
TABLE A,B => Q1{
'b'00 => 'b'1;
'b'01 => 'b'0;
'b'10 => 'b'0;
'b'11 => 'b'0;}

it is should give me one on pin 15 if the pin 2 and 3 is 0's
but it is still give me one on it

and another code give me like this

where is my problem and how can i solve it
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top