- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i have a array of signed 16 integer data(8,7,-1,1,5,6,2---),i want to design a state machine in vhdl with three state,in first state i need to calculate the number of ones,in 2nd state number of zeros and finally count other number. how can i start
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
defining your states is probably a good start:
type state_t is (count_ones, count_zeros, count_others);- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thanks
can u elaborate more- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ill leave the rest of your homework up to you. When you actually get stuck - come back here with further specific questions. We're not here to do your assignment for you.

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