Continue to Site

Welcome to EDAboard.com

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.

Questions about a for loop in a sub-module of a SHA 256 processor

Status
Not open for further replies.

varunvats69

Junior Member level 1
Joined
Sep 5, 2008
Messages
15
Helped
3
Reputation
6
Reaction score
0
Trophy points
1,281
Activity points
1,408
Hey all,

I'm using a for loop in a sub-module of the SHA256 processor I'm designing. I haven't synthesized it yet but intend to do it very soon. Before going ahead I thought it worthwhile to get an idea of the hardware the synthesis tool will generate. I'm using Synopsys Design Compiler to synthesize my design.

My question: In the for loop in the file attached below, will DC generate 64 times the hardware required for a single for loop or will it loop through a single instance of the hardware 64 times, at every clock edge?

The structure I intend to generate is a shift register.

Note: I intend to change the statement:
reg [31:0]SHA256_const[63:0]; to wire [31:0]SHA256_const[63:0];
and the initial block to assign statements.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top