Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
15 years ago

Avalon Address Decoding Chipselect assertion

Hello

Can we assert the chipselect signal, which is assigned by the Avalon Address Decoding, in 'C' by ourselves? Can we change Avalon signals behavior in Nios II by coding?

Thanks,

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    It's performed in the hardware. When a master performs a read or write to a valid address in the slave memory space the chipselect will be asserted.

    Chipselect is also an optional signal since you can just OR the read and write signals coming into the slave port to get the exact same functionality.