Well, that and you can only share resources in a slice if they don't have conflicting control signals (reset, clock enable, that sort).
really i dont know how to create reset tree.can you explain a little bit.i know that clock trees are built in available in fpga.The other option is to create a reset tree, with locally generated resets in the lower level modules (has to be done in all modules if you want the reset across all modules to release in the same clock cycle), that are fed by a top level reset circuit
really i dont know how to create reset tree.can you explain a little bit.i know that clock trees are built in available in fpga.
process(Clock)
begin
if rising_edge(Clock) then
if (Reset = '1') then
Whole_Bunch_Of_Things_That_Need_To_Get_Reset <= ...
else
...
end if;
end process;
process(Clock)
begin
if rising_edge(Clock) then
Local_Reset <= Reset;
if ([COLOR="#FF0000"]Local_Reset[/COLOR] = '1') then
Whole_Bunch_Of_Things_That_Need_To_Get_Reset <= ...
else
...
end if;
end process;
Code Verilog - [expand] 1 2 3 4 5 6 7 8 9 10 11 12 13 (* IOB="FALSE", SHREG_EXTRACT="NO", DONT_TOUCH="TRUE", ASYNC_REG="TRUE" *) reg [RESET_CLOCKS-1:0] rstSyncReg; // synchronization pipeline registers // active high input reset always @ ( posedge CLK or posedge ARESET ) begin if ( ARESET ) begin rstSyncReg <= {RESET_CLOCKS{1'b0}}; end else if ( ENB ) begin rstSyncReg <= {rstSyncReg[RESET_CLOCKS-2:0], 1'b1}; end end assign SR = rstSyncReg[RESET_CLOCKS-1];
reset_generator +-> sync_reset1 +-> sync_reset_l1
| +-> sync_reset_l2
|
+-> sync_reset2 +-> sync_reset_l3
| +-> sync_reset_l4
| +-> sync_reset_l5
| +-> sync_reset_l6
|
+-> sync_reset3 +-> sync_reset_l7
...
+-> sync_resetN +-> sync_reset_l8
+-> sync_reset_l9
+-> sync_reset_l10
No, but I don't use asynchronous resets since all resets need to be synchronized anyway in order to meet timing requirements.Hello Kevin thanks for your reply does above technique applicable to asynchronous resets ? ( i dont think ) if not what is the way of 'reset tree' for asynchronous resets....
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?