Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...This site is a great forum to exchange knowledge..."

Geography

Where in the world do Tek-Tips members come from?

square root carry select adder input specification in verilog

Tambos (TechnicalUser)
12 Apr 09 1:19
I'm trying to implement a square root carry select adder (SQCSA) in Verilog. It's a chain of carry select adders (CSA's) with variable width blocks. The least significant block is a 2 bit CSA, the next 3 bit and so on. For example to build a 9-bit SQSCA, you would have three CSA's - 2,3 and 4 bits wide. The first one would compute bits a0,a1, the second a2,a3,a4 and the third a5,a6,a7,a8  
My problem is passing the input bits to the appropriate adder.  For a linear 2 bit CSA I did a generate statement with a for loop  passing the inputs like this a[2*i+1:2*i] on each increment of i. But because the blocks for the SQCSA all have different width I can't really do anything like that.

Any help would be greatly appreciated.
Thank you.      

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Back To Forum

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close