??? 01/18/07 04:08 Modified: 01/18/07 04:22 Read: times |
#131015 - regarding write and read operations... Responding to: ???'s previous message |
Andy Peters said:
That's not the purpose of diomux ... it is how you determine what drives the data I/O pins during a read cycle. "You use the actual data I/O pin signals as the data source for your write operations. i am unable to perform the write operations without using mode "inout" for at least one bus. could you give me an example of how it could be done. and also for the code below which you gave for read operations.. kindly tell me in which mode 'dio' would be declared. if in 'out' mode,then how it could be connected to the data i/o pins of 8254. assign oe = (!RD_l && !CS_l); assign dio = oe ? diomux : 8'bZZZZ_ZZZZ; always @(*) begin : diomuxselect case ({A, ctrlword}) CASE0 : diomux = ...; CASE1 : diomux = ...; ... CASEN : diomux = ...' endcase end // diomuxselect kindly give some details on it. regard's Suresh. |