Forum: FPGA, VHDL & Verilog operation on waveform

Author: angelo (Guest)
Posted on:
Attached files:

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 

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! 


Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [vhdl]VHDL code[/vhdl]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]

Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.