Ed Casas (edc@ece.ubc.ca) Sun, 27 Feb 2000 08:03:23 -0800
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
- New Message to:eece379@listhost.ece.ubc.ca
- Reply to:Re: assignment #3 part 1
- Next message: Shawn O'Neill: "SBC/FPGA"
- Previous message: Ed Casas: "Re: Assignment 3-- Stack Register"
- In reply to: Steve Chou: "Assignment 3-- Stack Register"
Date: Sun, 27 Feb 2000 08:03:23 -0800 From: Ed Casas <edc@ece.ubc.ca> Subject: Re: assignment #3 part 1On Sat, Feb 26, 2000 at 05:39:10PM -0800, a student asked: > Hi there, I'm somewhat confused about the ROM for this assgnment. Is it > supposed to output the instruction (i.e. PUSH, POP, DUP, etc. ) or is it > supposed to output something else? The instruction. > I think that the address that it takes in is the PC at that > particular clock cycle. Where is the memory that we are using > for the look up? The ROM is the memory. It "looks up" and outputs the instruction for a given address. > I have this so far for the architecture for the rom. > > architecture rtl of rom is > begin > data <= -- the instruction given at "address", address of what memory? > > end rtl; A ROM can be described in VHDL as a selected assignment. See Lecture 1. Page 3 describes the operation of a ROM and page 4 describes the use of a selected assignment to implement arbitrary logic functions (the example is an LED decoder). > As you can see I'm lost. > I'm into my 5th hour of just trying to figure out what is being ask of me > for the rom, I am quite frustrated at this point. Quite a few people seem to be mystified by how computer programs are represented in memory. I had assumed the encoding and storage of computer programs in memory was covered in ELEC 259. We can talk about this on Monday. > ... I just have never taken this long to figure out what a > question is asking of me. Feel free to ask sooner. -- Ed Casas edc@ece.ubc.ca http://casas.ece.ubc.ca +1 604 822-2592
- Next message: Shawn O'Neill: "SBC/FPGA"
- Previous message: Ed Casas: "Re: Assignment 3-- Stack Register"
- In reply to: Steve Chou: "Assignment 3-- Stack Register"