WinCupl- using Shift register n multiplexer

Status
Not open for further replies.

jude00

New Member
Name mux ;
PartNo 00 ;
Date 11/04/2011 ;
Revision 01 ;
Designer Engineer ;
Company University of Tulsa ;
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 ????
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…