# Search results

1. ### HOW TO DISPLAY 8'b VALUE INTO TWO 7-SEG DISPLAY

CAn u send me a little complete example code of the procedure.... then i may follow it and contruct what i want. Actually i dont have any concept of what u ppl are talking.... i know somple VHDL:cry:
2. ### HOW TO DISPLAY 8'b VALUE INTO TWO 7-SEG DISPLAY

I WANT TO SHOW THE INPUT(7 DOWNTO 0) TO 2-DIGITS OF 7-SEGMENT ON FPGA. LIKE 8b'11111111 means 100% 8b'00001111 means 50% 8b'00000000 means 00% now i want to display this 00,01,...10,11..... 50,...99 on two 7segments. one thing more how will i calculate 11111111 is 100% and so on...
3. ### DEBUG THIS CODE...IF POSSIBLE

means that: make every bit to zero, of counter_out1. its another form of counter_out1 => '00000000'; when u dont want to write this string of zero or u r not sure of typing exact number of zeros then the above qouted method is good to use. i hope i answered ur question appropriately...
4. ### HOW TO IMPLEMENET FOLLOWING EQ. IN VHDL

vhdl eq actually i have writen a counter to count number of pulses. now, i want to: 1. calculate the following: (no. of pulses counted ÷ total expected pulses) x 255 NOTE: its same like calculating percentage. 2. i have used 255 because it is represented in binary 11111111. 3. this...
5. ### HOW TO IMPLEMENET FOLLOWING EQ. IN VHDL

ano ang emotional quotient o eq-tagalog version (NO. of pulses / total pulses) * 255 then round off the result and convert it to binary. ANY IDEA OR SOLUTION????
6. ### DEBUG THIS CODE...IF POSSIBLE

FINALLY I FIGURED OUT THE PROBLEM AND SOLVED IT
7. ### DEBUG THIS CODE...IF POSSIBLE

i haven't written any test bench. i solve my problems with force command. anyhow, if there is any other solution to solve the matter [count number of pulses in 1sec], then do tell me. this code was only a try from me. may be i m thinking the problem in a wrong way. LOOKING forward for you...
8. ### DEBUG THIS CODE...IF POSSIBLE

thanx. i appreciate for ur concern. well the last few statements are to be edited. so i will definitely remove this. But my main concern was that: i want to count pulses received at feed_in in 1sec. i wrote this code but it is not working.Need some one to debug it.
9. ### DEBUG THIS CODE...IF POSSIBLE

#if debug kindly debug the following code if u can: its about a counter which counts feed_in pulses for 1sec. the clock used as a reference is 50MHz.
10. ### Circuit for IR sensor to read at <3cm distance (+10points

ir sensor circuits Thanx for the advice. actually dont know which is the exact folder for this topic. so the problem is: i want to implement a feed back system which will read rotation of the the DC motor. now i m going to use IR-sensor. i need to know that what shall i do to make my IR-sensor...
11. ### Circuit - IR sensor to read at <3cm distance (+10points)

circuit ir distance Thnx. I will definitely try this and inform u if it works. thnx again
12. ### Circuit - IR sensor to read at <3cm distance (+10points)

ir distance sensor circuit I want to make the IR receiver highly sensitive that i could detect the IR light across the DC motor DISC. it will have to generate a pulse when a cycle is completed. +10points will be awarded to a person who provide early exact solution. i need it to implement and...
13. ### Circuit for IR sensor to read at <3cm distance (+10points

ir sensor circuit I want to make the IR receiver highly sensitive that i could detect the IR light across the DC motor DISC.distance between Tx-Rx will be <3m it will have to generate a pulse when a cycle is completed. +10points will be awarded to a person who provide early exact solution. i...
14. ### implemenet IR sensor to read at <3cm distance (+10points)

I want to make the IR receiver highly sensitive that i could detect the IR light across the DC motor DISC. it will have to generate a pulse when a cycle is completed. +10points will be awarded to a person who provide early exact solution. i need it to implement and show on this Monday.
15. ### HOW TO READ NO. of PULSES USING FPGA

fpga reading ir HOW TO READ NO. of PULSES USING FPGA(SPARTAN-3). the IR will generate a pulse at every complete cycle of a DC motor(2400rpm). now i want to to count the number of cycles in 1 sec.
16. ### WRITE A COUNTER IN VHDL

18 bit counter vhdl CHECK THE FOLLOWING CALCULATIONS IS IT RIGHT: period = 1/frequency Period of board = 1/ 50MHz = 20nsec If period is of 1ms: No of cycles = 1sec / 20nsec = 50,000,000 cycles. My step delay equation will be: (16-bit input to PWM) (2^16)-1=65536 step delay = No of cycles/ 65536...
17. ### WRITE A VHDL CODE for the following (+20 point reward)

what folowing vhdl code represent CHECK THE FOLLOWING CALCULATIONS IS IT RIGHT: period = 1/frequency Period of board = 1/ 50MHz = 20nsec If period is of 1ms: No of cycles = 1sec / 20nsec = 50,000,000 cycles. My step delay equation will be: (16-bit input to PWM) (2^16)-1=65536 step delay = No...
18. ### WRITE A VHDL CODE for the following (+20 point reward)

vhdl code for pulses at 50mhz *only exact solution will get the reward. URGENT SOLUTION NEEDED. Problem: i want to count number of pulses of a DC motor operated at +5v. the clock used in controller was 50MHz. The Design consist of PID (16-bit output,8-bit input and feedback) +PWM.the #of...
19. ### INTERGER TO BINARY SCALING(VHDL)

scaling in vhdl can u simplify what u want to say. actually i have counted the pulses now only wanted to scale the decimal values to 8-bit binary. i also tried to do using 8-bit flip flop counter (trigger on pulse) but can't count total pulses. So any simplified and understandable idea of...
20. ### INTERGER TO BINARY SCALING(VHDL)

binary scaling if the frequency is 50MHz. i get approx. 50,000,000 pulses in 1sec. when i will read it from the sensor then and count them. then how can i put this huge integer values on 8-bit binary scale. means: 50,000,000 => '11111111' 00000000 => '00000000' it works same as...