Posted by John Chappel on February 16, 1998 at 10:01:47:
In Reply to: Wha??? posted by Jim on February 16, 1998 at 00:07:59:
: Can someone explain this lab, perhaps from another direction?
: I mean, theres supposed to be ONE register, so why does it say you can use $200000-$B00000 (ie 9,437,184 of them)? I just dont see how this whole thing is put together.
: Like is the register on the FPGA or what? Whats the FPGA for? Or is it like we toggle in some data (from the switches) into teh fpga, then write some code in assemble (occupying $200000 to a max of $B00000), and then shift it into dataregister d0-d7? Or something like that?
: A simple straight-forward dumb explanaition for some of us who may not be as 'quick' as others in the class would be greatly appreciated!!!!??
: Thanks,
: Jim
The register is implemented in the FPGA. If you really wanted to implement
a single register, you would put it at a single address location, for
example $345678. In order to implement this circuit, you need to wire all
24 address lines to the FPGA and compare all 24 address lines to the required
value.
To simplify things, you can alias the register to multiple addresses. Doing a
read or write to any of these addresses accesses the same physical
register.
For example, if I put the register at $34xxxx, I only have to wire
and compare 8 address lines.
JC