Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
15 years ago

WinCupl- using Shift register n multiplexer

Name mux ;

PartNo 00 ;

Date 11/04/2011 ;

Revision 01 ;

Designer Engineer ;

Company :............................... ;

Assembly None ;

Location ;

Device V2500C ;

/* *************** INPUT PINS *********************/

PIN 1=clk ; /* */

PIN 3=x ; /* */

PIN 4=r1 ; /* */

PIN 5=r2 ; /* */

PIN 6=r3 ; /* */

PIN 7=r4 ; /* */

/* *************** OUTPUT PINS *********************/

PIN 9=z ; /* */

PIN 12=q0 ; /* */

PIN 13=q1 ; /* */

PIN 14=q2 ; /* */

PIN 15=q3 ; /* */

PIN 16=q4 ; /* */

PIN 24=q5 ; /* */

PIN 25=q6 ; /* */

PIN 26=q7 ; /* */

/*mux*/

z=!q6&!q7&r1# !q6&q7&r2# q6&!q7&r3# q6&q7&r4;

/*shift Register */

q0.d=x;

q1.d=q0;

q2.d=q1;

q3.d=q2;

q4.d=q3;

q5.d=q4;

q6.d=q5;

q7.d=q6;

on my program when i change q6 and q7 i only get the vlaues of r1 on my out put z, can any one please help me with it ????:(:(:(
No RepliesBe the first to reply