![]() |
|
|
|
#1 |
|
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 aarelovich |
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to execute an external software from VHDL? And how to interface VHDL with JAVA? | becool_nikks | Software | 0 | 03-06-2009 07:08 PM |
| Vending machine using VHDL | arie | General Help Related Topics | 0 | 03-05-2009 05:45 AM |
| Help on auto conversion from Matlab to vhdl on filter design | hardheart | Hardware | 0 | 12-07-2007 09:19 AM |
| ARRAY(n DOWNTO 0) OF STD_LOGIC_VECTOR(m DOWNTO 0) - VHDL | freitass | Hardware | 0 | 11-01-2007 03:44 PM |
| VHDL problem - Signal counter cannot be synthesized, bad synchronous description. | shipacpoloy | Software | 0 | 08-14-2007 07:26 AM |