- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello there,
I have a question, i have a std_logic_vector(20 downto 0) and i want to take the value of this vector to build a for-loop. for example the std_logic_vector looks like that "000000000000000000101" which is a value of 5 now i want to build a for loop so that my output out_data = X"80008000" fills out_data with X"80008000" 5 times befor other values are coming Could anyone help me how i could build this for loop? regardsLink Copied
5 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
for loop isn't quite the same as in the C/software world.
what you need to do is something like a mux which has your X"80008000" value on one input and the signal which will have the following values on the other input. a counter will count up to 5 then using a comparator will switch between the two mux inputs.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ok thanks a lot :-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thanks a lot:D
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
OK thanks for that will give them a try when my HT5 Head comes back from repair
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
HelloIm trying to do a series of Rolling Correlations using movcor command. Already did it for one series, with respect 10 other series.The problem is I need to do the same process, with respect to other series. Is there a loop I can use here, and save some time?Thanks for any suggestionsJoaquÃ*n

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page