- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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,figure 9-14.
![](/skins/images/D2683F18326913BBA0436CB7114DD569/responsive_peak/images/icon_anonymous_message.png)
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page