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.

NEED HELP To SIMULATE VERILOG CODE

Status
Not open for further replies.

RubyS

Newbie level 6
Joined
Sep 12, 2012
Messages
12
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Bangalore
Activity points
1,368
View attachment stimulus1.txtHi am very new to verilog..however i have to submit a code for my assignment and from net i got d code for reed solomon codec.I am using Xilinx 9.2i and MODELSIM SE 6.5 but i m getting Illegal redeclaration of 'inv_gf256' ,Illegal redeclaration of 'gf256mult' in this code..kindly help me asap.

- - - Updated - - -

this is the remaining code ,if i write all of them in d same project d errors r coming
 

Attachments

  • stimulus2.txt
    193.5 KB · Views: 73
  • RS_5_3_GF256_5.txt
    10.1 KB · Views: 75

You need to change the modules inv_gf256 and gf256mult to either tasks or functions. Modules are embedded entities in the design and cannot be 'called' in this way. I suspect that you need them to be functions.

View attachment 81041Hi am very new to verilog..however i have to submit a code for my assignment and from net i got d code for reed solomon codec.I am using Xilinx 9.2i and MODELSIM SE 6.5 but i m getting Illegal redeclaration of 'inv_gf256' ,Illegal redeclaration of 'gf256mult' in this code..kindly help me asap.

- - - Updated - - -

this is the remaining code ,if i write all of them in d same project d errors r coming
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top