Problem with Gal22v10

Status
Not open for further replies.

Fedail

Newbie level 5
Joined
Mar 29, 2008
Messages
8
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,327
proteus gal22v10

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
 

simple programmer gal22v10

just use this simple equation
input
Pin 2 = A;
Pin 3 = B;
Outputs
Pin 15 = !Q1;

Q1 = A & B;
this should solve ur job.
remember # is OR
& is AND and ! is Not

hock
 

jed gal22v10

Ok i know this equation
but why u use !Q1

i show all of programmer use not with any enter and output value
 

gal22v10 error

it is still give 1 at any state
 

gal22v10 jed

when you say Pin 15 = !Q1;
actually you are asking the compiler to active state of Q1 as low (0 is true).
this helps in simplifying the equations.

Q1 = A & B; Q is and of A and B. and it has active low state when true.

hock
 

i have the same problem
i was buy another 2 ic's gal22v10
and the same problem
all state give me one

i use WINCUPL Compiler and test it with protues
the test is ok
but when i download it on gal the output give me one on all state
if
a=0 and b =0 give me 1
a=0 and b =1 give me 1
a=1 and b =0 give me 1
a=1 and b =1 give me 1

where is the problem and what can i do

if u use isplever can u tell me how make jed
i have isplever classic
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…