Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
There are seven d/f inputs from seven different module are received by one module..an array have some value is already present in the that module.
Now the first index value of array is assign to those module which has largest input value... and 2nd index value of array are assign to those...
following code not give desired ouput
the desired output is random number having length 510,
instead of given random number it will give following pattern
parameter length = 8 ;
parameter [1:length-4] initial_state = 4'b1101; //for lFSR
parameter [1:length-4] Tap_coefficient =...
get error on this statement if (max[M:0] > value) where M is input... i know we cannot declare a value in an array that can change at run time ....any alternative for this statement
i want to convert lfsr_output into in desired range and it does not take more than 2 cycle.. for 8 bit lfsr it max output is 255. now when user enter a value e.g 35 it convert 255 into 0-35 range in such a way that it randomness cannot distrube . suggest any method other than y=ax+b
[Moved]range of lfsr depend upon input value
hi
i have written the code of 8-bit lfsr in verilog. its work fine e.g it randomly generate value from 1-255
now i want to transform this code to general lfsr e.g if user put 35 it generate random value from 1-35. and so on
language is verilog
hardware is fpga
decimal value is integer value
the input is in decimal value ( for hardware i know its in binary format but for simulation its decimal value ) its does't matter
range depend on user but not exceed with maximum value e.g max value is 255 so user have...
hi all
i need a logic that give me value in which require decimal number represent
e.g 1: if input is 32 it give me value 5 as 32 represent in 5 bit
2 if input is 42 it give me value 5 as 42 represent in 5 bit
3 if input is 128 it give me a value 7 as 128 represent in 7 bit and...
i already see their data-sheet of xilinx vertex6 ml605...There are two FMC-HPC connector present in the board. the question is can this connector use as GPIO?
GPIO of FPGA Vertex -6 ML605
which port of FPGA vertex 6 ML605 use as a GPIO like in audino and ressbarry pi. There are FMC-HPC connector present in the board. can this connector use as GPIO?
for division we require floating point division. But as i mentioned this is not problem. can you give me some example which will fit in current criteria
Not fit in current criteria e.g e.g in 3 bit LFSR, min number is 5, now next time suppose lfsr generate 3, Now according to your logic min+(lfsr_output/max value) gives 5+6=11 which is not in range. also it require floating point division which is not supportive in some FPGA, but division is...
I am trying to generate a desired random number in range.
for random number we use LFSR alogorithm. Now I want...First time LFSR output become the min number . Now in next cycle the random number should greater than previous LFSR number and so on, but it also not exceed with max value. max...
Re: latches create in verilog code
i know that else statement is not necessary but it actually sure that not to create latches. because missing if else statement cause latches... i also initialize cts with zero but same warning show.
the complete code is
module...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.