I am using Max10 device and quartus 18.1, I cannot use the "romstyle" attribute. The compiler gives not error, but I cannot use ram instead of logic.
Please can you give me some examples?
You can get this example by right click the .vhd/.v files, insert template
Check on the attribute that you want. Let me know if this does not help.
For more complete information about compiler optimizations, see our Optimization Notice.