Maker Pro
Maker Pro

Register Transfer Language

D

DartmanX

Jan 1, 1970
0
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<--X
a':Y<--Z

The question is, I don't know how to implement this using hardware
(i.e. multiplexers, flip flops, logic gate, etc).

We are using John D. Caprinelli's text (Computer Systems Organization
and Architecture), and unfortunately this is one area where I've found
the text is weak: he explains and diagrams basics, but leaves the
reader on their own to integrate the concepts.

Thanks for any assistance you can give.

Jason
 
R

Robert Baer

Jan 1, 1970
0
DartmanX said:
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<--X
a':Y<--Z

The question is, I don't know how to implement this using hardware
(i.e. multiplexers, flip flops, logic gate, etc).

We are using John D. Caprinelli's text (Computer Systems Organization
and Architecture), and unfortunately this is one area where I've found
the text is weak: he explains and diagrams basics, but leaves the
reader on their own to integrate the concepts.

Thanks for any assistance you can give.

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

Rich Grise

Jan 1, 1970
0
IF a = 1 THEN copy X to W; otherwise copy Z to Y

My RTL statements then look like this:

a:W<--X
a':Y<--Z

The question is, I don't know how to implement this using hardware
(i.e. multiplexers, flip flops, logic gate, etc).

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
 
S

Spehro Pefhany

Jan 1, 1970
0
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
 
R

Rich Grise

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

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

Cheers!
Rich
 
Top