Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
21615 Discussions

Manual fitting with chipplanner

agaripcan6223
Beginner
948 Views

Hi, I want to generate metastability-based true random numbers using a model where 256 R - S latches are connected in parallel, as in Figure 1. For this, I have to place the NAND gates that make up each R-S latch core in Figure 2 on a different LE on the FPGA (chipplanner). However, the modeled system is optimized by Quartus at the compilation stage and placed on LEs in a stochastic way. Although I tried hard, I could not get a result. I need your knowledge and experience to solve this problem, which is important to me. For this I need to make any adjustments in the Quartus environment or what method should I follow?

I would be very happy if you could help me.

Best regards.

figure1.bmp

Figure 1. Entropy model

 

 

figure2.bmp

Figure 2. SR latch

 

 

0 Kudos
2 Replies
IDeyn
New Contributor III
802 Views

Hi agaripcan6223 !

 

In order to create such a design you need to exploit hand placing the LUTs.

Have you tried using Assignments - Location -> LAB combinational cell?

Other issue is to create LUT mask to behave as NAND gate - you need to create hand placed LUTs and change their LUT mask using Resource property editor.

 

I also need to say that your design is highly unrecommended in FPGAs, here you create clock gating and combinational loops.

 

--

Best regards,

Ivan

0 Kudos
KhaiChein_Y_Intel
802 Views

Hi,

 

You can prevent optimization by setting the preserve synthesis attribute on the register. You may refer to the syntax below.

Verilog: https://www.intel.com/content/www/us/en/programmable/quartushelp/current/index.htm#hdl/vlog/vlog_file_dir_preserve.htm

VHDL: https://www.intel.com/content/www/us/en/programmable/quartushelp/current/index.htm#hdl/vhdl/vhdl_file_dir_preserve.htm

 

Thanks.

Best regards,

KhaiY

0 Kudos
Reply