Register Transfer Language

Jun 28, 2006 5 Replies

I'm currently trying to survive a computer organization class, and have run into a confusing problem. Please note I'm not asking people to do my homework for me, but I could use some assistance.



The following statement is the basis of my trouble:



IF a = 1 THEN copy X to W; otherwise copy Z to Y



My RTL statements then look like this:



a:W


Use a gate, in this case, an and circuit. Inputs: A, X; output:W; Inputs: A', Z; output:Y.

a 1 eq {/w x store}{/w y store} ifelse , obviously.

Many thanks, Don Lancaster voice phone: (928)428-4073 Synergetics 3860 West First Street Box 809 Thatcher, AZ 85552 rss: http://www.tinaja.com/whtnu.xml email: don@tinaja.com Please visit my GURU\'s LAIR web site at http://www.tinaja.com

Either lok for "data selector", or learn some basic Boolean algebra. Combinatorial logic is not that hard.

In hardware, it can be done with an inverter and a couple of ANDs.

Good Luck! Rich

If upper case letters are used to refer to vectors you might do better with a mux, in general.

Best regards, Spehro Pefhany

"it\'s the network..." "The Journey is the reward" speff@interlog.com Info for manufacturers: http://www.trexon.com Embedded software/hardware/analog Info for designers: http://www.speff.com

Well, it's been a number of years since I've heard of Resistor-Transistor Logic being used anywhere. ;-)

Cheers! Rich

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required