A
adriana
Guest
Hello everybody,
I need to design a Synchronous Serial Port of a PIC processor that
works in SPI mode.
You can find the datasheet here:
http://ww1.microchip.com/downloads/en/DeviceDoc/31015a.pdf
This SSP have some components and I'm trying to write an RTL
(components) model.
I have 1 shift register, 1 buffer register,2 mux and others simple
gates.
I just write models for all these components but I don't
know how to represent 2 registers (8 bits) that are used like "status
register" and "controller register".
Supposed that I will use 2 8-bit latches, how can I link these 2
components to the others ? I mean that
in the block diagram (figure 15-1) there isn't any "arrows" that link a
component to these registers so I don't know what signals use because
the scope of these 2 registers is only to controlling behaviour of the
serial port.
I hope I'm clear enough (sorry for my poor english).
Thank you very much,
Adriana (Italy)
I need to design a Synchronous Serial Port of a PIC processor that
works in SPI mode.
You can find the datasheet here:
http://ww1.microchip.com/downloads/en/DeviceDoc/31015a.pdf
This SSP have some components and I'm trying to write an RTL
(components) model.
I have 1 shift register, 1 buffer register,2 mux and others simple
gates.
I just write models for all these components but I don't
know how to represent 2 registers (8 bits) that are used like "status
register" and "controller register".
Supposed that I will use 2 8-bit latches, how can I link these 2
components to the others ? I mean that
in the block diagram (figure 15-1) there isn't any "arrows" that link a
component to these registers so I don't know what signals use because
the scope of these 2 registers is only to controlling behaviour of the
serial port.
I hope I'm clear enough (sorry for my poor english).
Thank you very much,
Adriana (Italy)