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.

Hdl coding from the synthesis point of view

Status
Not open for further replies.

rsjgs

Newbie level 5
Joined
Feb 14, 2006
Messages
9
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,351
synthesis help

can anyone give me an alternative for the use of loops? Also any guidance on hdl coding from the synthesis point of view?
 

synthesis help

maybe the reference of synthesising tooles will you
hint
for example Xilinx ISE's reference ,you can get it at the Help , or company's web..........
 

synthesis help

module (clk,count,datain,dataout);

input clk,datain;

reg [3:0] count,internal_reg;

always@(posedge clk)
count <= count + 1'b1;

always@(posedge clk)
if(count <= 4'b1111)
internal_reg[count] <= datain;

endmodule

this is one way of using the loops. I'm sure this is synthesizable.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top