- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hello everyone, I just start a project that need use some kind of random number generator function, but I failed to convert into a VHDL entity, could anyone give some suggestion how should do that?
This is the funtion: unsigned F8(unsigned x) { x=(x*3+3)&0xFF; x=x^(11); return x; } Thank U guysLink Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- I just start a project that need use some kind of random number generator function --- Quote End --- Read this: http://www.ovro.caltech.edu/~dwh/correlator/pdf/lfsr_tutorial.pdf --- Quote Start --- but I failed to convert into a VHDL entity, could anyone give some suggestion how should do that? This is the funtion: unsigned F8(unsigned x) { x=(x*3+3)&0xFF; x=x^(11); return x; } Thank U guys --- Quote End --- That's not VHDL. Cheers, Dave

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