Simple ram model

Hi, Guy's,

I'm not sure if this is the best place to ask but, I am currently learnin VHDL and am trying to design a RAM model with the following spec:

Inputs: A (3 bit address), D (4 bit data), Clock, plus control input(s) a required

Output: Q (5 bit data)

The design contains two units, a RAM (3 bit address, 4 bit data, separat data input and output) and an arithmetic unit (two 4-bit data inputs, on

5-bit output). These should be separate instances in the design.

The design should carry out the following functions:

  1. Write an input D to address A.
  2. Read from address A (output to 4 LSBs of Q).
  3. Add contents of address A to input D (output to Q).

I have to use the std_logic and std_logic_vector types throughout.

Any help is much appreciated,

Thanks,

Stephen.

Reply to
melvin
Loading thread data ...

So what was your specific question? I saw a homework problem and a request for a solution, no evidence that you attempted this problem or even gave it any thought beyond wanting a canned solution from someone else.

If I ever became an EE professor I would be sure to spend a couple of hours a day here and in sci.electronics.design.

Reply to
larwe

Push on Lewin! With your current activities it's hard to avoid becoming one.

The OP seems to be from The Robert Gordon University, Aberdeen, UK.

--
Tauno Voipio
tauno voipio (at) iki fi
 Click to see the full signature
Reply to
Tauno Voipio

Synonymous with push off? ;) I'm not sure if going into academia would be a career upgrade or downgrade for me. Might be nice to "retire" into that sector, though - most of my professors at school seem to be engineers who shifted into a different gear and suddenly found themselves behind a lectern.

Reply to
larwe

You have to want it, of course. I have the feeling that education would benefit of a teacher with your way of looking at things and also your experience.

I have done my duty in teaching in the 70's, and I'd rather coach and push suitable people to become teachers.

An instructor is the wrong person, if the position feels like retirement.

--
Tauno Voipio
tauno voipio (at) iki fi
 Click to see the full signature
Reply to
Tauno Voipio

Points deducted for apostrophe abuse.

I'll do your homework for you if you pay me US$15,000.

-a

Reply to
Andy Peters

Perhaps a grocer's son.

Andrew

Reply to
Andrew Jackson

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.