EmbeddedRelated.com
Forums

Microprocessor question

Started by Harry July 25, 2007
Assume that we have a 16-bit processor which is interfaced to memory
of 32-bits wide(word length).

The processor has to perform two read/write  operations when it wants
to read/write data  respectively.How does it know the word length of
memory it is interfaced to?

In article <1185355115.509566.232350@z24g2000prh.googlegroups.com>, 
Harry <gehariprasath@gmail.com> writes
>Assume that we have a 16-bit processor which is interfaced to memory >of 32-bits wide(word length). > >The processor has to perform two read/write operations when it wants >to read/write data respectively.How does it know the word length of >memory it is interfaced to?
Homework? You will not get any help here unless you show your attempt to solve the problem -- \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ \/\/\/\/\ Chris Hills Staffs England /\/\/\/\/ /\/\/ chris@phaedsys.org www.phaedsys.org \/\/\ \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
On Jul 25, 2:43 pm, Chris Hills <ch...@phaedsys.org> wrote:
> In article <1185355115.509566.232...@z24g2000prh.googlegroups.com>, > Harry <geharipras...@gmail.com> writes > > >Assume that we have a 16-bit processor which is interfaced to memory > >of 32-bits wide(word length). > > >The processor has to perform two read/write operations when it wants > >to read/write data respectively.How does it know the word length of > >memory it is interfaced to? > > Homework? > > You will not get any help here unless you show your attempt to solve the > problem > > -- > \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ > \/\/\/\/\ Chris Hills Staffs England /\/\/\/\/ > /\/\/ ch...@phaedsys.org www.phaedsys.org\/\/\ > \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
If you know you can reply or else just shut up!
"Harry" <gehariprasath@gmail.com> wrote in message 
news:1185363140.704756.236930@x40g2000prg.googlegroups.com...
> On Jul 25, 2:43 pm, Chris Hills <ch...@phaedsys.org> wrote: >> In article <1185355115.509566.232...@z24g2000prh.googlegroups.com>, >> Harry <geharipras...@gmail.com> writes
<snip>
>> >> You will not get any help here unless you show your attempt to solve >> the >> problem >> >> > > If you know you can reply or else just shut up!
Well I was going to give the benefit of the doubt but this poster's fate is now sealed I fear...
In article <1185363140.704756.236930@x40g2000prg.googlegroups.com>, 
Harry <gehariprasath@gmail.com> writes
>On Jul 25, 2:43 pm, Chris Hills <ch...@phaedsys.org> wrote: >> In article <1185355115.509566.232...@z24g2000prh.googlegroups.com>, >> Harry <geharipras...@gmail.com> writes >> >> >Assume that we have a 16-bit processor which is interfaced to memory >> >of 32-bits wide(word length). >> >> >The processor has to perform two read/write operations when it wants >> >to read/write data respectively.How does it know the word length of >> >memory it is interfaced to? >> >> Homework? >> >> You will not get any help here unless you show your attempt to solve the >> problem > >If you know you can reply or else just shut up!
Not only will I not help but I suspect, with that sort of response, you will get no help from anyone. Even though there are many here who could answer your question in their sleep. Had you bothered to look at this newsgroup (or Usenet in general) you would have known that questions of the type you originally posted get ignored or flamed. I did neither but constructively suggested how you would get help. By showing how you have attempted a solution. Don't bite the hand that feeds. -- \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ \/\/\/\/\ Chris Hills Staffs England /\/\/\/\/ /\/\/ chris@phaedsys.org www.phaedsys.org \/\/\ \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
In article <1185366213.44816.0@demeter.uk.clara.net>, Tom Lucas 
<news@REMOVE_tlcs_THIS_dot_TO_fsnet_REPLY_dot_co.uk> writes
>"Harry" <gehariprasath@gmail.com> wrote in message >news:1185363140.704756.236930@x40g2000prg.googlegroups.com... >> On Jul 25, 2:43 pm, Chris Hills <ch...@phaedsys.org> wrote: >>> In article <1185355115.509566.232...@z24g2000prh.googlegroups.com>, >>> Harry <geharipras...@gmail.com> writes ><snip> >>> >>> You will not get any help here unless you show your attempt to solve >>> the >>> problem >>> >>> >> >> If you know you can reply or else just shut up! > >Well I was going to give the benefit of the doubt but this poster's fate >is now sealed I fear...
I think so too... They never learn. -- \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ \/\/\/\/\ Chris Hills Staffs England /\/\/\/\/ /\/\/ chris@phaedsys.org www.phaedsys.org \/\/\ \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
On Jul 25, 4:18 am, Harry <geharipras...@gmail.com> wrote:
> Assume that we have a 16-bit processor which is interfaced to memory > of 32-bits wide(word length). > > The processor has to perform two read/write operations when it wants > to read/write data respectively.How does it know the word length of > memory it is interfaced to?
It doesn't. It's an issue for the motherboard designer, not the processor vendor, in large part because such a situation would unusual enough that processors are unlikely to have built in support. What's quite a bit more common, and economically practical, is processors interfaced to half-width memory. For that, you might want to look at the 8086 docs.
On Wed, 25 Jul 2007 04:32:20 -0700, Harry wrote:

> On Jul 25, 2:43 pm, Chris Hills <ch...@phaedsys.org> wrote: >> In article <1185355115.509566.232...@z24g2000prh.googlegroups.com>, >> Harry <geharipras...@gmail.com> writes >> >> >Assume that we have a 16-bit processor which is interfaced to memory >> >of 32-bits wide(word length). >> >> >The processor has to perform two read/write operations when it wants >> >to read/write data respectively.How does it know the word length of >> >memory it is interfaced to? >> >> Homework? >> >> You will not get any help here unless you show your attempt to solve the >> problem >> >> -- >> \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ >> \/\/\/\/\ Chris Hills Staffs England /\/\/\/\/ >> /\/\/ ch...@phaedsys.org www.phaedsys.org\/\/\ >> \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ > > If you know you can reply or else just shut up!
If you want to get short shrift on a professional newsgroup, the best way is to pose a problem that's phrased just exactly like a homework problem. The second best way is to be rude to people who do normally accepted newsgroup things, like telling you they won't do your homework. Those of us that are professionals don't want to work with or for people who got their degrees fraudulently. Those of us who are students don't want to compete for grades with people who do so fraudulently. If it's _not_ homework, then say so, and back it up with a comment on your situation. Most of us will be understanding. -- Tim Wescott Control systems and communications consulting http://www.wescottdesign.com Need to learn how to apply control theory in your embedded system? "Applied Control Theory for Embedded Systems" by Tim Wescott Elsevier/Newnes, http://www.wescottdesign.com/actfes/actfes.html
On 2007-07-25, Harry <gehariprasath@gmail.com> wrote:

>>>The processor has to perform two read/write operations when it wants >>>to read/write data respectively.How does it know the word length of >>>memory it is interfaced to?
You have to tell it. Or not -- it may already know.
>> Homework? >> >> You will not get any help here unless you show your attempt to >> solve the problem
> If you know you can reply or else just shut up!
Well, that's certainly not going to help. -- Grant Edwards grante Yow! I'm definitely not at in Omaha! visi.com

Harry wrote:
> Assume that we have a 16-bit processor which is interfaced to memory > of 32-bits wide(word length). > > The processor has to perform two read/write operations when it wants > to read/write data respectively.How does it know the word length of > memory it is interfaced to?
You have two legs. Car has four wheels. How do you manage to drive the car? VLV