Forum: FPGA, VHDL & Verilog Verilog Input Syntax

von Emre Ergecen (Guest)

Rate this post
0 useful
not useful
Hi everyone,

Is it possible to define such inputs and outputs?

module Minimize(reg_inp, reg_out);

  input [3:0] reg_inp[0:255];
  output [3:0] reg_out[0:255];

  reg [3:0] reg_inp[0:255];
  reg [3:0] reg_out[0:255];


von Lattice User (Guest)

Rate this post
0 useful
not useful
Verilog 2001: No
SystemVerilog: Yes (not sure about the syntax)


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
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.