Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Parameter with array

Status
Not open for further replies.

chw82

Newbie level 4
Newbie level 4
Joined
May 20, 2011
Messages
6
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Visit site
Activity points
1,316
Hi all,

i need some help on the command below.

parameter [7:0] screen [0:7] = {8'h01, 8'h01, 8'h02, 8'h03, 8'h04, 8'h05, 8'h06, 8'h05};

the following command always show the error
Error (10709): parameter with complex/aggregate value must have a type

please advise.
 

I think you need to write:

parameter bit [7:0] screen [0:7] = {8'h01, 8'h01, 8'h02, 8'h03, 8'h04, 8'h05, 8'h06, 8'h05};

It's a good idea to use an explicit type for any parameter declaration.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top