Altera_Forum
Honored Contributor
14 years agoMissing STH Instruction
Hey Guys,
I have a problem concerning a communication between a 32 Bit Avalon Master and the 16-Bit UART Avalon Slave. My processors data width is like the address width 32 Bit. But I don't have a "Store halfword" Instruction but a "Store Word" and "Store byte" Instruction. Using my StoreWordInstruction all my ByteEnable are 0b1111 and using my StoreByteInstruction(STB) 0b0001 / 0b0010 / 0b0100 / 0b1000. If I perform an STB to the Control Register to my Uart the Avalon Fabric always fills the remaining 8 Bits with Zeros. So the problem is that when I perform 2 consecutive STB's to write the 16Bit Control Register, the Fabric performs two 16-Bit writes and the first overwrites the second one. I hope you can uunderstand it. Thanks a lot so far. Michael