# Forum: FPGA, VHDL & Verilog operation on waveform

Rate this post
 0 ▲ useful ▼ not useful
Hi all,

I would like to create a modele such as "black box". The modele inputs
will be 2 triangular signals (or 1 triangular plus 1 constant signal)
and 2 real waveforms outputs which are both triangular. The outputs
value for these signals are given by parameter such as offset and
amplitude.

I give you a sketch in attachment for better understanding.

The sing/diff input change the mode of negative input: if '1' the
negative signal is the same as positive but with semi period delay. If
'0' the input is the VREFP constant value.

In all case the outputs are both triangular but with an offset and
amplitude different than inputs. The new offset is Vcm and the new
amplitude is VREF.

The triangular signals inputs are created in a separate file so their
value are given when I instanciate components in generic map, so this is
why I'm lost to find a way to modify the signals generically.

If you give me hints to find a way to figure it out it will be great!
Thanks

• $formula (LaTeX syntax)$