Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Valued Contributor III
754 Views

[Global Reset for simulation in Altera device] Xilinx has "glbl.v"! Does Altera has??

Hi Hi, 

Xilinx has the "glbl.v" module connects the Global Set/Reset and Global Tristate signals to the design. The "glbl.v" module must be compiled and loaded along with the design In order to properly reset the design in a Verilog simulation. Toggling the global set/reset emulates the Power-On-Reset of the FPGA. If do not do this, the flip-flops and latches in your simulation enter an unknown state. 

 

 

Here is the info on "glbl.v" from xilinx website: 

https://www.xilinx.com/support/answers/1078.html 

 

Does the Altera device need this global reset for running the simulation???:confused::confused: 

How is the global reset net connected in Altera device? Is it all register or LUT in the device will connected to a global reset???:confused::confused:
Tags (2)
0 Kudos
2 Replies
Highlighted
Valued Contributor III
2 Views

Re: [Global Reset for simulation in Altera device] Xilinx has "glbl.v"! Does Altera has??

Anyone can help to answer???^^

0 Kudos
Highlighted
Valued Contributor III
2 Views

Re: [Global Reset for simulation in Altera device] Xilinx has "glbl.v"! Does Altera has??

You don't need any such module for Altera devices (or Xilinx for that matter). 

 

Providing you write you code correctly, Quartus will be able to identify any reset signals and deal with them accordingly. Correctly capturing your code should also mean that your simulation runs as expected without without any 'unknown states'. Make sure your reset code handles every relevant register. 

 

Cheers, 

Alex
0 Kudos