Forum Discussion
1 Reply
- Altera_Forum
Honored Contributor
For code only visible to synthesis, you can use
For code only visible to simulation, you can use-- ------------------------------------------------------------ -- Synthesis-only -- ------------------------------------------------------------ -- -- Note: Quartus does not allow comments inside the read -- comments as HDL block. -- -- synthesis read_comments_as_HDL on **** Synthesis VHDL in comments, but no VHDL comments **** -- synthesis read_comments_as_HDL off
Cheers, Dave-- ------------------------------------------------------------ -- Simulation-only -- ------------------------------------------------------------ -- -- altera translate_off *** Simulation only code *** -- altera translate_on