EmbDev.net

Forum: FPGA, VHDL & Verilog Programming OR and XNOR with 4 inputs using functions


von NMV (Guest)


Rate this post
useful
not useful
Im really stumped in this one, how does one program an OR gate using 
generic functions, safe to say I'm really new to the VHDL programming 
world.
Help would be very much appreciated!

:
von Duke Scarring (Guest)


Rate this post
useful
not useful
What generic functions are available to you?

Duke

von Lothar M. (lkmiller) (Moderator)


Rate this post
useful
not useful
NMV wrote:
> how does one program an OR gate using generic functions
This is the most generic way, almost 100% of the synthesizers understand 
it:
X <= A or B or C or D;

> Help would be very much appreciated!
Whats your actual problem?

: Edited by Moderator

Reply

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]
  • [vhdl]VHDL code[/vhdl]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]




Bild automatisch verkleinern, falls nötig