advertisement
UG-01085
2016.12.19
Table 41-1: Mailbox Register Map
Word Address Offset
0x0
0x1
0x2
0x3
Register/ Queue Name
Command register
Pointer register
Status register
Interrupt Masking register
Command Register
Attribute
R/W for sender, RO for receiver
R/W for sender, RO for receiver
RO
Read (R) for both sender and receiver.
Sender can only write to Message Space
Interrupt Mask bit, Receiver can only write to Message Pending Interrupt bit.
41-3
Command Register
The Command register is a 32-bit register which contains a user defined command to be passed between processors. This register is read-writeable via Avalon-MM Slave (sender). However it is only readable by the Avalon-MM Slave (receiver) interface.
Pointer Register
Instead of passing huge data via the Mailbox, a Pointer register is introduced. The Pointer register contains the 32-bit address to the payload of the message. A payload could be the raw data to be passed to the receiving processor for further processing. However, a message could contain zero payload or data for processing. A write to the Pointer may not be necessary for a message passing.
This register is read-writeable via Avalon-MM Slave (sender). However it is only readable by Avalon-MM
Slave (receiver) interface.
Status Register
The Status register presents the full or empty status of the Mailbox. As the Mailbox can only contain one message at a time, the full bit status also indicates if there is message pending in the Mailbox. This register is read only by both Avalon-MM Slave interfaces.
Table 41-2: status Register Field
31 ...
...
...
Reserved
...
Bit Fields
...
2 1
Mailbox full
0
Message pending
Table 41-3: Mailbox status Register Descriptions
Filed Name
Message pending
Description
Value ‘0’ indicates the Mailbox has no message. Value ‘1’ indicates the Mailbox has message pending for retrieval.
Reset Value
0
Altera Avalon Mailbox (simple) Core
Send Feedback
Altera Corporation
advertisement
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Related manuals
advertisement
Table of contents
- 24 Signal Timing and Electrical Characteristics
- 25 Synchronizing Clock and Data Signals
- 25 Clock Enable (CKE) not Supported
- 25 Sharing Pins with other Avalon-MM Tri-State Devices
- 26 Open Row Management
- 26 Sharing Data and Address Pins
- 26 Hardware Design and Target Device
- 30 Using the Generic Memory Model
- 30 Using the SDRAM Manufacturer's Memory Model
- 50 Ide Registers
- 51 Ctl Registers
- 51 Cfctl Register
- 52 idectl Register
- 61 Write FIFO Settings
- 61 Read FIFO Settings
- 61 Simulated Input Character Stream
- 61 Prepare Interactive Windows
- 65 Driver Options: Fast vs. Small Implementations
- 65 ioctl() Operations
- 66 Data Register
- 67 Control Register
- 72 Baud Rate Options
- 72 Baud Rate (bps) Setting
- 72 Baud Rate Can Be Changed By Software Setting
- 72 Data Bits, Stop Bits, Parity
- 73 Synchronizer Stages
- 73 Streaming Data (DMA) Control
- 74 Include End-of-Packet Register
- 74 Simulated RXD-Input Character Stream
- 74 Prepare Interactive Windows
- 74 Simulated Transmitter Baud Rate
- 76 Driver Options: Fast vs Small Implementations
- 77 ioct() Operations
- 78 Limitations
- 79 rxdata Register
- 79 txdata Register
- 79 status Register
- 81 control Register
- 82 divisor Register (Optional)
- 82 endofpacket Register (Optional)
- 92 Read behavior
- 92 Write behavior
- 93 Overrun
- 93 Receive Overrun Behavior
- 93 Transmit Overrun Behavior
- 93 Underrun
- 96 Public APIs
- 98 Private APIs
- 99 UART Device Structure
- 129 Master Mode Operation
- 130 Slave Mode Operation
- 130 Multi-Slave Environments
- 131 Number of Select (SS_n) Signals
- 131 SPI Clock (sclk) Rate
- 131 Specify Delay
- 133 alt_avalon_spi_command()
- 135 rxdata Register
- 135 txdata Register
- 136 status Register
- 137 control Register
- 137 slaveselect Register
- 138 end of packet value Register
- 146 Width
- 146 Direction
- 146 Output Port Reset Value
- 146 Output Register
- 147 Edge Capture Register
- 147 Interrupt
- 148 data Register
- 148 direction Register
- 149 interruptmask Register
- 149 edgecapture Register
- 149 outset and outclear Register
- 162 Write Operation
- 162 Read Operation
- 253 Descriptor Slave Port
- 253 Control and Status Register Slave Port
- 253 Response Port
- 254 Parameters
- 265 Supported Features
- 265 Supported Devices
- 265 Architecture Overview
- 268 Descriptor Format
- 269 Descriptor Fields Definition
- 269 Next Descriptor Pointer
- 269 Actual Bytes Transferred
- 270 Descriptor Processing
- 271 Registers
- 271 Register Map
- 271 Control Register
- 275 Descriptor Polling Frequency
- 275 Status
- 276 Interfaces
- 276 Avalon-MM Read Descriptor
- 277 Avalon-MM Write Descriptor
- 277 Avalon-MM CSR
- 277 Avalon-ST Descriptor Source
- 278 Avalon-ST Response
- 279 IRQ Interface
- 279 Software Programming Model
- 279 Setting up Descriptor and mSGDMA Configuration Flow
- 280 Resetting Prefetcher Core Flow
- 280 Parameters
- 335 clk
- 335 irq_input
- 335 interrupt_controller_out
- 335 interrupt_controller_in
- 336 csr_access
- 336 Interrupt Request Block
- 337 Priority Processing Block
- 337 Vector Generation Block
- 347 alt_vic_sw_interrupt_set()
- 347 alt_vic_sw_interrupt_clear()
- 347 alt_vic_sw_interrupt_status()
- 348 alt_vic_irq_set_level()
- 349 altera_vic_driver.enable_preemption
- 350 altera_vic_driver.enable_preemption_into_new_register_set
- 350 altera_vic_driver.enable_preemption_rs_<n>
- 351 altera_vic_driver.linker_section
- 352 altera_vic_driver.<name>.vec_size
- 352 altera_vic_driver.<name>.irq<n>_rrs
- 353 altera_vic_driver.<name>.irq<n>_ril
- 353 altera_vic_driver.<name>.irq<n>_rnmi
- 354 Default Settings for RRS and RIL
- 354 VIC BSP Design Rules for Altera Hal Implementation
- 355 RTOS Considerations
- 355 Adding the EIC Interface Shadow Register Set
- 357 VIC Instantiation, Parameterization, and Connection
- 357 Instantiation
- 358 Parameterization
- 359 VIC Connections
- 360 alt_ic_isr_register() versus alt_irq_register()
- 367 Increase the Vector Table Entry Size
- 367 Do Not Register the ISR
- 368 Insert ISR in Vector Table
- 370 Pipeline Latency
- 370 Cause Latency
- 370 Selection Latency
- 370 Funnel Latency
- 372 Compiler-Related Latency
- 429 Status Register
- 430 Error Register
- 430 Interrupt Mask Register
- 434 Control Register
- 435 Frequency Register
- 435 Counter Stop Registers
- 435 Latency Data Registers
- 435 Data Valid Registers
- 444 Data Path
- 445 Clock Scheme
- 445 Transmit
- 446 Receive
- 446 System Info Parameter
- 447 HDL Parameter
- 447 Altera HPS EMAC Interface Splitter Core Interface
- 452 Register
- 452 Register Memory Map
- 452 Register Description
- 452 Control Register
- 453 Avalon-MM Slave Interface
- 459 FLASH_RD_STATUS
- 459 FLASH_RD_SID
- 460 FLASH_RD_RDID
- 460 FLASH_MEM_OP
- 461 FLASH_ISR
- 462 FLASH_IMR
- 462 FLASH_CHIP_SELECT
- 463 Sector Protect
- 463 Sector Erase
- 464 Flash Memory Map and Setting Nios II Reset Vector when Using a Boot Copier
- 465 Boot Copier File
- 465 When Nios II SBT will Append a Boot Copier
- 465 Creating HEX Programming File
- 465 Programming Flash
- 465 Custom Boot Copiers
- 465 Executing in Place
- 473 FLASH_RD_STATUS
- 473 FLASH_RD_SID
- 474 FLASH_RD_RDID
- 474 FLASH_MEM_OP
- 475 FLASH_ISR
- 476 FLASH_IMR
- 476 FLASH_CHIP_SELECT
- 477 Sector Protect
- 477 Sector Erase
- 478 Flash Memory Map and Setting Nios II Reset Vector when Using a Boot Copier
- 479 Boot Copier File
- 479 When Nios II SBT will Append a Boot Copier
- 479 Creating HEX Programming File
- 479 Programming the Flash
- 479 Custom Boot Copiers
- 479 Executing in Place
- 484 Command Register
- 484 Pointer Register
- 484 Status Register
- 485 Interrupt Masking Register
- 487 Configuration
- 487 Interrupt Mode
- 488 Polling Mode
- 488 Driver Implementation
- 490 Driver Examples
- 496 Random Address Read
- 496 Sequential Address Read
- 497 Current Address Read
- 512 Transfer Command FIFO (TFR_CMD)
- 512 Receive Data FIFO (RX_DATA)
- 513 Control Register (CTRL)
- 514 Interrupt Status Enable Register (ISER)
- 514 Interrupt Status Register (ISR)
- 515 Status Register (STATUS)
- 516 TFR CMD FIFO Level (TFR CMD FIFO LVL)
- 516 RX Data FIFO Level (RX Data FIFO LVL)
- 516 SCL Low Count (SCL LOW)
- 516 SCL High Count (SCL HIGH)
- 517 SDA Hold Count (SDA HOLD)
- 518 7-bit Addressing Mode
- 518 Master Transmitter Writes 2 Bytes to Slave Receiver
- 519 Master Receiver Reads 2 Bytes from Slave Transmitter
- 519 Combine Format (Master Writes 1 Byte and Changes Direction to Read 2 Bytes)
- 519 10-bit Addressing Mode
- 519 Master Transmitter Writes 2 Bytes to Slave Receiver
- 520 Master Receiver Reads 2 Bytes from Slave Transmitter
- 526 GMII to MII Mode Transition