Community
cancel
Showing results for 
Search instead for 
Did you mean: 
SKhan10
Novice
1,105 Views

FPGA Reset

Hallo

For our project, we are using a combination Simulink HDL coder and Quartas to generate vhdl files and program the FPGA. We create our design in Simulink and using the Simulink HDL coder we generate the VHDL files. Then we use this vhdl files to create a project in Quartus and then download it in the FPGA.

We are using an Asynchronous reset. But from Quartus we get the following message

 

Rule R102: External reset signals should be synchronized using two cascaded registers

 

I have looked through the forum and understood that we need to create 2 D-flip flops to solve this problem. But Simulink HDL coder does not allow to use a D flip flop on the design. Any idea how this problem can be solved?

 

 

0 Kudos
2 Replies
Tricky
New Contributor II
98 Views

D Flip flops are just Z-1 transforms in simulink.

But you might be better treating the simulink design as a block you instatiate manually in some hand coded VHDL to handle all the IO.

GuaBin_N_Intel
Employee
98 Views

After converting into VHDL file, you can simply add sync register chain as following ​https://www.intel.co.jp/content/dam/www/programmable/us/en/pdfs/literature/quartus2/qts_qii51006.pdf... 9-14.

Reply