10.07.2015 Views

Carbon UART PL011 Model User Guide for SoC Designer

Carbon UART PL011 Model User Guide for SoC Designer

Carbon UART PL011 Model User Guide for SoC Designer

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

1-4 Using the <strong>Model</strong> Kit Component in <strong>SoC</strong> <strong>Designer</strong> Plus1.1.4 Features Additional to the HardwareThe following features are implemented in the <strong>UART</strong> <strong>PL011</strong> model to enhance usability;they do not exist in the <strong>UART</strong> <strong>PL011</strong> hardware:• Immediate <strong>UART</strong>LCR register updates.According to the ARM PrimeCell® <strong>UART</strong> (<strong>PL011</strong>) Technical Reference Manual, thefollowing registers <strong>for</strong>m a single 30-bit wide register (<strong>UART</strong>LCR):– <strong>UART</strong>LCR_H– <strong>UART</strong>IBRD– <strong>UART</strong>FBRD<strong>UART</strong>LCR is updated on a single write strobe generated by a <strong>UART</strong>LCR_H write.So, to internally update the contents of <strong>UART</strong>IBRD or <strong>UART</strong>FBRD, a <strong>UART</strong>LCR_Hwrite must always be per<strong>for</strong>med at the end.The <strong>Carbon</strong> model implements CADI access to these registers such that they do notrequire execution of a separate write to <strong>UART</strong>LCR_H to internally update the contentsof the <strong>UART</strong>LCR register.CADI access to the registers includes access via:– the View Registers window in <strong>SoC</strong> <strong>Designer</strong> Plus– CADI API access directly to the register (CADIRegWrite)– CADI API access via a memory mapped address (CADIMemWrite)All of these accesses update the appropriate bits of the 30-bit <strong>UART</strong>LCR registerimmediately.In addition, a CADI write to <strong>UART</strong>LCR_H also generates the "strobe generated by a<strong>UART</strong>CR_H write" that is referred to in the TRM.The <strong>Carbon</strong> model implementation provides a convenient interface to the registerview in that if you write to one of these registers, that value is immediately storedinternally in the <strong>UART</strong>LCR.• Rx/Tx FIFO-related pseudo registers display.You can view the Rx/Tx FIFO contents, size of FIFO, base pointer of FIFO and tippointer of FIFO in the “Transmit FIFO” and “Receive FIFO” register groups of theRegister Window. All of these registers are pseudo registers, <strong>for</strong> in<strong>for</strong>mation only, andshould not be modified. Sixteen FIFO content registers are displayed.<strong>Carbon</strong> Design Systems, Inc. Confidential

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!