Electronics > FPGA

Elegant way to select output type from a register or wire ?

(1/1)

tchiwam:
Is there a way to switch the output type from a register or wire ?

In some cases I want LVCMOS33 output and in other cases it will be LVDS25
Would also be nice to set other goodies like termination etc...

The nicest way I have found so far is LVCMOS33 with out and !out



Someone:
Those are two entirely different things.


--- Quote from: tchiwam on March 25, 2023, 07:05:13 pm ---Is there a way to switch the output type from a register or wire ?
--- End quote ---
Systemverilog does that.


--- Quote from: tchiwam on March 25, 2023, 07:05:13 pm ---In some cases I want LVCMOS33 output and in other cases it will be LVDS25
Would also be nice to set other goodies like termination etc...
--- End quote ---
Tool/vendor specific, usually you need to use device primitives and or external constraints.

BrianHG:
Termination can be selected via soft control on most modern FPGAs.  Read up on your FPGA's advanced IO buffer primitive.  Note that this is advanced and you will need to use a different custom primitive for every FPGA vendor and every different FPGA series that vendor sells.

Voltage cannot be adjusted as it is a function of wiring the VCCIO pin for that IO bank.

Unless you are running at the high megabit/gigabit, using one IO voltage for both 3.3v/2.5v with a software adjustable termination sequence, you can achieve functionality as long as you don't exceed the input max voltage compared to VCCIO wiring and use a true differential input instead of a emulated differential input.  However, expect diminished peak performance with regard to bitrate, noise, and precision timing alignment.

Navigation

[0] Message Index

There was an error while thanking
Thanking...
Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod