Altera_Forum
Honored Contributor
9 years agoidentifier error 10734
module Peak_detector ( in ,
peak, count_time, counter, data); input [23:0] data; input [13:0] in; input [31:0] counter; output reg [25:0] peak; output reg [31:0] count_time; parameter reg [3:0] daten = data [3:0]; parameter reg [19:0] threshold = data [23:4]; ------------------------------------------------------------------------------------------ Hi all the above snip-bit of verilog code has been given me some issues over the last couple of days. when ever i compile the code i get the error: --------------------------------------- Error (10734): Verilog HDL error at Peak_detector.v(13): data is not a constant ------------------------------------- Do you know any where i can solve this issue? thank you