Tagged: ABEL

10 input-4 output Encoder 0

10 input-4 output Encoder

                     <ABEL CODE> module E10x4BCD;title ’10 inputs to 4 outputs – BCD Encoder’;Enc10x4 device ‘P22V10’; “Input pinsI0,I1,I2,I3,I4,I5,I6,I7,I8,I9 pin 2,3,4,5,6,7,8,9,10,11;“output...

PGM for 74×49 (7 segments decoders) 0

PGM for 74×49 (7 segments decoders)

        <ABEL CODE> module SSEGDECtitle ‘asdfas’SEGDEC device ‘P22V10’;“input pins!BL pin 2;D,C,B,A pin 3,4,5,6;“output pinsOa,Ob,Oc,Od,Oe,Of,Og pin 23,22,21,20,19,18,17;Out = [Oa,Ob,Oc,Od,Oe,Of,Og];equationswhen (!BL==1) then Oa = (!A&!C)#(A&B&!D)#(A&C&!D)#(B&C&D)#(!A&D)#(!B&!C&D);when (!BL==1) then...

ABEL – Prime number detector 0

ABEL – Prime number detector

<ABL 코드>module pdetectortitle ‘4 bit prime number detecting code by changkyu’PDETECT device ‘P16V8C’; “input pinsN0, N1, N2, N3 pin 2,3,4,5; “output pinsF pin 19; “definitionNUM = [N3, N2,...

ABEL – 2×4 decoder 0

ABEL – 2×4 decoder

<ABL 코드>module decoder2to4title ‘2 to 4 decoder abel code by changkyu’DCODER device ‘P16V8C’; “input pinsI0, I1 pin 2,3;EN pin 4; “output pinsY0, Y1, Y2, Y3 pin 16,17,18,19; “constantsX...