adolph@ssc-vax.UUCP (Mark C. Adolph) (07/28/88)
We've come across an interesting problem here. We're trying to build a model of a processor that we can use in simulation. In at least one case, we have a register with bits that, in the hardware, can be read by software but only modified by hardware. How does one declare a record component that is only visible for reading but can be updated internally? Making it private and declaring a function to allow reading isn't appropriate as it would not be a correct model of the situation. -- -- Mark A. ...uw-beaver!ssc-vax!adolph