- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have a few questions porting some Xilinx code over to Altera. I found the Altera for Xilinx users guide, but I still have some remaining questions.
Is there Altera attributes simliar to the following Xilinx code? attribute iob : string; attribute iob of d : label is "true"; --data regsiters d : for i in 0 to 35 generate reg : fdce port map ( q => lut_data_i(i), c => clk_dac, ce => '1', clr => reset, d => lut_data(i)); end generate; and.... attribute keep : string; attribute keep of lut_data : signal is "true"; Thanks!Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Open your VHDL file in Quartus, then go to Edit -> Insert Template -> VHDL -> Synthesis Attributes. You'll see one called useioff(or something like that).
- To be honest, I never see Altera users doing this. The OLD way Altera users did this was in the Assignment Editor. You would select the I/O port name in the To column, and then assign Fast Input Register, Fast Ouput Register and/or Fast OE Register. - The recommended method is to have timing constraints on your I/O. The fitter will automatically put registers into the I/O cell to meet timing requirements, but can do other stuff too, like pull it out of the register if that would help timing(or if it is necessary to balance paths to the fabric). Now, I understand some slow interfaces are annoying to enter timing constraints, and the general feeling is if an I/O register is used it will always meet timing. This isn't fullproof, but works most of the time, so it's really up to you.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page