Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > General Computer Discussion > Hardware > I need help with a vhdl description

Reply
Thread Tools

I need help with a vhdl description

 
 
aarelovich aarelovich is offline
Junior Member
Join Date: Oct 2006
Posts: 1
 
      10-11-2006
I need to specify a synchronous reset in a counter. for that I have the two following descriptions:

ASYCHRONOUS RESET
ARCHITECTURE a OF prescaler IS
SIGNAL counter: UNSIGNED(22 downto 0);
BEGIN
Conteo:
PROCESS (Clk, Reset)
BEGIN
IF Reset = '0' THEN
counter <= "00000000000000000000000";
ELSIF (Clk'Event and Clk='1') THEN
counter <= counter + "00000000000000000000001";
END IF;
END PROCESS conteo;


SYCHRONOUS RESET
ARCHITECTURE a OF prescaler IS
SIGNAL counter: UNSIGNED(22 downto 0);
BEGIN
Conteo:
PROCESS (Clk, Reset)
BEGIN
IF (Clk'Event and Clk='1') THEN
IF Reset = '0' THEN
counter <= "00000000000000000000000";
ElSE
counter <= counter + "00000000000000000000001";
END IF;
END IF;
END PROCESS conteo;

However the sychrounous reset that I use occupies 10 Logic cells more than the other description according to rpt file.

Is there any other way to specify the sychronous reset tha makes for a smaller machine.?

Thanks
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
VHDL problem - Signal counter cannot be synthesized, bad synchronous description. shipacpoloy Software 0 08-14-2007 06:26 AM
VHDL-2002 vs VHDL-93 vs VHDL-87? afd VHDL 1 03-23-2007 09:33 AM
VHDL description of an array structure panthera VHDL 1 11-11-2006 02:57 PM
VHDL RTL description Zyd VHDL 1 04-14-2004 10:59 AM
XML for VHDL documention and structural description of Hardware SoC Amontec Team VHDL 0 07-11-2003 02:29 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57