Jump to content

Vector store function does not store when offset is zero


Recommended Posts

While using the vector store function, the data will not be stored into any vector if the offset is zero. Is this working as intended? Doesn't seem to make sense that you can't index into the vector that is your starting address. Anyone else experience this and have a work around?

 

Running V570 9.8.2 Attached is a snippet of the code where I am having the issue.

 

The first function is checking that we're in the correct state of our state machine, the second is verifying that data is being sent. From there I take the vector of inputs and store the data in a temporary MI then attempt to store it into a vector of MI's with the start address of MI200 and the offset has been calculated in previous nets. When non-zero, it functions great. When the offset is 1, it stores the data into MI201 as expected. If the offset is zero, no data is stored into MI200 and no other action that I can see happens.

post-44871-0-33159200-1446231153_thumb.png

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.