hi friends please help me

Status
Not open for further replies.

dineshjon

New Member
hi friends. presently i am doing project using vhdl. here i got a problem.how can a integre no divides into 1's ex:3-111 i.e if the value is 3 i need to split into 3 1's.similarly next nos.here i am showing an example.


4,5,6(inputs)

outputs:1(first output)

second time
11
1

third time
111
11
1
fourth time
1111
111
11
fifth time
1111
1111
111
etc

can u please suggest me
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…